Xymon Mailing List Archive search

actual memory reporting on AIX

3 messages in this thread

list Larry Barber · Mon, 22 Jun 2009 16:27:53 -0500 ·
Is there anyway to report actual memory on AIX 5.3 clients? The thing is
that the old BigBrother client reported actual memory and I have users that
don't what to switch to the Hobbit client because of that. I would really
like to get those old BB clients off of the system, too.

Thanks,
Larry Barber
list Stef Coene · Mon, 22 Jun 2009 23:45:11 +0200 ·
quoted from Larry Barber
On Monday 22 June 2009, Larry Barber wrote:
Is there anyway to report actual memory on AIX 5.3 clients? The thing is
that the old BigBrother client reported actual memory and I have users that
don't what to switch to the Hobbit client because of that. I would really
like to get those old BB clients off of the system, too.
(see also http://www.docum.org/foswiki/bin/view/Xymon/AixTips)

I add this to the AIX hosts in bb-hosts:
TRENDS:*,vmstat:vmstat1|vmstat8|vmstat-pc|vmstat-ec|vmstat-avm|
vmstat-free-list

The hobbitgraph.cfg entries:
[vmstat-avm]
   TITLE Accessed Virtual Memory
   YAXIS Size kB
   -b 1024
   DEF:avm=vmstat.rrd:mem_avm:AVERAGE
   CDEF:sw=avm,4048,*
   LINE2:sw#00CC00:
   GPRINT:sw:LAST:Accessed Virtual Memory  \: %5.1lf%s (cur)
   GPRINT:sw:MAX: \: %5.1lf%s (max)
   GPRINT:sw:MIN: \: %5.1lf%s (min)
   GPRINT:sw:AVERAGE: \: %5.1lf%s (avg)\n

[vmstat-avm-total]
   FNPATTERN vmstat.rrd
   TITLE Accessed Virtual Memory
   YAXIS Size kB
   -b 1024
   DEF:avm at RRDIDX@=@RRDFN@:mem_avm:AVERAGE
   CDEF:sw at RRDIDX@=avm at RRDIDX@,4048,*
   LINE1:sw at RRDIDX@#@COLOR@:@RRDPARAM@:STACK
   GPRINT:sw at RRDIDX@:LAST:AVM  \: %5.1lf%s (cur)
   GPRINT:sw at RRDIDX@:MAX: \: %5.1lf%s (max)
   GPRINT:sw at RRDIDX@:MIN: \: %5.1lf%s (min)
   GPRINT:sw at RRDIDX@:AVERAGE: \: %5.1lf%s (avg)\n

[vmstat-free-list]
   TITLE Memory free list
   YAXIS pages kB
   -b 1000
   DEF:free=vmstat.rrd:mem_free:AVERAGE
   CDEF:fr=free,4048,*
   LINE2:fr#00CC00
   GPRINT:fr:LAST:Size of the free list \: %5.1lf%s (cur)
   GPRINT:fr:MAX: \: %5.1lf%s (max)
   GPRINT:fr:MIN: \: %5.1lf%s (min)
   GPRINT:fr:AVERAGE: \: %5.1lf%s (avg)\n

[vmstat-ec]
   TITLE Used Entitled CPU Capacity
   YAXIS ec %
   -b 1000
   DEF:ec2=vmstat.rrd:cpu_ec:AVERAGE
   CDEF:ec=ec2,10,/
   LINE2:ec#00CC00
   GPRINT:ec:LAST:ec \: %5.1lf%s%% (cur)
   GPRINT:ec:MAX: \: %5.1lf%s%% (max)
   GPRINT:ec:MIN: \: %5.1lf%s%% (min)
   GPRINT:ec:AVERAGE: \: %5.1lf%s%% (avg)\n

See also http://www.docum.org/foswiki/bin/view/Xymon/AixPower5 for CPU graphs.


Stef
list Tom Moore · Tue, 23 Jun 2009 11:11:33 -0400 ·
You could write a script that uses

/bin/lparstat -i

and then grep on the online memory line, i.e

Online Memory                              : 8192 MB
quoted from Larry Barber


From: Larry Barber [mailto:user-6ef9c2864140@xymon.invalid]
Sent: Monday, June 22, 2009 5:28 PM
To: hobbit
Subject: [hobbit] actual memory reporting on AIX

Is there anyway to report actual memory on AIX 5.3 clients? The thing is that the old BigBrother client reported actual memory and I have users that don't what to switch to the Hobbit client because of that. I would really like to get those old BB clients off of the system, too.

Thanks,
Larry Barber