On Wednesday 14 November 2007 15:07:38 Paul Millar wrote: > The attached patch is against trunk. Comments are welcome!
OK, I took silence to mean "no objections" and have committed this small patch. Hope that's OK. The following bash one-liner should demonstrate the counter idea working: while :; do gmetric -n "IP packets per second" -t uint32 -v $(awk '/Ip:.*0/{print $11}'< /proc/net/snmp) -s positive -u "Pkts/s" -x 20 -d 120 ; sleep 20; done The patch is pretty simple. Would people object to it going into the monitor-core-3.0-beta branch? Cheers, Paul. ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Ganglia-developers mailing list Ganglia-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ganglia-developers