1825793 Members
2296 Online
109687 Solutions
New Discussion

memory

 
nightwish
Advisor

memory

hello to all

I need some help !! .. Anyone nows how i see all the used memory, the free memory, in the hp-ux 11i ..

Best regardes

Note urgent ...
Thanks ..
10 REPLIES 10
Ninad_1
Honored Contributor

Re: memory

Hi,

If you have glance installed, use
glance -m


Regards,
Ninad
Phillip Thayer
Esteemed Contributor

Re: memory

You can use the command:

top

and look for the line labeled Memory:. Also, if you have glance installed you can run that and look at the memory report.

Phil
Once it's in production it's all bugs after that.
Darrel Louis
Honored Contributor

Re: memory

Hi,

You can also check with vmstat, do a man vmstat.

If you want to check your swap:
swapinfo -tam.

Darrel
Pete Randall
Outstanding Contributor

Re: memory

Or vmstat:

vmstat 1 5


Pete

Pete
nightwish
Advisor

Re: memory

Thanks for the informacion ..


But i have the TOP, in mean the thosen't give me the information that i need only report the process that consume more memory ..
And i don't have the Grace ..

I need to now the total of used memory ..
Any more sugestions ???

Thanks !! ..
Steven E. Protter
Exalted Contributor

Re: memory

Shalom,

You mean glance right? There is a 60 day free trial on the Application CD.

also:
http://www.hpux.ws/system.perf.sh

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
spex
Honored Contributor

Re: memory

Hello,

UNIX95= ps -e -o 'vsz' | awk '{t+=$1} END {printf "%d kbytes\n",t}'

This sums memory used by the core image across all processes. It may include virtual memory.

To see the top memory users:

UNIX95= ps -e -o "pid,user,vsz,args" | sort -nr -k 3 | more

PCS
nightwish
Advisor

Re: memory

I now, but the glance as end the free trial time :( .. !! And i need that information ..


Thanks a lot anyway ..
Darrel Louis
Honored Contributor

Re: memory

Hi,

Check this link, lots of tools regarding memory management:

Check this link,
ftp://eh:spear9@hprc.external.hp.com/memory.htm

Darrel
nightwish
Advisor

Re: memory

Regards for everyone !!

Thanks for the good help ..