[HPADM] Mapping application to real memory usage
From: Bodnar, George (gbodnar_at_ppg.com)
Date: 10/29/03
- Previous message: Aleksander.Wasiukiewicz_at_nokia.com: "[HPADM] configuring gated/ OSPF on HPUX 11.11"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
To: hpux-admin@dutchworks.nl 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:
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)
- Previous message: Aleksander.Wasiukiewicz_at_nokia.com: "[HPADM] configuring gated/ OSPF on HPUX 11.11"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]