System Administration Guide, Volume 2

How to Display Swapping Statistics (vmstat -S)

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 s0 s6 --   in   sy   cs us sy id
 0 0 0 200968 17936   0   0  0  0  0  0  0  0  0  0  0  109   43   24  0  0 100

The fields are described in the table below.

Table 36-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.