[HPADM] Mapping application to real memory usage

From: Bodnar, George (gbodnar@ppg.com)
Date: Wed Oct 29 2003 - 08:40:45 EST


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:

export UNIX95=""
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.

Thanks.

--
             ---> Please post QUESTIONS and SUMMARIES only!! <---
        To subscribe/unsubscribe to this list, contact majordomo@dutchworks.nl
       Name: hpux-admin@dutchworks.nl     Owner: owner-hpux-admin@dutchworks.nl
 
 Archives:  ftp.dutchworks.nl:/pub/digests/hpux-admin       (FTP, browse only)
            http://www.dutchworks.nl/htbin/hpsysadmin   (Web, browse & search)


This archive was generated by hypermail 2.1.7 : Sat Apr 12 2008 - 11:02:35 EDT