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:
top accecpts a comma separated list of PIDs.
There are 4 alternatives - vote for the best!
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
Like command 10870, but no need for sed
If you can do better, submit your command here.
You must be signed in to comment.