查看指定进程占用资源情况

top -p `pgrep mysql |xargs perl -e "print join ',',@ARGV"`

你可能感兴趣的:(查看指定进程占用资源情况)