1851812 Members
3288 Online
104062 Solutions
New Discussion

Re: Memory usage in HPUX

 
Sumit Roy
New Member

Memory usage in HPUX

Hi,
I need to find the memory usage in HPUX. I have tried getrusage but it is not supported. All the fields return 0 value.

I saw somebody provide a workaround using syscall. But where is syscall defined. Also, if it is not in the installation, how do I install syscall.

If anybody has any suggestion let me know.
5 REPLIES 5
Michael Tully
Honored Contributor

Re: Memory usage in HPUX

There is a 'c' program in this thread from Mark Van Hassel that should help. In fact there are a lot of useful scripts/programs.

http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x026250011d20d6118ff40090279cd0f9,00.html
Anyone for a Mutiny ?
James Beamish-White
Trusted Contributor

Re: Memory usage in HPUX

I use a script to get the free memory, which you can then use expr to subtract it from the total memory to get mem usage. Don't know if that's exactly what you want, but it might help.

Cheers!
James
GARDENOFEDEN> create light
Bjoern Myrland
Advisor

Re: Memory usage in HPUX

Not sure what kind of information you are looking for but you get some degree of memory information from SAM in 'Performand monitors - System properties - Memory'

harry d brown jr
Honored Contributor

Re: Memory usage in HPUX


Can anyone say "glance" ?

live free or die
harry
Live Free or Die
Sumit Roy
New Member

Re: Memory usage in HPUX

Thanks everybody. I tried out the script suggested by Michael and it works.
Does anybody know how to get the same information in AIX.