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:
may return several pids for process foobar footy01 etc. like this:
sed puts "-p " in front and we pass a list to top:
top -p 11427 -p 12576 -p 12577
There is 1 alternative - vote for the best!
top accecpts a comma separated list of PIDs.
Like command 10870, but no need for sed
If you can do better, submit your command here.
You must be signed in to comment.