[mrtg] Re: monitoring traffic in & out of Linux box

Ragnar Kjørstad mrtg at ragnark.vestdata.no
Sat Nov 4 22:25:15 MET 2000

On Sat, Nov 04, 2000 at 04:19:48PM -0500, tony bourke wrote:
> > linux doesn't do network accounting on the number of bytes transfered,
> > only the number of packets. (at least it used to). You can do byte
> > accounting by using ipchains, but it's a little bit more work to setup.
> Are you sure about that?  The ifconfig only shows packets, but I've always
> been able to get accurate bps (bits per second) with MRTG and linux runing
> ucd-snmpd.  When ever I set up MRTG, i usually set it up on the switch and
> the server, so I can compare the two.  I'm pretty sure Linux has always
> been ok for me, and this is dating back several years.

OK, it appers to be fixed in linux-2.2, so my comment only apply to
linux-2.0. (and still it returns number of bytes, but it is an estimate,
from the number of packets transfered).

Ragnar Kjørstad

Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive     http://www.ee.ethz.ch/~slist/mrtg
FAQ         http://faq.mrtg.org    Homepage     http://www.mrtg.org
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi

More information about the mrtg mailing list