Operating System - HP-UX
1833875 Members
1756 Online
110063 Solutions
New Discussion

Available physical memory

 
SOLVED
Go to solution
Dhananjaya Amarakoon
Regular Advisor

Available physical memory

Dear All,

Dear All,

In our office environment we have three HP Integrity rx7620 servers that are running HP-UX 11.23.
Server one and two run under cluster environment and other is running separately.

In above three severs I need to do memory (physical and swap) usages monitoring (available, used & free) using command line.
I used swapinfo –mat command for that. Here I have show three outputs of the three servers.

Server01
---------
#swapinfo -mat
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 12000 0 12000 0% 0 - 1 /dev/vg00/lvol10
reserve - 4126 -4126
memory 8151 3004 5147 37%
total 24247 7130 17117 29% - 0 -

server02
---------
#swapinfo -mat
Mb Mb Mb PCT START/ Mb
TYPE AVAIL USED FREE USED LIMIT RESERVE PRI NAME
dev 4096 834 3262 20% 0 - 1 /dev/vg00/lvol2
dev 12000 825 11175 7% 0 - 1 /dev/vg00/lvol10
reserve - 6344 -6344
total 16096 8003 8093 50% - 0 -

server03
--------
#swapinfo -mat
Mb Mb Mb PCT START/ Mb
TYPE AVAIL USED FREE USED LIMIT RESERVE PRI NAME
dev 4096 2 4094 0% 0 - 1 /dev/vg00/lvol2
dev 12000 2 11998 0% 0 - 1 /dev/vg00/lvol10
reserve - 2991 -2991
memory 8159 4019 4140 49%
total 24255 7014 17241 29% - 0 -


In above three outputs except server2, is it display physical memory (I mean in memory row)? Then why doesn’t it display in server2?

If it not how can I found physical memory status( available, used & free) ?

Pease anyone can help me regarding this ?
Thanks
Dhananjaya Amarakoon

6 REPLIES 6
Steven E. Protter
Exalted Contributor

Re: Available physical memory

Shalom,

Hard to tell.

Since the system is running, I'd surmise it has memory.

So some idea:
1) Problem with the swapinfo utility maybe a patch is needed.
2) swapinfo is somehow corrupt, try copying the binary from a working system.
3) Hardware issue is preventing the util from reporting.

#3 could be serious, I'd recommend using cstm/mstm or xstm to fully test the system hardare.

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

Re: Available physical memory

Hi,

Check the swapmemon kernel paramaeter on all the servers.

Regds
TT
Attitude (not aptitude) determines altitude.
Patrick Wallek
Honored Contributor
Solution

Re: Available physical memory

The 'memory' line of swpainfo has nothing to do with the amount of physical memory available in the machine. That line is displayed IF, and only IF, the swapmemon kernel parameter is set to 1. On server02, this is apparently not the case.
Hein van den Heuvel
Honored Contributor

Re: Available physical memory

Dhananjaya,

You are not the first one to want to do this, nor will you be the last.

Be sure to take advantage of previous experiences:
google: +hpux +memory +usage +site:itrc.hp.com

For a nice writeup check:

http://docs.google.com/View?
docid=dc7s6mzr_56cgsg9g

Hope this helps some,
Hein van den Heuvel (at gmail dot com)
HvdH Performance Consulting



Jollyjet
Valued Contributor

Re: Available physical memory

HI use dmesg to find the swapinfo.

Dhananjaya Amarakoon
Regular Advisor

Re: Available physical memory

As a replys, that I recevied I have found that there is not set swapmem_on=1 on server 2 kernal parameter.

So thanks to every one who spend time for my problem.

Dhananjaya