Xymon Mailing List Archive search

AIX memory check

8 messages in this thread

list Massimo Morsiani · Tue, 28 Nov 2006 15:39:47 +0100 ·
Hi all,

we have Hobbit 4.2.0 up and running (very well!) and we have BBWin
client installed on our Windows servers.
We started to install hobbit client on our AIX server (AIX 5.2) using
this pre-built package
http://rpm.razorsedge.org/aix-5.2/RE/ppc/hobbit-client-4.2.0-4.aix5.2.re
.ppc.rpm and it works fine.
But I noticed different memory reporting between AIX topas command and
Hobbit web page, as follows

=== Topas output ===

Real,MB    8191
% Comp     49.3
% Noncomp  51.6
% Client   51.8

PAGING SPACE
Size,MB    7680
% Used     20.5
% Free     79.4


=== Hobbit web output ===

Memory		Used		Total  	Percentage
green Physical	8189M		8192M		99%
green Swap		1612M		7680M		20%


While Total memory (8192MB) and Swap (7680MB, 20%) values are correct,
reported Physical memory value is incorrect.
Right value is % Comp 49.3 NOT 99%.

Is there anything I can change to have the right value?


Regards.

Massimo Morsiani
Information Technology Dept.
Gilbarco S.p.a.
via de' Cattani, 220/G
50145 Firenze
tel:	+XX-XXX-XXXXX
fax:	+XX-XXX-XXXXXX
email:	user-32025d8bd22e@xymon.invalid
web:	http://www.gilbarco.it


This message (including any attachments) contains confidential and/or proprietary information intended only for the addressee.  Any unauthorized disclosure, copying, distribution or reliance on the contents of this information is strictly prohibited and may constitute a violation of law.  If you are not the intended recipient, please notify the sender immediately by responding to this e-mail, and delete the message from your system.  If you have any questions about this e-mail please notify the sender immediately.
list Frédéric Mangeant · Tue, 28 Nov 2006 16:47:22 +0100 ·
quoted from Massimo Morsiani
Le 28/11/2006 15:39, Morsiani, Massimo a écrit :
Hi all,

we have Hobbit 4.2.0 up and running (very well!) and we have BBWin client installed on our Windows servers.

We started to install hobbit client on our AIX server (AIX 5.2) using this pre-built package _ http://rpm.razorsedge.org/aix-5.2/RE/ppc/hobbit-client-4.2.0-4.aix5.2.re.ppc.rpm_ and it works fine.
quoted from Massimo Morsiani

But I noticed different memory reporting between AIX topas command and Hobbit web page, as follows

=== Topas output ===

Real,MB    8191
% Comp     49.3
% Noncomp  51.6
% Client   51.8

PAGING SPACE
Size,MB    7680
% Used     20.5
% Free     79.4


=== Hobbit web output ===

Memory          Used            Total   Percentage
green Physical  8189M           8192M           99%
green Swap              1612M           7680M           20%


While Total memory (8192MB) and Swap (7680MB, 20%) values are correct, reported Physical memory value is incorrect.
Right value is % Comp 49.3 NOT 99%.

Is there anything I can change to have the right value?
Hi

AFAIK, AIX uses (by default) a lot of memory for file caching, so you end up using ~100% of your physical memory.

Try running this :

# /usr/samples/kernel/vmo -a | grep perm%
        maxperm% = 40
        minperm% = 20

This means that 40% of your memory can (and often, is) be used for file caching.


vmo is available under AIX 5.2/5.3, you can use vmtune under AIX 5.1

-- 

Frédéric Mangeant

Steria GDU Sophia Antipolis
list Stef Coene · Tue, 28 Nov 2006 19:02:38 +0100 ·
quoted from Frédéric Mangeant
On Tuesday 28 November 2006 15:39, Morsiani, Massimo wrote:
While Total memory (8192MB) and Swap (7680MB, 20%) values are correct,
reported Physical memory value is incorrect.
Right value is % Comp 49.3 NOT 99%.

Is there anything I can change to have the right value?
I depends on what you want to plot.  AIX will always put as much as possible unused programs in the swap and use all available memory for file system cache.  So swap is never 0% and memory is always 100%.

