Packets v.s. Bytes

David Miao davmiao at gmail.com
Mon Mar 13 09:15:28 UTC 2006


Dear list,

`netstat -i' returns _packets_, how can I get statistics using _bytes_?

Any suggestions or hints? Thanks!

Regards,
David


dm% netstat -i
Name    Mtu Network       Address              Ipkts Ierrs    Opkts Oerrs  Coll
fxp0   1500 <Link#1>      00:06:5b:3c:cb:01  3881033     0  2848419     0     0
fxp0   1500 fe80:1::206:5 fe80:1::206:5bff:        0     -        3     -     -
fxp0   1500 10.128/22     10.128.3.126       3119189     -  2842189     -     -
fxp1*  1500 <Link#2>      00:06:5b:3c:cb:02        0     0        0     0     0
lo0   16384 <Link#3>                             627     0      627     0     0
lo0   16384 localhost     ::1                      0     -        0     -     -
lo0   16384 fe80:3::1     fe80:3::1                0     -        0     -     -
lo0   16384 your-net      localhost              627     -      627     -     -


More information about the freebsd-questions mailing list