Operating System - HP-UX
1826384 Members
4389 Online
109692 Solutions
New Discussion

How to verify server swap activity

 
SOLVED
Go to solution
Mauro Gatti
Valued Contributor

How to verify server swap activity

Hi all, I'd like to know swap activity of my server when some programs run. Is there any way to check this information?

Thank You
Ubi maior, minor cessat!
2 REPLIES 2
Stefan Farrelly
Honored Contributor
Solution

Re: How to verify server swap activity

2 ways;

1. vmstat 1 10

and look for pi/po (page-ins per second, page-outs per second). If you server is not paging it should only show 0 or 1.

2. swapinfo -mt

and look at the device usage column. If your server is out of memory and paging then the %USED under deivce will be >0.
Im from Palmerston North, New Zealand, but somehow ended up in London...
T G Manikandan
Honored Contributor

Re: How to verify server swap activity

Also in addition to Stefan

#sar -w 5 5

-w option of sar can measure the swap activity.


Thanks