(1)显示10个消耗cpu最多的进程 # ps aux |head -1 ;ps aux |sort -rn +2 |head -10 (2)显示10个消耗内存最多的进程 #ps vx |head -1 ;ps vx |grep -v PID |sort -rn +6 |head -10 (3)显示10个换页最多的进程 #ps vx |head -1 ;ps vx |grep -v PID |sort -rn +4 |head -10 (4)显示10个消耗存储空间最多的进程 #ps aux |head -1 ;ps aux |sort -rn +3 |head -10[@more@]
http://www.aixchina.net/?viewnews-17292.html
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/47869/viewspace-1043022/
,如需转载,请注明出处,否则将追究法律责任。