Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 13 additions & 18 deletions docs/gemstones/htop.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ PID USER PRI NI VIRT RES SHR S CPU% MEM% TIME+ Command(mer
| Blue | Percentage of CPU used by low-priority processes | low |
| Green | Percentage of process CPU owned by ordinary users | |
| Red | Percentage of CPU used by system processes | sys |
| Cyan | Percentage of CPU consumed by Steal time | vir |
| Cyan | Percentage of CPU consumed by Steal Time | vir |

* Tasks: 22, 46thr, 174 kthr 1 running. In my example, it means that my current machine has 22 tasks, which are divided into 46 threads, of which only 1 process is in a running state, "kthr" indicates how many kernel threads there are.
* Mem information. Similarly, use different colors to distinguish:
Expand All @@ -70,23 +70,18 @@ PID USER PRI NI VIRT RES SHR S CPU% MEM% TIME+ Command(mer

### Process information description

* **PID-Process ID number**

* USER-the owner of the process
* PRI-Display the process priority as seen by the Linux kernel
* NI-displays the process priority of reset by normal user or root super user
* VIRI-virtual memory being consumed by a process

* **RES-physical memory being consumed by a process**

* SHR-shared memory being consumed by a process
* S-The current state of the process, there is a special state to pay attention to! That is Z (zombie process). When there are a large number of zombie processes in the machine, it will affect the performance of the machine.

* **CPU%-Percentage of CPU consumed by each process**

* MEM%-Percentage of memory consumed by each process
* TIME+-shows the running time since the process was started
* Command-the command corresponding to the process
* **PID - Process ID number**
* USER - The owner of the process
* PRI - Display the process priority as seen by the Linux kernel
* NI - Displays the process priority of reset by normal user or root super user
* VIRT - Virtual memory being consumed by a process
* **RES - Physical memory being consumed by a process**
* SHR - Shared memory being consumed by a process
* S - The current state of the process, there is a special state to pay attention to! That is Z (zombie process). When there are a large number of zombie processes in the machine, it will affect the performance of the machine.
* **CPU% - Percentage of CPU consumed by each process**
* MEM% - Percentage of memory consumed by each process
* TIME+ - Shows the running time since the process was started
* Command - The command corresponding to the process

### Shortcut key description
In the interactive interface, press the <kbd>F1</kbd> button to see the corresponding shortcut key description.
Expand Down