Obytes counter in netstat not incrementing

David Wolfskill david at catwhisker.org
Tue Sep 2 16:14:59 UTC 2008


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    Opkts Oerrs     Obytes  Coll
em0    1500 172.24.24/22  172.24.24.91      16954669     - 3460328864  8173509     - 1440161156     -
lo0   16384 127           127.0.0.1          4283768     -  627953338  4283768     -  627953338     -
Tue Sep  2 08:40:36 PDT 2008
Name    Mtu Network       Address              Ipkts Ierrs     Ibytes    Opkts Oerrs     Obytes  Coll
em0    1500 172.24.24/22  172.24.24.91      16954688     - 3460330996  8173528     - 1440163696     -
lo0   16384 127           127.0.0.1          4283806     -  627956814  4283807     -  627957022     -
dwolf-bsd(6.3-S)[2] 

Peace,
david
-- 
David H. Wolfskill				david at 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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-hackers/attachments/20080902/c92bed7d/attachment.pgp


More information about the freebsd-hackers mailing list