yum -y install epel-release.noarch
yum -y install htop
htop
Upper left corner of the display usage of CPU, memory, swap area on the right shows the task load, boot time, the following is the process in real-time conditions.
PID: identification number of
USER: User to run this process
Priority of the process: PRI
NI: process priority value, the default is 0, can be adjusted
VIRT: virtual memory occupied by the process value
RES: the value of physical memory occupied by the process
SHR: process uses shared memory value
S: the health of the process, R means running, S for sleep, wake-up wait, Z represents a dead state
% CPU: the process consumes CPU usage
% MEM: The percentage occupied by the process of physical memory and total memory
TIME +: Total CPU time the process started after the occupation of
COMMAND: command name starts the process was started
The following is a function F1 ~ F10 and a corresponding letter shortcuts.
Shortcut Key | Function Key | Description | Chinese Description |
---|---|---|---|
h, ? | F1 | Invoke htop Help | View htop instructions |
S | F2 | Htop Setup Menu | htop set |
/ | F3 | Search for a Process | Search process |
\ | F4 | Incremental process filtering | Incremental process filter |
t | F5 | Tree View | Display tree |
<, > | F6 | Sort by a column | Select Sort |
[ | F7 | Nice - (change priority) | You can reduce the nice value, so that you can increase the priority of the corresponding process |
] | F8 | Nice + (change priority) | Increase the nice value, which can reduce the corresponding priority of a process |
k | F9 | Kill a Process | It can transmit a signal to the process |
q | F10 | Quit htop | End htop |