Re: Byte counters reset at ~4GB

From: Kris Kennaway <kris_at_obsecurity.org>
Date: Mon, 15 Mar 2004 16:05:44 -0800
On Mon, Mar 15, 2004 at 06:38:28PM -0500, Mike Jakubik wrote:
> Hello,
> 
> It seems that the byte counters (derived from netstat -nbi) reset at
> around 4 GB. Is there no way around this? It would be nice to be able to
> see an accurate display of totals. It just seems pointless to even have
> this, as 4 GB is just not that much anymore. I know this is a 32bit
> limitation of the variable, but that's just bad coding in my opinion (no
> offence intended), I mean there must be some way around this.

I think in the past it's been pointed out changing to a 64-bit
variable would slow down the code on non-64-bit architectures like the
venerable i386.

Kris

Received on Mon Mar 15 2004 - 15:07:13 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:47 UTC