Vmstat
* running cpu, block cpu
* r: The number of processes waiting for run time.
* b: The number of processes in uninterruptible sleep.
* memory usage
* swap
* io - input/ouput
* 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 -
* wa: Time spent waiting for IO
* sy: Time spent running kernel code. (system time)
* us: Time spent running non-kernel code. (user time, including nice time)
* -d show disk reads/wirtes/IO
vmstat 2 10 - To execute every 2 seconds for 10 times
vmstat -d Use option -d to display the disk statistics as shown below. This displays the reads, writes, and I/O statistics of the disk.
vmstat -w 1 3 Use option -w to increase the width of the output columns as shown below. This give better readability.
vmstat -s
Last updated
Was this helpful?