1836970 Members
2504 Online
110111 Solutions
New Discussion

memory status

 
SOLVED
Go to solution
Rahul Pednekar
Frequent Advisor

memory status

Hi all

I want to know that how do i get memory status of my hp-ux box. I just want
'Total physical mem'
'Used Physical Memory'
'Available Physical Memory'

Below I'm giving the output of top command kindly let me know...

TOP:::
Memory: 1910584K (976664K) real, 3732140K (1798688K) virtual, 827796K free Page


# vmstat
procs memory page faults cpu
r b w avm free re at pi po fr de sr in sy cs us sy id
1 1 0 421598 204704 21 19 0 0 0 0 0 1654 4771 897 3 3 94


# swapinfo -m
Mb Mb Mb PCT START/ Mb
TYPE AVAIL USED FREE USED LIMIT RESERVE PRI NAME
dev 4096 0 4096 0% 0 - 1 /dev/vg00/lvol2
dev 2048 7 2041 0% 0 - 0 /dev/vg00/lvolswp2
dev 5120 7 5113 0% 0 - 0 /dev/vg00/lvol11
reserve - 3269 -3269
memory 3068 958 2110 31%




thanks in advance...
7 REPLIES 7
Muthukumar_5
Honored Contributor

Re: memory status

Some time top output is not correct. Use sam as,

sam -> performance monitor -> system properties -> memory part -> Real Memory.


--
Muthu
Easy to suggest when don't know about the problem!
Arunvijai_4
Honored Contributor

Re: memory status

Just run

# /opt/ignite/bin/print_manifest

It will give all information.

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
Senthil Kumar .A_1
Honored Contributor

Re: memory status

Hi,

Take a look at this link, It has lots of info on how to check your memory contraints, also on how you calculate the memory usage.

ftp://eh:spear9@hprc.external.hp.com/memory.htm


regards,
Senthil
Let your effort be such, the very words to define it, by a layman - would sound like a "POETRY" ;)
Geoff Wild
Honored Contributor

Re: memory status

Here's a c program (just compile it with the native HP-UX compiler) called memdetail:

# memdetail
Memory Stat total used avail %used
physical 14240.0 12606.9 1633.1 89%
active virtual 15227.2 4860.9 10366.3 32%
active real 10316.3 3063.5 7252.8 30%
memory swap 11139.4 1788.3 9351.1 16%
device swap 26528.0 14599.9 11928.1 55%


Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
DCE
Honored Contributor

Re: memory status



If you have glance installed, the memory selection has most, if not all, of the info you want.

glance = text based version
gpm = gui version
AshishJain_USA
Frequent Advisor
Solution

Re: memory status

Hi Rahul
To get the toatl physical memory info on yr system, run the command

# dmesg | grep -i physical

TOP will give you an approx. idea on how much is being used and how much is free.

rgds...Ashish
Rahul Pednekar
Frequent Advisor

Re: memory status

thanks a lot