【转】Linux 下取进程占用 cpu/内存 最高的前10个进程

Linux 下 取进程占用 cpu 最高的前10个进程
ps aux|head -1;ps aux|grep -v PID|sort -rn -k +3|head


linux 下 取进程占用内存(MEM)最高的前10个进程
ps aux|head -1;ps aux|grep -v PID|sort -rn -k +4|head

 

转自:http://blog.csdn.net/namesliu/article/details/6037972

posted @ 2017-07-24 13:13  Mister_W  阅读(406)  评论(0编辑  收藏  举报