Subject: Re: traffic statistic
To: duanxh <xhduan@263.net>
From: David Maxwell <david@vex.net>
List: netbsd-users
Date: 06/06/2001 00:55:14
On Mon, Jun 04, 2001 at 09:46:49PM +0800, duanxh wrote:
> 
> Hi,i want to get traffic statistic for every protocol(based on Netbsd), who can tell me 
> a way to get it?

See if 'netstat -p protocol' gives you what you want. Where protocol =
tcp, ip, udp, or icmp.

-- 
David Maxwell, david@vex.net|david@maxwell.net --> Mastery of UNIX, like
mastery of language, offers real freedom. The price of freedom is always dear,
but there's no substitute. Personally, I'd rather pay for my freedom than live
in a bitmapped, pop-up-happy dungeon like NT. - Thomas Scoville