[mrtg] Re: Calculating total bandwidth per Month

Alex van den Bogaerdt alex at ergens.op.HET.NET
Mon Feb 19 11:04:07 MET 2001


Derick Jansen wrote:

> I had a look and this is pretty much what I am looking for except that it
> works on LOG files and I am using RRD files. Since I am not any good at PERL
> scripting I hope someone has a version for RRD *grin*

Total = (average in Bps) times (time in s).

So: read the tutorial, build your own script to read the RRD working
on exactly one month, multiply the rate by the number of seconds you're
working on and PRINT the rate.  As you already multiplied the rate by
the number of seconds, this is not really a rate but rather a total.

cheers,
-- 
   __________________________________________________________________
 / 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