1834492 Members
3233 Online
110067 Solutions
New Discussion

VMSTAT o/p

 
Richard Dickinson_1
Occasional Contributor

VMSTAT o/p

Hi guys,
when I do vmstat -S I get two columns headed 'si' and 'so'. More box isn't paging but these figures are very high (50k). What do they mean (I've checked man but doesn't shed much light). Do I need to increase memory, even though my box isn't paging?

Many thanks in advance!
3 REPLIES 3
RAC_1
Honored Contributor

Re: VMSTAT o/p

vmstat -S display si and so. si is swap in pages. i.e no. of pages swapped into the memory. so is o. of pages swapped out to the memory. If so no. is very high, your systsem is swapping and subsequently will slow down more and more.

Also look at the output of swinfo -tam and if all swap space is used, you will experience that system is very slow. Also check with glance -m and look for memory available. If is very low, you are experiencing the memory bottlneck. You may need to put some more RAM on system.
There is no substitute to HARDWORK
Elena Leontieva
Esteemed Contributor

Re: VMSTAT o/p

You can also run sar -w 5 5
If you see the value for swpot/s (the number of processes swapped out per second) is greater than zero, - you've got the swapping activity.

Elena.
keith persons
Valued Contributor

Re: VMSTAT o/p

Richard,

Are you running vmstat with a count of at least 2? If not, what you're seeing is the cumulative total since the last reboot. Run it with a count of 2 and what you get on the second line is the number of swapins/swapouts in the last line was displayed.

you can run it only once with the -S option, but you'll need to first run vmstat -z to sero the counters.

Keith