[mrtg] Re: Code

Gavin Hamill gdh at acentral.co.uk
Fri Aug 8 21:53:21 MEST 2003


On Fri, Aug 08, 2003 at 02:48:22PM -0400, Alegria, Luis wrote:
> 
> I have using MRTG for awhile now, I have been modifying PHP-analyzer
> script but I ran into a problem. I have no Idea how to modify "router
> octets" to kilobytes or megabytes. I know this is a bit out the
> purpose of this mailing list, but will use in conjunction with MRTG

Um, a 'router octet' is one byte... (octet since it consists of eight 
bits) so divide by 1024 to get kilobytes, and divide again by 1024 to 
get megabytes. :)

gdh

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