Top Command Monitor Uptime Users Load Average Memory Swap CPU Task Usage

Linux Top command is used to display the CPU usage.
Top command it will list out what are the process are running which Process Task is take the more resource and more power.

While we run the Top command we get the following Output
top - 07:00:23 up 8 min, 2 users, load average: 0.69, 0.85, 0.55
Tasks: 123 total, 2 running, 119 sleeping, 2 stopped, 0 zombie
Cpu(s): 21.3%us, 17.3%sy, 0.0%ni, 59.7%id, 0.0%wa, 1.7%hi, 0.0%si, 0.0%st
Mem: 515524k total, 508264k used, 7260k free, 48584k buffers
Swap: 1052248k total, 0k used, 1052248k free, 276680k cached
Top Command First Four Lines

Line 1:top - 07:00:23 up 8 min, 2 users, load average: 0.69, 0.85, 0.55
7:00 System Up Time is Seven Minutes
2 Users Currently two are online
Load Average 0.69,0.85,0.55

Line 2: Tasks: 123 total, 2 running, 119 sleeping, 2 stopped, 0 zombie
Total No of Task is 123
2 Service are Running
119 service sleep mode
2 services are stop mode

Line 3:Cpu(s): 21.3%us, 17.3%sy, 0.0%ni, 59.7%id, 0.0%wa, 1.7%hi, 0.0%si, 0.0%st
21.3% is user process
17.3% is the System Process
59.7% is Percentage of available CPU
0 Is waiting for Input Resource

Line 4 :Mem: 515524k total, 508264k used, 7260k free, 48584k buffers
it will display about Memory size
Swap: 1052248k total, 0k used, 1052248k free, 276680k cached
Display about Swap Size
top - 07:00:23 up 8 min,  2 users,  load average: 0.69, 0.85, 0.55
Tasks: 123 total,   2 running, 119 sleeping,   2 stopped,   0 zombie
Cpu(s): 21.3%us, 17.3%sy,  0.0%ni, 59.7%id,  0.0%wa,  1.7%hi,  0.0%si,  0.0%st
Mem:    515524k total,   508264k used,     7260k free,    48584k buffers
Swap:  1052248k total,        0k used,  1052248k free,   276680k cached

Related post