[mrtg] Re: Formula for calculating Network Utilisation

Alex van den Bogaerdt alex at ergens.op.het.net
Wed Jun 23 10:28:26 MEST 2004


On Tue, Jun 22, 2004 at 08:38:34PM -0700, Meng Keng Lee wrote:
> Hello,
> 
> Can I check with you whether the formula for calculating Network Utilisation (Input/Ouput) is correct?
> 
> Network Utilisation (Input in %) = ifInOctets/ifSpeed * 800
> 
> Network Utilisation (Output in %) = ifOutOctets/ifSpeed * 800

___if___ the ifInOctets counter counts bytes and ifSpeed is in bits
then it is correct.  This is __not__ the case.

Both counters are of the same type (both bits or both bytes) and thus
a percentage is 100 * x/y.

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