vmstat
-
This command reports information about virtual
memory statistic processes, memory, paging, block IO, traps, and cpu
activity.
Synopsis
vmstat [options]
|
options |
description |
| -a |
switch displays active/inactive
memory |
| -s |
switch displays a table of various
event counters and memory statistics. |
Note
uptime -V is used to displayed version of
uptime
Example
# vmstat -s
514440 total memory
496060 used memory
122196 active memory
327316 inactive memory
18380 free memory
49076 buffer memory
376024 swap cache
1048568 total swap
0 used swap
1048568 free swap
2875 non-nice user cpu ticks
5917 nice user cpu ticks
23040 system cpu ticks
734496 idle cpu ticks
24432 IO-wait cpu ticks
156 IRQ cpu ticks
0 softirq cpu ticks
532473 pages paged in
90185 pages paged out
0 pages swapped in
0 pages swapped out
9245224 interrupts
475206 CPU context switches
1272459591 boot time
39538 forks
#vmstat
-a
procs -----------memory----------
---swap-- -----io---- --system-- ----cpu----
r b swpd free inact active
si so
bi bo in
cs us sy id wa
1 0 0 18316 327364 122204
0 0
65 11 1168 59
1 3 93 3
|
|