We have plans to deploy hobbit to all are customers (+100 AIX boxes).  I also have plans to tune the hobbit client and server for AIX monitoring and write all kind of extra scripts (I already have scripts to monitor error report, lvm, printers, cupsd, HA/CMP, CPU, ...).  These scripts are written for bb and create graphs.  I have to port them to hobbit.

If you are interested in AIX specific stuff, let ne know.  An extra debugger is always welcome ;)


Stef
list Thomas Seglard · Tue, 28 Nov 2006 19:14:37 +0100 ·
Hello Stef,

I'm really interested with your extra scripts. Actually, I'm running some scripts from deadcat.au like bb-errpt, bb-lvm, etc... Are your scripts similar or do you write your own from scratch ? In anyway, if you could send me some of them, I will do my best to help you in debugging.
Thanks for sharing !
Regards,

Thomas

Stef Coene <user-dbffe946c0f4@xymon.invalid> a écrit sur 28/11/2006 19:02:38 :
quoted from Stef Coene
On Tuesday 28 November 2006 15:39, Morsiani, Massimo wrote:
While Total memory (8192MB) and Swap (7680MB, 20%) values are correct,
reported Physical memory value is incorrect.
Right value is % Comp 49.3 NOT 99%.

Is there anything I can change to have the right value?
I depends on what you want to plot.  AIX will always put as much as 
possible 
unused programs in the swap and use all available memory for file system cache.  So swap is never 0% and memory is always 100%.

We have plans to deploy hobbit to all are customers (+100 AIX boxes).  I also have plans to tune the hobbit client and server for AIX monitoring and 
write 
all kind of extra scripts (I already have scripts to monitor error 
report, 
lvm, printers, cupsd, HA/CMP, CPU, ...).  These scripts are written for bb and create graphs.  I have to port them to hobbit.

If you are interested in AIX specific stuff, let ne know.  An extra 
debugger 
is always welcome ;)


Stef

Ce message (et toutes ses pieces jointes eventuelles) est confidentiel et etabli a l'intention exclusive de ses destinataires.
Toute utilisation de ce message non conforme a sa destination, toute diffusion ou toute publication, totale ou partielle, est
interdite, sauf autorisation expresse.
L'internet ne permettant pas d'assurer l'integrite de ce message, CNP Assurances et ses filiales declinent toute responsabilite
au titre de ce message, s'il a ete altere, deforme ou falsifie.

*****

This message and any attachments (the "message") are confidential and intended solely for the addressees.
Any unauthorised use or dissemination is prohibited.
E-mails are susceptible to alteration.
Neither CNP Assurances nor any of its subsidiaries or affiliates shall be liable for the message if altered, changed or falsified.
list Stef Coene · Tue, 28 Nov 2006 19:47:29 +0100 ·
quoted from Thomas Seglard
On Tuesday 28 November 2006 19:14, user-bb3e9041f07f@xymon.invalid wrote:
Hello Stef,

I'm really interested with your extra scripts. Actually, I'm running some
scripts from deadcat.au like bb-errpt, bb-lvm, etc... Are your scripts
similar or do you write your own from scratch ? In anyway, if you could
send me some of them, I will do my best to help you in debugging.
Some of them are based on deadcat, some are written from scratch.
It is possible that this "project" is scheduled for next year, so you will 
have to wait a while.

One of things I did when I wrote the scripts and I was using BigBrother, is 
changing larrd so I can create graphs on the fly.  Basically, it is like ncv, 
but I used "hidden html" to specify the graphs parameters:
<!--RRD EBCT EBCT1 20585056.0512-->
I will have to change that mechanisme too.


Stef
list Thomas Seglard · Tue, 28 Nov 2006 19:58:13 +0100 ·
Thanks for reply. I will wait until next year, no problem !
Snicerly,

Thomas


Stef Coene <user-dbffe946c0f4@xymon.invalid> a écrit sur 28/11/2006 19:47:29 :
quoted from Stef Coene
On Tuesday 28 November 2006 19:14, user-bb3e9041f07f@xymon.invalid wrote:
Hello Stef,

