linux 常用命令

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

posted @ 2024-05-17 09:16  长鼻子匹诺曹  阅读(1)  评论(0编辑  收藏  举报