Linux查看占用内存前10的命令

Linux查看占用内存前10的命令

获取占用CPU资源最多的十个进程

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

获取占用内存资源最多的十个进程

ps aux|head -1;ps aux|grep -v PID|sort -rn -k +4|head
posted @ 2022-01-13 13:51  张瑞丰  阅读(2193)  评论(0编辑  收藏  举报