Top command
Function description
The top command provides real-time monitoring of the system's processor state, which shows the resource usage of each process in real time . Use the following:
Common parameters
Options |
Meaning |
A |
Displays the process for all users, including the full path of each program |
-X |
Show all system programs, including which one does not have a terminal program |
-U |
Show name and start time for use |
-F |
Detailed display of program execution path groups |
-C |
Show only the name of the process, not the full path of the process |
-E |
Writes information about all processes except the kernel process to standard output (equivalent to -a) |
Common combinations:
Ps-ef #显示所有进程信息, along with the command line ps aux #列出目前所有的正在内存当中的程序 ps axjf #以树形结构显示进程 |
/tbody>
Example
This article is from the "Zhao Dongwei blog" blog, make sure to keep this source http://zhaodongwei.blog.51cto.com/4233742/1875379
Linux command (+): Top command-CPU real-time monitoring