Subject: Re: How do I get protocol statistics on a per-networking-interface level ?
To: None <davef1624@aol.com>
From: Dheeraj S <dheeraj@ece.gatech.edu>
List: tech-net
Date: 04/11/2005 14:24:07
On Mon, Apr 11, 2005 at 02:17:51PM -0400, davef1624@aol.com wrote:

> Can anyone tell me how to get per-protocol based statistics (e.g., for 
> udp or ip protocols),
> but on a per-network-interface level?
> 
> netstat has the -p <protocol> option, as well as the -I <interface> 
> option,
> but it seems that when I use the -p option, the -I option is ignored,
> and I get stats for all interfaces for the specified protocol.
> 
> Am I not using netstat correctly, or are there other tools out there?
> 
> thanks,
> Dave
> 

netstat -I wi0 -p tcp

works as intended for me.


truely
dheeraj

-- 
"Nature wants us to react, return blow for blow, cheating for cheating, lie for
lie, and then it requires a Divine power not to hit-back, keep control and 
remain unattached, and act with prudence."