ps aux --sort -%cpu | head -6 | grep -v USER
ps aux --sort -%cpu 给cpu使用率进行排序
ps aux --sort %mem 对内存使用率进行排序。从小到大
kill -9 pid