vmstat reports  information about processes, memory, paging, block IO, traps, and cpu activity. The first report produced gives averages since the last reboot.   Additional  reports  give information on a sampling period of length delay. The process and memory reports are instantaneous in either case.
[root@linuxArticles.org ~]# vmstat -s
4087800  total memory
1643176  used memory
701328  active memory
805772  inactive memory
805772  inactive memory
2444624  free memory
160188  buffer memory
825932  swap cache
1048564  total swap
0  used swap
1048564  free swap
183146  non-nice user cpu ticks
1  nice user cpu ticks
52247  system cpu ticks
1040923  idle cpu ticks
26813  IO-wait cpu ticks
465  IRQ cpu ticks
1190  softirq cpu ticks
0  stolen cpu ticks
760191  pages paged in
433884  pages paged out
0  pages swapped in
0  pages swapped out
9274771  interrupts
17030837  CPU context switches
1286822330  boot time
4437  forks
[root@linuxArticles.org ~]#

Related Articles: