linux查看占用内存最多的程序

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

发布了14 篇原创文章 · 获赞 216 · 访问量 1万+

猜你喜欢

转载自blog.csdn.net/m0_37859502/article/details/105356864