TOP will display a full screen of information about the processes running on the system, as well as some overall information about the system.This includes load average, number of processes, the CPU status, freememory information, and details about processes including PID, user, priority, CPU and memory usage information, running time, and program name.
$>top -it will display the complete active process, cpu and memory information.
SHIFT+M -Memory使用率由高到低排序
SHIFT+P -CPU使用率由高到低排序
SHIFT+W -For saving the top outputin a file(/root/. toprc.)
SHIFT+F -设置显示列,以及默认按哪个排序
s:更改top刷新时间,默认3s
i:隐藏idle状态的进程,只显示当前活跃的进程
k:杀进程,后面跟进程ID
原文:https://www.cnblogs.com/kelamoyujuzhen/p/10125512.html