[Oracle@linuxidc properties]$ vmstat 2 3
procs -----------memory---------- ---swap-- -----io---- --system-- -----cpu------
r b swpd free buff cache si so bi bo in cs us sy id wa st
0 0 96 655968 278912 2117884 0 0 0 10 1 1 18 2 80 0 0
1 0 96 655968 278912 2117884 0 0 0 0 1011 694 0 0 100 0 0
0 0 96 655968 278912 2117884 0 0 0 34 1013 338 0 0 100 0 0
FIELD DESCRIPTION FOR VM MODE
Procs
r: The number of processes waiting for run time. 处于运行队列中的内核线程数目(进程数)。
b: The number of processes in uninterruptible sleep. 置于等待队列(等待资源、等待输入/输出)的内核线程数目。 处于block队列中不可中断的进程数
Memory
swpd: the amount of virtual memory used. 可用的虚拟交换内存
free: the amount of idle memory. 空闲内存
buff: the amount of memory used as buffers. 已用缓冲数目
cache: the amount of memory used as cache. 已用缓存数目
inact: the amount of inactive memory. (-a option) 不活动的内存数
active: the amount of active memory. (-a option) 活动内存数
Swap
si: Amount of memory swapped in from disk (/s). 从磁盘到内存的交换页数目 (单位/S)
so: Amount of memory swapped to disk (/s). 从交换内存到磁盘的交换页数目(单位/S)
IO
bi: Blocks received from a block device (blocks/s). 接收到块设备的块数(块/秒)
bo: Blocks sent to a block device (blocks/s). 发送到块设备的块数(块/秒)
System
in: The number of interrupts per second, including the clock. 每秒中断数,包括时钟中断
cs: The number of context switches per second. 每秒上下文切换数
CPU
These are percentages of total CPU time.
us: Time spent running non-kernel code. (user time, including nice time) 用户时间 处于用户模式的时间百分比
sy: Time spent running kernel code. (system time) 系统时间 处于内核模式的时间百分比
id: Time spent idle. Prior to Linux 2.5.41, this includes IO-wait time. CPU空闲时间 空闲时间百分比
wa: Time spent waiting for IO. Prior to Linux 2.5.41, included in idle. CPU 空闲时间,在此期间系统有未完成的磁盘/NFS I/O 请求
st: Time stolen from a virtual machine. Prior to Linux 2.6.11, unknown. 来自于虚拟机偷取的CPU所占的百分比 (这个不会翻译...)