系统相关
首页 > 系统相关> > vmstat 监视内存使用情况

vmstat 监视内存使用情况

作者:互联网

vmstat是Virtual Meomory Statistics(虚拟内存统计)的缩写,可实时动态监视操作系统的虚拟内存、进程、CPU活动

vmstat的语法

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(内存):

Swap:

IO:(现在的Linux版本块的大小为1024bytes)

system:

CPU(以百分比表示)


标签:vmstat,内存,IO,监视,进程,每秒,虚拟内存
来源: https://blog.51cto.com/15057823/2632327