1827802 Members
2322 Online
109969 Solutions
New Discussion

VMSTAT

 
SOLVED
Go to solution
Vogra
Regular Advisor

VMSTAT

Hi All!

I'm beginer in learning about tunning...
what about the atached file?
The system was running 5 day since last vmstat -r. Is too bad...?

Thanx in advance,
We are spirits in the material world
1 REPLY 1
Stefan Farrelly
Honored Contributor
Solution

Re: VMSTAT

You have swaps in and swaps out from your vmstat output. This isnt good. It means you are under memory pressure at times and thus some processes get swapped out, then swapped back in later.

You should monitor memory usage carefull to see if and when it runs out and who is using all your memory.

vmstat 1 1
shows a 'free' column - this is amount of free memory (*4096 as its in pages). If it gets below say 20Mb then you are out.

You can use this command to see which processes are then using most of your memory;

UNIX95= ps -e -o vsz=Kbytes -o ruser -o pid,args=Command-Line | sort -rnk1 | more
Im from Palmerston North, New Zealand, but somehow ended up in London...