博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

vmstat详解

Posted on 2012-07-24 17:57  紫冰龙  阅读(123)  评论(0编辑  收藏  举报

Procs
       r: The number of processes waiting for run time.
等待CPU的进程数
       b: The number of processes in uninterruptible sleep.
不可中断睡眠的进程数

   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).     
换进
       so: Amount of memory swapped to disk (/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.
       wa: Time spent waiting for IO. Prior to Linux 2.5.41, shown as zero.      CPU
等待IO所占百分比
       st: Time spent in involuntary wait. Prior to Linux 2.6.11, shown as zero.