Options & Arguments
top -hv|-bcEHiOSs1 -d secs -n max -u|U user -p pid -o fld -w [cols]
top - 22:00:33 up 13:09, 2 users, load average: 0.08, 0.02, 0.01Tasks: 9 total, 1 running, 8 sleeping, 0 stopped, 0 zombie%Cpu(s): 0.0 us, 0.0 sy, 0.0 ni,100.0 id, 0.0 wa, 0.0 hi, 0.0 si, 0.0 stMiB Mem : 6293.7 total, 6081.6 free, 72.8 used, 139.3 buff/cacheMiB Swap: 2048.0 total, 2048.0 free, 0.0 used. 6028.5 avail MemPID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND1 root 20 0 920 604 516 S 0.0 0.0 0:00.02 init9 root 20 0 920 108 20 S 0.0 0.0 0:03.34 init61 ronnie 20 0 7992 4436 3088 S 0.0 0.1 4:58.73 tmux: server63 ronnie 20 0 10156 5244 3480 S 0.0 0.1 0:00.66 bash4988 root 20 0 920 108 20 S 0.0 0.0 0:00.00 init4989 root 20 0 920 108 20 S 0.0 0.0 0:00.00 init4990 ronnie 20 0 10168 5176 3388 S 0.0 0.1 0:00.14 bash5005 ronnie 20 0 7144 3648 3288 S 0.0 0.1 0:00.12 tmux: client5153 ronnie 20 0 10884 3856 3328 R 0.0 0.1 0:00.01 top
Summary Fields
| Row | Field | Meaning |
|---|---|---|
| 1 | top | This is the name of the program. |
| 22:00:33 | This is the current time of day. | |
| up 13:09 | This is called uptime. It is the amount of time since the machine was last booted. In this example, the system has been up for six and a half hours. | |
| 2 users | There are two users logged in. | |
| load average: | Load average refers to the number of processes that are waiting to run; that is, the number of processes that are in a runnable state and are sharing the CPU. Three values are shown, each for a different period of time. The first is the average for the last 60 seconds, the next the previous 5 minutes, and finally the previous 15 minutes. Values less than 1.0 indicate that the machine is not busy. | |
| 2 | Tasks: | This summarizes the number of processes and their various process states. |
| 3 | Cpu(s): | This row describes the character of the activities that the CPU is performing. |
| 0.7%us | 0.7 percent of the CPU is being used for user processes. This means processes outside the kernel. | |
| 1.0%sy | 1.0 percent of the CPU is being used for system (kernel) processes. |
