vmstat是Virtual Meomory Statistics(虛擬內(nèi)存統(tǒng)計)的縮寫,可實時動態(tài)監(jiān)視操作系統(tǒng)的虛擬內(nèi)存、進程、CPU活動。
vmstat [-V] [-n] [delay [count]]
/root$vmstat 5 5
procs -----------memory---------- ---swap-- -----io---- --system-- -----cpu-----
r b swpd free buff cache si so bi bo in cs us sy id wa st
6 0 0 27900472 204216 28188356 0 0 0 9 1 2 11 14 75 0 0
9 0 0 27900380 204228 28188360 0 0 0 13 33312 126221 22 20 58 0 0
2 0 0 27900340 204240 28188364 0 0 0 10 32755 125566 22 20 58 0 0
Procs(進程):
Memory(內(nèi)存):
Swap:
IO:(現(xiàn)在的Linux版本塊的大小為1024bytes)
system:
CPU(以百分比表示)