phil- thanks for this patch (and sorry for the late reply). i've added it in CVS and it'll be part of the next release. -- matt
Dec 6, Phil Radden wrote forth saying... > Apologies if this has been sent before; there's a rogue '==' instead of > '=' (unusual to get it wrong that way around!) in linux.c, meaning that > the stats for bytes_out are bogus. > > Regards, > Phil > > --- ganglia-monitor-core-2.5.1/gmond/machines/linux.c.orig Fri Dec 6 > 15:08:46 2002 > +++ ganglia-monitor-core-2.5.1/gmond/machines/linux.c Fri Dec 6 > 15:09:14 2002 > @@ -111,7 +111,7 @@ > t = strtod( p, &p ); > pkts_in += t; > for (i = 0; i < 6; i++) strtol(p, &p, 10); > - t == strtod( p, &p ); > + t = strtod( p, &p ); > bytes_out += t; > pkts_out += strtod( p, &p ); > } > @@ -171,7 +171,7 @@ > t = strtod( p, &p ); > pkts_in += t; > for (i = 0; i < 6; i++) strtol(p, &p, 10); > - t == strtod( p, &p ); > + t = strtod( p, &p ); > bytes_out += t; > pkts_out += strtod( p, &p ); > } > @@ -230,7 +230,7 @@ > t = strtod( p, &p ); > pkts_in += t; > for (i = 0; i < 6; i++) strtol(p, &p, 10); > - t == strtod( p, &p ); > + t = strtod( p, &p ); > bytes_out += t; > pkts_out += strtod( p, &p ); > } > @@ -292,7 +292,7 @@ > t = strtod( p, &p ); > pkts_in += t; > for (i = 0; i < 6; i++) strtol(p, &p, 10); > - t == strtod( p, &p ); > + t = strtod( p, &p ); > bytes_out += t; > pkts_out += strtod( p, &p ); > } > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Ganglia-general mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/ganglia-general >

