[mrtg] Re: Data Transfer rates

Alex van den Bogaerdt alex at slot.hollandcasino.nl
Sun Feb 24 14:05:37 MET 2002


ODIT COMPUTERS wrote:

> Does anyone know how I can display the transfered (kilo)bytes?
> I would like to monitor the download transfer that passes my router.

The number of bytes transfered since the last counter reset can be
found in the first line of your .log file.

As long as your router doesn't reset, you don't reset the counters and
the counter doesn't overflow, you can use this number.

The format of that line is <time> <ifInOctets> <ifOutOctets> as seen
from the device.  If you're monitoring the interface that's connected
to the internet, you want the ifInOctets counter.  If you're monitoring
the interface that's nearest to your computer, you want ifOutOctets.

To make kilobytes from this number divide by 1000.  To make harddisk
kilobytes, divide by 1024.

HTH
-- 
   __________________________________________________________________
 / alex at slot.hollandcasino.nl                  alex at ergens.op.het.net \
| work                                                         private |
| My employer is capable of speaking therefore I speak only for myself |
+----------------------------------------------------------------------+
| Technical questions sent directly to me will be nuked. Use the list. | 
+----------------------------------------------------------------------+
| http://faq.mrtg.org/                                                 |
| http://rrdtool.eu.org  --> tutorial                                  |
+----------------------------------------------------------------------+

--
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