1837724 Members
3208 Online
110118 Solutions
New Discussion

Re: Swap info

 
Krishnan Viswanathan
Frequent Advisor

Swap info

How do I find out which specific process (PID) is being paged out ?

I find that there is some paging ativity going on(only one process is being paged out)
Thanks
3 REPLIES 3
T. M. Louah
Esteemed Contributor

Re: Swap info

Check the followin thread about Pagin & swaping:

http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x771ccb60e503d6118ff40090279cd0f9,00.html

.. vmstat -s & sar commands can help you
.. best meetering tool for paging Glance+

G'd luck
T++

Little learning is dangerous!
Bill Hassell
Honored Contributor

Re: Swap info

Just use vmstat to see if there is any page out (ignore page in) activity. Single digits are of no interest but triple digits indicates a major lack or RAM. A single process will not be targeted to be paged unless it is idle (ie, waiting on input), and even then, only a few pages will be rolled out.

Now there will be page out activity if you have memory mapped files (an artifact of the virtual memory system) even when there is plenty of RAM.


Bill Hassell, sysadmin
Roger Baptiste
Honored Contributor

Re: Swap info

hi,

po entry in the vmstat output would give info on the pageout info. But, it will not list the process being paged out, since the memory management is a dynamic process.

You can run glance/gpm and look at the top most processes to figure out the one which is consuming memory and causing pageouts.

HTH
raj
Take it easy.