From owner-freebsd-hackers@FreeBSD.ORG Tue Sep 2 16:14:59 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 335CF1065672 for ; Tue, 2 Sep 2008 16:14:59 +0000 (UTC) (envelope-from david@catwhisker.org) Received: from bunrab.catwhisker.org (adsl-63-193-123-122.dsl.snfc21.pacbell.net [63.193.123.122]) by mx1.freebsd.org (Postfix) with ESMTP id AE0068FC1E for ; Tue, 2 Sep 2008 16:14:58 +0000 (UTC) (envelope-from david@catwhisker.org) Received: from bunrab.catwhisker.org (localhost [127.0.0.1]) by bunrab.catwhisker.org (8.13.3/8.13.3) with ESMTP id m82FfVJJ004942; Tue, 2 Sep 2008 08:41:31 -0700 (PDT) (envelope-from david@bunrab.catwhisker.org) Received: (from david@localhost) by bunrab.catwhisker.org (8.13.3/8.13.1/Submit) id m82FfVfw004941; Tue, 2 Sep 2008 08:41:31 -0700 (PDT) (envelope-from david) Date: Tue, 2 Sep 2008 08:41:31 -0700 From: David Wolfskill To: Charles Beckham Message-ID: <20080902154131.GH1089@bunrab.catwhisker.org> Mail-Followup-To: David Wolfskill , Charles Beckham , freebsd-hackers@freebsd.org References: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="NzX0AQGjRQPusK/O" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.1i Cc: freebsd-hackers@freebsd.org Subject: Re: Obytes counter in netstat not incrementing X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Sep 2008 16:14:59 -0000 --NzX0AQGjRQPusK/O Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Aug 31, 2008 at 11:46:36PM -0700, Charles Beckham wrote: > [... "netstat -ibdnW" doesn't show changes in Obytes (or Opkts)...] > ... > as you can see, the ipfw counters are increasing, but not the netstat > output, any ideas, or am i missing something? First, what is the output of "uname -r" (at least)? I'm experimenting with using "netstat -nibf inet" to acquire such information, and on a FreeBSD 6.3-STABLE system built 25 Aug 2008, I do not see the problem: dwolf-bsd(6.3-S)[1] date;netstat -nibf inet; sleep 10; date; netstat -nibf = inet Tue Sep 2 08:40:26 PDT 2008 Name Mtu Network Address Ipkts Ierrs Ibytes Op= kts Oerrs Obytes Coll em0 1500 172.24.24/22 172.24.24.91 16954669 - 3460328864 8173= 509 - 1440161156 - lo0 16384 127 127.0.0.1 4283768 - 627953338 4283= 768 - 627953338 - Tue Sep 2 08:40:36 PDT 2008 Name Mtu Network Address Ipkts Ierrs Ibytes Op= kts Oerrs Obytes Coll em0 1500 172.24.24/22 172.24.24.91 16954688 - 3460330996 8173= 528 - 1440163696 - lo0 16384 127 127.0.0.1 4283806 - 627956814 4283= 807 - 627957022 - dwolf-bsd(6.3-S)[2]=20 Peace, david --=20 David H. Wolfskill david@catwhisker.org Depriving a girl or boy of an opportunity for education is evil. See http://www.catwhisker.org/~david/publickey.gpg for my public key. --NzX0AQGjRQPusK/O Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (FreeBSD) iEYEARECAAYFAki9XqoACgkQmprOCmdXAD3stgCgiMSBu7bLkmpnRrHw/5q1y2lI Ge0AnisGZAlSyD6NiYfyC+D+93IBddMj =/dNi -----END PGP SIGNATURE----- --NzX0AQGjRQPusK/O--