[mrtg] Re: Using MRTG for Co-Lo billing.

Takumi Yamane yamtak at b-session.com
Thu Aug 11 06:40:08 MEST 2005


On Wed, 10 Aug 2005 17:40:48 -0500, John Gorkos wrote 
in <200508101740.48607.jgorkos at wildcatwireless.net>:
> 
> For a bonus round, where should the TCP/IP counters "roll-over" on 
> my uname -a:  Linux www 2.6.11-10mdk #1 Mon May 30 11:58:13 CEST 
> 2005 i686 Intel(R) Celeron(TM) CPU 1400MHz unknown GNU/Linux box?

2^32-1 (== 4,294,967,295 =~ 4GB) ?

In /usr/include/linux/netdevice.h, all statistics counters are 
defined as 'unsingned long'.

struct net_device_stats
{
...
    unsigned long rx_bytes;   /* total bytes received */
    unsigned long tx_bytes;   /* total bytes transmitted */
...
};


--
Takumi Yamane <yamtak at b-session.com>

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



More information about the mrtg mailing list