Subject: Re: possibly RTFM - packet/byte counters on net-if
To: Martin Husemann <martin@duskware.de>
From: Wojciech Puchar <wojtek@chylonia.3miasto.net>
List: netbsd-users
Date: 02/05/2002 16:11:53
> > how to get packet/byte counters on network interface.
> > something like /proc/net/dev in linux, maybe other way
>
> Something like "netstat -i" or "netstat -i -w 1" ?
> Add "-b" for bytes instead of packets.
netstat -b -I interface works perfect

thanks!