System Administration Guide

How to Display Swapping Statistics

Run vmstat -S to show swapping statistics.


$ vmstat -S
 procs   memory       page              disk       faults        cpu
 r b w swap free si so pi po fr de sr f0 s1 s3 -- in sy cs     us sy id
 0 0 0 6224  5536 0  0  0 0  0  0  0  0  0  0  0  2  9  12     0  1  99

The additional fields are described in Table 64-2.

Table 64-2 Output From the vmstat -S Command

Field Name 

Description 

si

Average number of LWPs swapped in per second 

so

Number of whole processes swapped out 


Note -

The vmstat command truncates the output of both of these fields. Use the sar command to display a more accurate accounting of swap statistics.