MYSYSAD.COM

Display Virtual Memory Statistics with vmstat

· System & processes

The virtual memory statistics (vmstat) command shows statistics regarding process, virtual memory, disk, trap, and CPU activity. Frankly speaking, I primarily use it for CPU stats. Here's an example of its use at 3 second intervals.

#vmstat 3