Date: Tue, 16 Mar 2004 08:57:39 +0100 From: Bernd Walter <ticso@cicely12.cicely.de> To: Kris Kennaway <kris@obsecurity.org> Cc: net@freebsd.org Subject: Re: Byte counters reset at ~4GB Message-ID: <20040316075738.GL55325@cicely12.cicely.de> In-Reply-To: <20040316000544.GA33122@xor.obsecurity.org> References: <2650.192.168.0.200.1079393908.squirrel@192.168.0.1> <20040316000544.GA33122@xor.obsecurity.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Mar 15, 2004 at 04:05:44PM -0800, Kris Kennaway wrote: > 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. And on 64 bit platforms it is already 64 bit. -- B.Walter BWCT http://www.bwct.de ticso@bwct.de info@bwct.de
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040316075738.GL55325>