top -p $(ps --no-headers -o pid -C exim | head -20 | paste -s -d ,)
UPDATE 2008-08-10: Used explicit HTML entities to work around WordPress’s “improvements”. Added ” head -20″ to deal with top’s limit on the number of PIDs that it will track.
Roland Turner |
|
about | contact | |
top -p $(ps --no-headers -o pid -C exim | head -20 | paste -s -d ,)
UPDATE 2008-08-10: Used explicit HTML entities to work around WordPress’s “improvements”. Added ” head -20″ to deal with top’s limit on the number of PIDs that it will track.