linux查看佔用cpu最高的進程

ps aux|head -1;ps aux|grep -v PID|sort -rn -k +3|head
經過top -Hp PID查找佔用CPU最高的線程TID;
相關文章
相關標籤/搜索