Lester Vecsey wrote:
I was going to investigate this further to see exactly what kind of values
the gmond process is coming up with in the relavent sections of code, but I
thought I'd ask here. Also, does anyone know if ibm has a library for 4.3
for the vmgetinfo function? Its also mentioned in the gmond 2.5.0 code, but
as being only available for aix 5.

If someone can show me the exact monitor or vmstat or svmon command that
should exactly equate to the mem_free output that is supposed to come up in
the graphs, please let me know.  From what I can tell the free memory and
avm memory on the machine are 2025 mb, and 1495 mb respectivly, with the
vmstat fre and avm values being 518421 382895 to match that, as examples,
and the gmond graph output is just showing mem_free usage climb up and up as
described above and then cleared out from 4gig, down to 0gig. My sense now
is that it looks like its just wrapping around.

That does sound a little weird. The three platforms I ported Ganglia to all have different methods of reporting free/total memory usage, so this is one wheel I have some experience reinventing...

I suggest you check the output of the (open source, not vendor-provided) top distro that's floating around out there. I have 3.5b9 and there's an AIX4.x machine file in it that seems to be doing what you're doing. If you can compile the source to top and it reports a realistic free memory figure, then it's got to be doing SOMETHING right. Borrow liberally, I doubt anyone will mind.

Hopefully you'll have more luck than I did, I ended up rewriting most of the code I pasted in.

Got CPU percentages yet?

[maniacal laughter]


Reply via email to