Subject: Re: tcp/udp/ip statistics monitoring/reporting tools for NetBSD?
To: None <davef1624@aol.com>
From: Jonathan Stone <jonathan@dsg.stanford.edu>
List: tech-net
Date: 04/11/2005 13:52:07
In message <8C70C51D997FEC2-2E0-14FCC@mblk-r42.sysops.aol.com>,
davef1624@aol.com writes:
>Are there any networking tools available (even 3rd party) that will
>collect & display
>the tcp/udp/ip statistics (e.g., packets sent, packets received,
>errored packets, etc.)
>on a per-interface level? I'm trying to analyze some USB networking
>problems from
>a host-to-host link (running UDP/IP over the USB), and need some way of
>monitoring
>for networking errors across this link.
netstat -d -w1 -I <ifname> used to work reasonably well for this,
until some well-meaning but hopelssly ill-advised person "improved" it
by removing the simultaneous {packet, byte} statistics. I think it
still does what you ask for, if you don't care about seeing both byte
and packet counts simultaneously. (I almost always want to see both).
The removal of simultaneous byte+packet counters is a pet peeve of
mine. Personally, I'd support fixing netstat to offer simultaneous
display of per-interface *packet* and *byte* counts, as netstat used
to do and still does on (all?) other *BSD systems.