Subject: Re: getting the bytes that pass an network interface?
To: None <netbsd-help@netbsd.org>
From: Paul Newhouse <newhouse@rockhead.com>
List: netbsd-help
Date: 05/05/1999 10:12:31
>alice# netstat -ib
>netstat: illegal option -- b
>usage: netstat [-Aan] [-f address_family] [-M core] [-N system]
>       netstat [-ghimnrs] [-f address_family] [-M core] [-N system]
>       netstat [-n] [-I interface] [-M core] [-N system] [-w wait]
>       netstat [-M core] [-N system] [-p protocol]
>
>I did nont see it in my man.

It works for me on a May 2 build of the tree.

newhouse[newhouse-2]: netstat -ib
Name  Mtu   Network       Address               Ibytes     Obytes
de0   1500  <Link>        00:40:05:a0:41:2a  608479975 1343641368
de0   1500  172.16.89.40/ bigbox.wan.vpn     608479975 1343641368
de1   1500  <Link>        00:40:05:42:35:d0   59701513   12160311
de1   1500  205.219.89.40 rockhead.com        59701513   12160311
ne0   1500  <Link>        00:c0:26:38:80:71     566954     177674
ne0   1500  24.1.4.192/27 c528574-a.stcla1.     566954     177674
lo0   32976 <Link>                            69045444   69045444
lo0   32976 your-net      localhost           69045444   69045444

Paul
platform i386