 |
|
Oracle Tips by Burleson |
Displaying Virtual Memory
Statistics
In its default mode the vmstat command displays information
about processes, memory, paging, block IO, and different
levels of CPU activity. As with iostat, the first detail lines
produced report averages since the last reboot. Subsequent
detail lines report information using the interval specified on
the command line. The process and memory portion of the
detail lines are instantaneous statistics in either case.
As with the other commands in this series, the vmstat command
is driven by delay and count options that determine the time
interval between report lines and the totals number of intervals
to be reported.
$ vmstat 3 5
procs -----memory--- ---swap-- ---io-- --system--
--cpu--
r b swpd free buff cache si so bi bo in cs us sy id wa
0 0 0 63492 94856 24996 0 0 8 3 484 29 1 0 99 0
0 0 0 63492 94856 24996 0 0 0 0 1005 25 1 0 99 0
0 0 0 63492 94860 24996 0 0 0 13 1005 24 1 0 99 0
0 0 0 63492 94860 24996 0 0 0 0 1002 21 0 0 99 0
0 0 0 63492 94864 24996 0 0 0 4 1003 22 1 0 99 0
The above book excerpt is from:
Easy Linux
Commands
Working Examples of Linux Command Syntax
ISBN:
0-9759135-0-6
Terry Clark
http://www.rampant-books.com/book_2005_1_linux_commands.htm |