Operating System - HP-UX
1756816 Members
2624 Online
108853 Solutions
New Discussion юеВ

Memory utilization on HP-UX

 
AL_3001
Regular Advisor

Memory utilization on HP-UX

Hi Friends,

I need to record the memory utilization the HP-UX 11.00 server. The main reason is to see the utilization when the application is running and than record the utilization after stopping the application. The application is Oracle/SAP. Which are the best command to record the memory utilization? We do not have glance installed. I know top and swapinfo. Any other usefule commands?

Thanks

Regards,
Ashish
8 REPLIES 8
Davis Paul
Valued Contributor

Re: Memory utilization on HP-UX

Hi Ashish,
Check the UNIX95
Eg: UNIX95= ps -e -o vsz,uid,pid,args |sort -rn |more

Regards,
Davis Paul
Sajjad Sahir
Honored Contributor

Re: Memory utilization on HP-UX

swapinfo -tam
Steven E. Protter
Exalted Contributor

Re: Memory utilization on HP-UX

Shalom Ashish,

You may find these two links useful.

http://www.hpux.ws/?p=8
http://www.hpux.ws/?p=6

One is a performance script. One is a memory leak detector.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Jeeshan
Honored Contributor

Re: Memory utilization on HP-UX

Hi

its

export UNIX95=1; ps -e -o vsz,uid,pid,args |sort -rn |more
a warrior never quits
Shrikant Lavhate
Esteemed Contributor

Re: Memory utilization on HP-UX

Hi,

Look this thread...Bill already suggested those solutions tomorrow!

http://forums12.itrc.hp.com/service/forums/questionanswer.do?threadId=1219783

Will it remain a personal, if I broadcast it here!
Jeeshan
Honored Contributor

Re: Memory utilization on HP-UX

good site SEP

Wish i give you 50 points ;)
a warrior never quits
Aashique
Honored Contributor

Re: Memory utilization on HP-UX

Hi,
Please run the kmeminfo sctipt attached, which is very helpful and you will get the per user memory utilization.

How to run the kmeminfo:

Once on the HPUX system you can inspect the archive like this.
# ./kmeminfo.bin -t
You explode the archive like this
# ./kmeminfo.bin -v

After exploding the kmeminfo run the following commands to get the output, BE A ROOT USER and run the commands:

# script /tmp/kmeminfo.txt
# chmod 777 * (inside the /tmp/kmeminfo directory.)
# ./kmeminfo
# ./kmeminfo -user
# ./kmeminfo -arena
# exit

Read the /tmp/kmeminfo.txt file.

Thanks & Regards

Aashique
AL_3001
Regular Advisor

Re: Memory utilization on HP-UX

Thanks.