Linux效能監控:vmstat
r: The number of processes waiting for run time.
等待執行的程序數
b: The number of processes in uninterruptible sleep.
處在非中斷睡眠狀態的程序數
swpd: the amount of virtual memory used.
已使用的虛擬記憶體大小
free: the amount of idle memory.
空閒的實體記憶體的大小
buff: the amount of memory used as buffers.
用來做buffer(快取,主要用於塊裝置快取)的記憶體數,單位:KB
cache: the amount of memory used as cache.
用來做cache(快取,主要用於快取檔案)的記憶體,單位:KB
si: Amount of memory swapped in from disk (/s).
從磁碟交換到記憶體的交換頁數量,單位:KB/秒。
so: Amount of memory swapped to disk (/s).
從記憶體交換到磁碟的交換頁數量,單位:KB/秒
bi: Blocks received from a block device (blocks/s).
每秒從塊裝置接收到的塊數,單位:塊/秒 也就是讀塊裝置。
bo: Blocks sent to a block device (blocks/s).
每秒傳送到塊裝置的塊數,單位:塊/秒 也就是寫塊裝置。
in: The number of interrupts per second, including the clock.
每秒的中斷數,包括時鐘中斷
cs: The number of context switches per second.
每秒上下文切換次數
us: Time spent running non-kernel code. (user time, including nice time)
使用者程序執行時間百分比(user time)
sy: Time spent running kernel code. (system time)
核心系統程序執行時間百分比(system time)
id: Time spent idle.
空閒時間百分比
wa: Time spent waiting for IO
IO等待時間百分比