Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Oct 1996 14:56:17 +0200 (MESZ)
From:      "Hr.Ladavac" <lada@ws2301.gud.siemens.co.at>
To:        dg@Root.COM
Cc:        robert@fledge.watson.org, questions@freebsd.org
Subject:   Re: netstat -nbi display
Message-ID:  <199610111256.AA143178577@ws2301.gud.siemens.co.at>
In-Reply-To: <199610102337.QAA27817@root.com> from "David Greenman" at Oct 10, 96 04:37:54 pm

next in thread | previous in thread | raw e-mail | index | archive | help
E-mail message from David Greenman contained:
> 
> >Name  Mtu   Network       Address            Ipkts Ierrs     Ibytes
> >Opkts Oerrs     Obytes  Coll
> >ed0   1500  <Link>00.00.c0.77.bb.a8        2412232     1  280810240
> >2496396     6 -2140892732 108368
> >ed0   1500  128.2         128.2.89.13      2412232     1  280810240
> >2496396     6 -2140892732 108368
> >lo0   16384 <Link>                          115334     0   15639183
> >115334     0   15639183     0
> >lo0   16384 127           127.0.0.1         115334     0   15639183
> >115334     0   15639183     0
> >
> >As may not be apparent from the output, my output byte counter wraps
> >around about every day or two when running a reasonable-size website.  Is
> >there any way I can get it to *not* wrap and as such give a reasonable
> >display of network use?
> 
>    Only once a day or two? :-) It wraps about once an hour on wcarchive. :-)
> The only way to fix this is to increase the size of the stats to 64bit. I
> think this has been proposed before, but noone has gone and done it.

The other way is to have a frequently run statistics gathering program
which notices the wraparound and unwraps it in the stats output/database.

/Marino
> 
> -DG
> 
> David Greenman
> Core-team/Principal Architect, The FreeBSD Project
> 




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199610111256.AA143178577>