are modules initiated at every collection time, or is it initiated at ganglia start up and kept through the runtime?

I'm asking because I am looking at doing per second metrics based on the difference between the previously read value and the currently read value. The code (dstat, from the DAG repository) conveniently gives me nice classes for everything i'm looking at pulling out (interrupts per second, context switches per second, etc), and even goes so far as to check the value since the last time run, but of course, this produces a big spike in the second run and a 0 value in the first (thus, giving you a spike). I figure I can extract out the values a couple of times to get rid of the spike in the instantiation and then go from there.

Doug Nordwall
Unix Administrator
EMSL Computer and Network Support
Unclassified Computer Security
Phone: (509)372-6776; Fax: (509)376-0420
The best book on programming for the layman is "Alice in Wonderland"; but that's because it's the best book on anything for the layman.



-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Ganglia-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ganglia-general

Reply via email to