Operating System - HP-UX
1833771 Members
2172 Online
110063 Solutions
New Discussion

physical memory and the active memory on HP-9000/800 D380/1

 
SOLVED
Go to solution
Soeguet
Contributor

physical memory and the active memory on HP-9000/800 D380/1

Hallo,
me system swapped continuous(swapinfo). The "sam" Tools appears me, that the system has 512 MB physical memory. How can I know, how many Memory ist really used (active), because the top-command and the sam shows, that only about 80 MB ist active and this value is dynamic. What is with the Kernal-Parameter "shmmmax, shmmni, s.o. ?


Bye,

S?g?t
S.Soeguet
4 REPLIES 4
Marc Dijkstra
Trusted Contributor

Re: physical memory and the active memory on HP-9000/800 D380/1

To find the physical memory in the machine, a dmesg can help otherwise try

# echo "mem_ptr/D" | adb /stand/vmunix /dev/mem

Be careful of the typing, adb is powerful ;), then to find out how much memory is being utilised by each process and if there are leaks try:

#UNIX95= ps -e -o ruser,vsz,pid,args | sort -rnk2 | more

Note the space after UNIX95=

MND
"A computer lets you make more mistakes faster than any invention in human history - with the possible exceptions of handguns and tequila"
Satish Y
Trusted Contributor

Re: physical memory and the active memory on HP-9000/800 D380/1

You can use command:
/usr/sam/lbin/getmem

or

In syslog you can see the string for ex:"Physical: 2097152 Kbytes" under heading "Memory Information:".

Hope it heps you...

Cheers...
Satish.
Difference between good and the best is only a little effort
Marcelo De Florio
Frequent Advisor

Re: physical memory and the active memory on HP-9000/800 D380/1

Another posibility is use vmstat command, but if you see if your system is swaping, another index is the %wio (to obtain this use the sar -u command), so see the column %wio if this columm is more than %20, see with sar -d command if your disk internal (where the swap is locate) is heavy use, IF yes so you have a problem a shortage of memory.

MDF
CHRIS_ANORUO
Honored Contributor
Solution

Re: physical memory and the active memory on HP-9000/800 D380/1

shmmax, shmmni, etc are shared memory parameters. You can modify these parameters usin SAM->Kernel configuration. The infomation for Active and Virtual memory can be seen using top, vmstat and Glance. If you set swapmem_on=1, this will give you 75% of Physical memory as pseudo swap.
When We Seek To Discover The Best In Others, We Somehow Bring Out The Best In Ourselves.