[HPADM] Mapping application to real memory usage
From: Bodnar, George (gbodnar_at_ppg.com)
To: firstname.lastname@example.org Date: Wed, 29 Oct 2003 08:40:45 -0500
I am trying to break down a server with a few different applications into actual (or very good approximation) of memory consumption for each. I can get information the following means - the applications use different accounts which makes this a little easier:
ps -o user,pid,vsz,args | grep USER ==> Accumulation of size is WAY too low - doesn't include mmap calls which is 90% of memory usage
Going into glance per process I can hit the M screen and see stack/data/etc which equal vsz. HOWEVER - there are a lot of mmap calls (both private and shared) that I need to correlate into a total call.
My question is:
How can I programmatically seperate the SHARED vs PRIVATE mmap calls per process (or at least by user) and is there a way to do via command line so I can't write a script to do this? I tried searching the archives and found nothing specific on this.
-- ---> Please post QUESTIONS and SUMMARIES only!! <--- To subscribe/unsubscribe to this list, contact email@example.com Name: firstname.lastname@example.org Owner: email@example.com Archives: ftp.dutchworks.nl:/pub/digests/hpux-admin (FTP, browse only) http://www.dutchworks.nl/htbin/hpsysadmin (Web, browse & search)