ps auxw|head -1;ps auxw|sort -rn -k3|head -10
ps auxw|head -1;ps auxw|sort -rn -k4|head -10
ps auxw|head -1;ps auxw|sort -rn -k5|head -10
ps auxw --sort=rss
ps auxw --sort=%cpu
%MEM 进程的内存占用率
MAJFL is the major page fault count,
VSZ 进程所使用的虚存的大小
RSS 进程使用的驻留集大小或者是实际内存的大小(RSS is the "resident 5. set size" meaning physical memory used)
TTY 与进程关联的终端(tty)
原文:https://www.cnblogs.com/biglu/p/10808646.html