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 swapping statistics fields are described in the following table. For a description of the other fields, see Table 24–1.
Table 24–2 Output From the vmstat -S Command
Field Name |
Description |
---|---|
si |
Average number of LWPs that are swapped in per second |
so |
Number of whole processes that are swapped out |
The vmstat command truncates the output of both fields. Use the sar command to display a more accurate accounting of swap statistics.