Linux下查看占用CPU资源最多的几个进程

linux下获取占用CPU资源最多的10个进程:

ps aux|head -1;ps aux|grep -v PID|sort -rn -k +3|head

linux下获取占用内存资源最多的10个进程:

ps aux|head -1;ps aux|grep -v PID|sort -rn -k +4|head

猜你喜欢

转载自www.cnblogs.com/chuijingjing/p/11416271.html
今日推荐