kkreft
7/14/2015 - 3:46 PM

source: http://stackoverflow.com/questions/3727793/limit-the-output-of-the-top-command-to-a-specific-process-name

top -p `pgrep process-name | tr "\\n" "," | sed 's/,$//'`