Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ibm aix swapping

Status
Not open for further replies.

jarvimar

MIS
Oct 18, 2001
1
FI
The system is swapping (vmstat) but
how to determine which particular process is swapping
in AIX?
 
It could be anything jarvimar, literally, and I'm not sure the answer would be useful to you.

Before I go on about paging though - which field in vmstat is telling you that paging is happening? There are two fields that relate to paging; pi and po. Pages In and Pages Out.

Non-zero pi values are quite normal. Values appear in this field whenever something, anything at, is read from disk.

The one to look at is po.

When a page of memory has been inactive for a while it's marked as "ok to page out" by an OS process. If the system subsequently runs short of RAM then that page, the one that has not been used for a while, gets paged out.

So it's actually the quiet processes that get paged out - and then paged in again when they unexpectedly wake up and try to do something.

I think your question should be - "What is using enough memory to cause the system to start paging?"

On AIX we have the monitor utility that looks like the familiar top command - but is more flexible.

Using monitor you will be able to see what the busy processes are and how much memory (the RSS field, Resident Set Size) each process is using. These will be the processes that are causing the system to run short of memory.

Sorry this is a bit long, I hope that it is useful to you.

Regards,
Mike
michael.j.lacey@ntlworld.com
Email welcome if you're in a hurry or something -- but post in tek-tips as well please, and I will post my reply here as well.
 
You must to set a trace hook to see paging, swapping, and trashing, and related processes.
I hope it works...
Unix was made by and for smart people.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top