reset netstat statistics
Miroslav Lachman
000.fbsd at quip.cz
Sun Oct 15 04:03:52 PDT 2006
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
More information about the freebsd-net
mailing list