[Ilugc] Swap utilization

  • From: sattish@xxxxxxxxxx (Sattish Vaasudevan)
  • Date: Tue Mar 24 14:38:05 2009

Hello Siva,

During one of our load test we noticed nearly 40% of memory was utilized
by swap. But we couldn't confirm the process responsible for swap
utilization. As everybody aware that swap utilization will have an
adverse effect on the application performance. We experimented few tools
and 
1. Top command doesn't provide the utilization by process. 
2. To use pmap we need to provide the process id of each process.

I found a tool exmap which gives a clear picture of what happens during

load test means the swap utilization and the process and shared
libraries 
Responsible for that unfortunately we aren't able to build the tool for
Redhat. Exmap libraries are created mostly for debian and ubuntu
distros.

Exmap:
http://www.berthels.co.uk/exmap/faq.html

Source:
http://packages.debian.org/sid/exmap-modules-source

Thanks
Sattish.



-----Original Message-----
From: Sivakumar Gopalan 
Sent: Tuesday, March 24, 2009 2:21 PM
To: Sattish Vaasudevan
Subject: RE: [Ilugc] Swap utilization

Tell me what you need, I will see if I can write a tool for you. But
nothing committed ;)

Rgds,
Siva.

-----Original Message-----
From: ilugc-bounces@xxxxxxxxxxxxx [mailto:ilugc-bounces@xxxxxxxxxxxxx]
On
Behalf Of Bharathi Subramanian
Sent: Tuesday, March 24, 2009 1:59 PM
To: ILUG-C
Subject: Re: [Ilugc] Swap utilization

On Tue, 24 Mar 2009, Sattish Vaasudevan wrote:

Is their any way by which I can identify which process uses the swap
memory most compared to other process. It would be better if any
open source tool can let us know the process and associated
libraries uses most of the swap memory.

AFAIK, there is no single tool, which can tell the swap useage of a
process. Use ps, top, vmstat, lsof to find the result and look into
/proc/PID/ files also.

Bye :)
--
Bharathi S

_______________________________________________
To unsubscribe, email ilugc-request@xxxxxxxxxxxxx with
"unsubscribe <password> <address>"
in the subject or body of the message.
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc

Other related posts: