Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 2 Sep 2008 08:41:31 -0700
From:      David Wolfskill <david@catwhisker.org>
To:        Charles Beckham <cbeckham@gmail.com>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: Obytes counter in netstat not incrementing
Message-ID:  <20080902154131.GH1089@bunrab.catwhisker.org>
In-Reply-To: <f9ac6b770808312346i61afe359y67a795715cede824@mail.gmail.com>
References:  <f9ac6b770808312346i61afe359y67a795715cede824@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080902154131.GH1089>