Vmstat Viewing system bottlenecks
Vmstat 1 1 seconds display 1 times, always show
Vmstat 1 5 1 seconds Display 5 times, then exit
Vmstat 1 seconds Display 1 times, then exit
Detailed parameters:
Procs process related View CPU bottleneck
R 1 seconds, there are several processes in run, using CPU
How many tasks are blocked by IO within 1 seconds of B
Memory-related
SWPD how much k of data is exchanged to virtual memory. Some software relies on virtual memory, not enough memory.
Free remaining physical memory
Buff remaining buff
Cache remaining Cache
Swap virtual memory related to see if memory has bottlenecks
Si writes memory per second
So read out memory every second
IO to see if the disk has a bottleneck
Bi Write disk per second
Bo reads disk per second
System kernel-related
Number of interrupts per second
CS per second Context switch
Cup CPU related
US user process, consuming cpu%
SY kernel process, occupy cpu%
ID Idle cpu%
WA waits to occupy cup%
The ST was stolen
1.2-vmstat detailed