Tuesday, June 05, 2007

Display Virtual Memory Statistics with vmstat

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

1 comment:

Anonymous said...

If you need to build charts
from vmstat log file, you should
try this :
http://www.michenux.net/

;)