Date: Sun, 15 Oct 2006 13:03:49 +0200 From: Miroslav Lachman <000.fbsd@quip.cz> To: Dan b <thedanyes@yahoo.com> Cc: freebsd-net@freebsd.org Subject: Re: reset netstat statistics Message-ID: <45321595.1010106@quip.cz> In-Reply-To: <20061014071416.64065.qmail@web56508.mail.re3.yahoo.com> References: <20061014071416.64065.qmail@web56508.mail.re3.yahoo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Dan b wrote: > Hello, > > I searched the archives for this and was unable to > find anything relevant. I have a machine that is > being used as a NAT Router with IPFW and IPNAT running > 5.3-RELEASE. I'm only using IPFW to keep track of > traffic, no actual packet filtering is going on. > > The problem is that the statistics reported by netstat > seem to reset themselves intermittently. Last night I > ran netstat -ib and got an Ibytes stat of around 2.1GB > on my sis0 adapter. Today I ran netstat -ib and got > an Ibytes stat of around 600MB on my sis0 adapter. > The system has around 29 days of uptime, and I have > run ipfw zero a few times, but have not run netstat -z > at all. Let me know if you have any ideas about this. Counter resets itself after 4GB (it is not a bug, it is feature of 32bit counter as mentioned by Max Laier) Miroslav Lachman
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?45321595.1010106>