I'm really interested with your extra scripts. Actually, I'm running 
some
scripts from deadcat.au like bb-errpt, bb-lvm, etc... Are your scripts
similar or do you write your own from scratch ? In anyway, if you 
could
send me some of them, I will do my best to help you in debugging.
Some of them are based on deadcat, some are written from scratch.
It is possible that this "project" is scheduled for next year, so you 
will 
have to wait a while.

One of things I did when I wrote the scripts and I was using BigBrother, is changing larrd so I can create graphs on the fly.  Basically, it is like ncv, but I used "hidden html" to specify the graphs parameters:
<!--RRD EBCT EBCT1 20585056.0512-->
I will have to change that mechanisme too.


Stef

Ce message (et toutes ses pieces jointes eventuelles) est confidentiel et etabli a l'intention exclusive de ses destinataires.
Toute utilisation de ce message non conforme a sa destination, toute diffusion ou toute publication, totale ou partielle, est
interdite, sauf autorisation expresse.
L'internet ne permettant pas d'assurer l'integrite de ce message, CNP Assurances et ses filiales declinent toute responsabilite
au titre de ce message, s'il a ete altere, deforme ou falsifie.

*****

This message and any attachments (the "message") are confidential and intended solely for the addressees.
Any unauthorised use or dissemination is prohibited.
E-mails are susceptible to alteration.
Neither CNP Assurances nor any of its subsidiaries or affiliates shall be liable for the message if altered, changed or falsified.
list Al Jeffcoat · Wed, 29 Nov 2006 09:49:42 -0500 ·
I'll help debug if and when you need it :)

I've got some home grown stuff also, ranging from errpt to HA, and some
deadcat stuff, but am always looking for alternatives.

Al
quoted from Stef Coene

-----Original Message-----
From: Stef Coene [mailto:user-dbffe946c0f4@xymon.invalid] 
Sent: Tuesday, November 28, 2006 1:03 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] AIX memory check

On Tuesday 28 November 2006 15:39, Morsiani, Massimo wrote:
While Total memory (8192MB) and Swap (7680MB, 20%) values are correct,
reported Physical memory value is incorrect.
Right value is % Comp 49.3 NOT 99%.

Is there anything I can change to have the right value?
I depends on what you want to plot.  AIX will always put as much as
possible 
unused programs in the swap and use all available memory for file system

cache.  So swap is never 0% and memory is always 100%.

We have plans to deploy hobbit to all are customers (+100 AIX boxes).  I
also 
have plans to tune the hobbit client and server for AIX monitoring and
write 
all kind of extra scripts (I already have scripts to monitor error
report, 
lvm, printers, cupsd, HA/CMP, CPU, ...).  These scripts are written for
bb 
and create graphs.  I have to port them to hobbit.

If you are interested in AIX specific stuff, let ne know.  An extra
debugger 
is always welcome ;)


Stef


This e-mail message and any attached files are confidential and are intended solely for the use of the addressee(s) named above. If you are not the intended recipient, any review, use, or distribution of this e-mail message and any attached files is strictly prohibited. This communication may contain material protected by Federal privacy regulations, attorney-client work product, or other privileges. If you have received this confidential communication in error, please notify the sender immediately by reply e-mail message and permanently delete the original message.  To reply to our email administrator directly, send an email to:  user-ecde3bbc361d@xymon.invalid .  If this e-mail message concerns a contract matter, be advised that no employee or agent is authorized to conclude any binding agreement on behalf of Orlando Regional Healthcare by e-mail without express written confirmation by an officer of the corporation. Any views or opinions presented in this e-mail are solely those of the author and do not necessarily represent those of Orlando Regional Healthcare.
list Stef Coene · Wed, 29 Nov 2006 16:14:02 +0100 ·
quoted from Al Jeffcoat
On Wednesday 29 November 2006 15:49, Jeffcoat, Al wrote:
I'll help debug if and when you need it :)

I've got some home grown stuff also, ranging from errpt to HA, and some
deadcat stuff, but am always looking for alternatives.
I'm going to clean up my messy bb code and replace it with clean hobbit code ;)
Wih hobbit, I have CPU, memory, disk i/o, power5, ... graphs.  All AIX specific.  I want the same with hobbit.  You can send me your scripts, if you want, maybe I can use them too.

A few days ago, I installed twiki on my web-server.  Hobbit is one of the webs I just added ;)


Stef