1st Row – top
top - 11:37:19 up 30 min, 3 users, load average: 0.02, 0.01, 0.06
- current time (11:37:19)
- uptime of the machine (up 30 min)
- users sessions logged in (3 users)
- average load on the system (load average: 0.02, 0.01, 0.06) the 3 values refer to the last minute, five minutes and 15 minutes.
2nd Row – task
Tasks: 131 total, 1 running, 129 sleeping, 0 stopped, 1 zombie
- Processes running in totals (131 total)
- Processes running (1 running)
- Processes sleeping (129 sleeping)
- Processes stopped (0 stopped)
- Processes waiting to be stopped from the parent process (1 zombie)
3rd Row – cpu
Cpu(s): 0.2%us, 0.3%sy, 0.0%ni, 99.5%id, 0.0%wa, 0.0%si, 0.0%st
The sum of all the percentages will equal 100% of the cpu.
- Percentage of the CPU for user processes (0.2%us)
- Percentage of the CPU for system processes (0.3%sy)
- Percentage of the CPU processes with priority upgrade nice (0.0%ni)
- Percentage of the CPU not used (99.5%id)
- Percentage of the CPU processes waiting for I/O operations(0.0%wa)
- Percentage of the CPU serving hardware interrupts (0.0% hi — Hardware IRQ
- Percentage of the CPU serving software interrupts (0.0% si — Software Interrupts
- The amount of CPU ‘stolen’ from this virtual machine by the hypervisor for other tasks (such as running another virtual machine) this will be 0 on desktop and server without Virtual machine. (0.0%st — Steal Time)
4th and 5th Rows – memory
KiB Mem : 3920076 total, 564520 free, 1498724 used, 1855940 buffers KiB Swap: 4071932 total, 4071932 free, 0 used, 1893112 avail Mem
- Total available memory in KiB (3920076)
- Total free memory in KiB (564520)
- Used memory in KiB (1498724)
- Buffers (aka cached)
- Temporary memory that has been used, but is available if a system needs it.
- It is often used when a file has been accessed to prevent re-reading from that file from the disk.
- Any re-reads will come from this memory and will significantly improve system performance.
- To know how much actual ram is available, add the free and buffers values together.
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 2372 joe 20 0 390384 237936 91792 S 4.6 6.1 37:47.11 gnome-shell 13505 root 20 0 41908 3772 3132 R 1.6 0.1 0:50.88 top
- PID – Process ID of the process(2372)
- USER – The user that is the owner of the process ( joe)
- PR – priority of the process (20)
- NI – The “NICE” value of the process (0)
- VIRT – virtual memory used by the process (390384)
- RES – physical memory used from the process (237936)
- SHR – shared memory of the process (91792)
- S – indicates the status of the process: S=sleep R=running Z=zombie (S)
- %CPU – This is the percentage of CPU used by this process (4.6)
- %MEM – This is the percentage of RAM used by the process (6.1)
- TIME+ –This is the total time of activity of this process (37:47.11)
- COMMAND – And this is the name of the process (gnome-shell)