[Xymon] hpux-meminfo.c patch

Flack, Earl EFlack at thezenith.com
Sun Mar 6 19:25:44 CET 2011


Those work for physical memory in many cases but we are looking for a
command to determine how much memory is being consumed.
 

-----Original Message-----
From: Lynn Osburn [mailto:losburn at thepinnaclegroup.com] 
Sent: Sunday, March 06, 2011 8:36 AM
To: Flack, Earl; Williams, Doug (Consultant-RIC); henrik at hswn.dk; Jason
Fredricksen
Cc: xymon at xymon.com
Subject: RE: [Xymon] hpux-meminfo.c patch

Here are some ideas that might be fruitful.

# dmesg | grep Physical   (works on all HP-UX from 11.00 onwards)

# print_manifest | grep -i memory  (I'd use this as a last resort, as
the manifest is created at factory and mightn't include field upgrades)

# machinfo | egrep "^Memory"

If you are on a cell based server, you can use the /usr/sbin/parstatus
command to get detailed information about your overall memory
configuration by cell board, partition, etc.



-----Original Message-----
From: xymon-bounces at xymon.com [mailto:xymon-bounces at xymon.com] On Behalf
Of Flack, Earl
Sent: Saturday, March 05, 2011 6:54 PM
To: Williams, Doug (Consultant-RIC); henrik at hswn.dk; Jason Fredricksen
Cc: xymon at xymon.com
Subject: Re: [Xymon] hpux-meminfo.c patch

So the bad news is that swapinfo (on HP-UX 11iv3 ia64 at least) does not
take into account shared memory space memory utilization. 

We orginally tested the script on some idle servers with no databases
running at the time and it looked good there. After starting up a bunch
of oracle databases the output did not look right. Further investigation
showed that swapinfo was reporting an incomplete picture of memory, we
compared with kmeminfo and glance. Back to the drawing board for
scripts.

~~Earl

***********************************************************
NOTICE:
This e-mail, including attachments, contains information
that may be confidential, protected by the attorney/client
or other privileges, or exempt from disclosure under
applicable law.  Further, this e-mail may contain
information that is proprietary and/or constitutes a trade
secret.  This e-mail, including attachments, constitutes 
non-public information intended to be conveyed only to the
designated recipient of this communication, please be
advised that any disclosure, dissemination, distribution,
copying, or other use of this communication or any attached
document is strictly prohibited.  If you have received this
communication in error, please notify the sender
immediately by reply e-mail and promptly destroy all
electronic and printed copies of this communication and
attached documents.

***********************************************************





More information about the Xymon mailing list