Run vmstat -S to show swapping statistics.
$ vmstat -S kthr memory page disk faults cpu r b w swap free si so pi po fr de sr dd f0 s1 -- in sy cs us sy id 0 0 0 862608 364792 0 0 1 0 0 0 0 0 0 0 0 406 394 213 1 0 99 |
The swapping statistics fields are described in the following list. For a description of the other fields, see Table 13–1.
Average number of LWPs that are swapped in per second
Number of whole processes that are swapped out
The vmstat command truncates the output of si and so fields. Use the sar command to display a more accurate accounting of swap statistics.