Monday, February 16, 2015

Arti Informasi dari Perintah Baris Top di Linux

Jika anda menjalankan perintah baris (CLI) top di linux, maka akan ditampilkan informasi sbb :

[root@webmail ~]# top
top - 14:10:49 up 5 days,  5:26,  2 users,  load average: 0.23, 0.75, 1.59
Tasks: 551 total,   1 running, 550 sleeping,   0 stopped,   0 zombie
Cpu(s):  0.8%us,  0.2%sy,  0.0%ni, 99.0%id,  0.0%wa,  0.0%hi,  0.0%si,  0.0%st
Mem:  16622144k total,  9794444k used,  6827700k free,   510748k buffers
Swap:  7274456k total,        0k used,  7274456k free,  6191976k cached


Khusus untuk :
Cpu(s):  0.8%us,  0.2%sy,  0.0%ni, 99.0%id,  0.0%wa,  0.0%hi,  0.0%si,  0.0%st

artinya adalah sbb :
us: user cpu time (or) % CPU time spent in user space
sy: system cpu time (or) % CPU time spent in kernel space
ni: user nice cpu time (or) % CPU time spent on low priority processes
id: idle cpu time (or) % CPU time spent idle
wa: io wait cpu time (or) % CPU time spent in wait (on disk)
hi: hardware irq (or) % CPU time spent servicing/handling hardware interrupts
si: software irq (or) % CPU time spent servicing/handling software interrupts
st: steal time - - % CPU time in involuntary wait by virtual cpu while hypervisor is servicing another processor (or) % CPU time stolen from a virtual machine