0.码仙励志 志之所向,金石为开,谁能御之? 1.linux查看占用内存最多的程序 ps aux|head -1;ps aux|grep -v PID|sort -rn -k +4|head 2.查看占用cpu最多的程序 ps aux|head -1;ps aux|grep -v PID|sort -rn -k +3|head