[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [hobbit] Henrik -- some notes on AIX and the 4.3 do_vmstat.c
- To: hobbit (at) hswn.dk
- Subject: Re: [hobbit] Henrik -- some notes on AIX and the 4.3 do_vmstat.c
- From: Stef Coene <stef.coene (at) docum.org>
- Date: Wed, 10 Oct 2007 18:42:28 +0200
- References: <5B3853EEF769544ABD6EEC79788A06390D1B2AEC (at) EXVS2.nibco.com>
- User-agent: KMail/1.9.6
On Wednesday 10 October 2007, Kauffman, Tom wrote:
> We're starting to move to the new IBM P6 environment, so I started
> looking at backing the 4.3 do_vmstat.c into 4.2.
>
> This pretty well showed I'm not a C programmer.
>
> However -- I added the two additional fields, cpu_ec and cpu_pc to the
> AIX structure in the 4.2 do_vmstat.c, recompiled, and the result works
> with the new P6 box. It will also work with new P5 or earlier systems,
> as the two extra values will just stay at <NAN> in the RRD. For existing
> older systems, I used 'rrdaddsource' from the RRD web site to add the
> cpu_pc and cpu_ec datasets to my existing RRD and everything is working
> just fine.
Take a look at
http://www.docum.org/twiki/bin/view/Hobbit/AixPower5
and
http://www.docum.org/twiki/bin/view/Hobbit/AixTips
if you are running hobbit client on aix.
Stef