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