commandlinefu.com is the place to record those command-line gems that you return to again and again.
You can sign-in using OpenID credentials, or register a traditional username and password.
Subscribe to the feed for:
You'll need to install proctools. MacPorts and Fink have this if you're running Mac OS X, check your Linux distribution's repositories if it isn't installed by default.
There is 1 alternative - vote for the best!
Pipes the header row of ps to STDERR, then greps for the command on the output of ps, removing the grep entry before that.
Grep for a named process.
If you can do better, submit your command here.
You must be signed in to comment.