From owner-freebsd-questions Fri Oct 11 05:56:59 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id FAA13696 for questions-outgoing; Fri, 11 Oct 1996 05:56:59 -0700 (PDT) Received: from zwei.siemens.at (zwei.siemens.at [193.81.246.12]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id FAA13689 for ; Fri, 11 Oct 1996 05:56:55 -0700 (PDT) Received: from sol1.gud.siemens.co.at (root@[10.1.143.100]) by zwei.siemens.at (8.7.5/8.7.3) with SMTP id OAA03098 for ; Fri, 11 Oct 1996 14:54:54 +0200 (MET DST) Received: from ws2301.gud.siemens.co.at by sol1.gud.siemens.co.at with smtp (Smail3.1.28.1 #7 for ) id m0vBh8T-000210C; Fri, 11 Oct 96 14:56 MET DST Received: by ws2301.gud.siemens.co.at (1.37.109.16/1.37) id AA143178577; Fri, 11 Oct 1996 14:56:17 +0200 From: "Hr.Ladavac" Message-Id: <199610111256.AA143178577@ws2301.gud.siemens.co.at> Subject: Re: netstat -nbi display To: dg@Root.COM Date: Fri, 11 Oct 1996 14:56:17 +0200 (MESZ) Cc: robert@fledge.watson.org, questions@freebsd.org In-Reply-To: <199610102337.QAA27817@root.com> from "David Greenman" at Oct 10, 96 04:37:54 pm X-Mailer: ELM [version 2.4 PL24 ME8a] Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk E-mail message from David Greenman contained: > > >Name Mtu Network Address Ipkts Ierrs Ibytes > >Opkts Oerrs Obytes Coll > >ed0 1500 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 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 >