You will have to use svmon and be educated as to how the system is
allocating memory. Unfortunately there is no one easy command to run.
It sounds like you want to know how much memory collectively is used by a
set of processes. But, you'll have to capture the set of processes using
svmon, and add the regions that are unique for each process and the regions
that are shared for each process. It's not a one command thing. You'll take
the report, add all of their private segments (data heaps and program
stacks), add the shared text (code) segment once, their shared memory
segments (between your program) once and it's up to you how much of the
shared library memory segment you'll want to include, since it's used by all
processes in the system.
A complex answer, but it can be done. You just need to take the time to do
Urban A. Haas
CEO - Urban Technology, Inc.
Minneapolis, MN USA
Phone: (952) 595-8810 Fax: (952) 595-8710
This e-mail was composed of 100% recycled bits.
> >I have been searching 'everywhere' for the answer to the folllowing
> >and am coming to the conclusion that there isn't an answer. But... as
> >last resort I'll try it here again (even though I have seen many
> >similar appends
> >that don't seem to have been conclusive - to me anyway).
> >We have some 400+ application processes, and we would like to know
> >what their cumulative real memory usage is?
> >or put even more simply, calculate the exact real memory used by a
> >process from a snapshot of the live system.
> >I have read many Forum threads, AIX Performance Guide on ps and svmon,
> >and I am not convinced of an exact method/formula for this?
> >Please tell me I'm wrong!
> svmon -Su will show you memory utilization by segment, and svmon -Pu will
> show memory utilization by process
> hope this helps-