Obytes counter in netstat not incrementing

Charles Beckham cbeckham at gmail.com
Mon Sep 1 07:16:00 UTC 2008


after configuring some rrd's and expecting to grab the data from
netstat to log, i noticed that most addresses on the system arn't
having the OBytes counter increased. is this just me, or am i missing
something? i also have ipfw count rules for each address on the
system, to check if the problem was maybe my command line. below is
some snippets.


x# netstat -ibdnW | grep 208.110.87.83 | perl -p -e 's/  */ /g'
fxp0 1500 208.110.87 208.110.87.83 148701705 - 3765807065 1520 - 136897 - -

x# ipfw show 5000 | grep 208.110.87.83
05000    423144     18533923 count ip from any to 208.110.87.83
05000    419195     85561587 count ip from 208.110.87.83 to any

x# netstat -ibdnW | grep 208.110.87.83 | perl -p -e 's/  */ /g'
fxp0 1500 208.110.87 208.110.87.83 148702426 - 3765843377 1520 - 136897 - -

x# ipfw show 5000 | grep 208.110.87.83
05000    423198     18536930 count ip from any to 208.110.87.83
05000    419228     85565367 count ip from 208.110.87.83 to any

x# netstat -ibdnW | grep 208.110.87.83 | perl -p -e 's/  */ /g'
fxp0 1500 208.110.87 208.110.87.83 148702600 - 3765853440 1520 - 136897 - -

as you can see, the ipfw counters are increasing, but not the netstat
output, any ideas, or am i missing something?

-- 
- Charles Beckham


More information about the freebsd-hackers mailing list