Centos 快速查看占用资源最多的进程

1、查看占用内存最多的十个进程
ps aux|head -1;ps aux|grep -v PID|sort -rn -k +4|head
2、查看占用 cpu 最多的十个进程
ps aux|head -1;ps aux|grep -v PID|sort -rn -k +3|head

猜你喜欢

转载自blog.csdn.net/ichen820/article/details/132325328