ps aux --sort -%cpu | head -6 | grep -v USER
ps aux --sort -%cpu??給cpu使用率進行排序
ps aux --sort?%mem 對內(nèi)存使用率進行排序。從小到大
kill -9 pid