Use this command:
systat -ifstat 1
It will show something like this:
Interface Traffic Peak Total
lo0 in 0.000 KB/s 0.000 KB/s 7.635 KB
out 0.000 KB/s 0.000 KB/s 7.635 KB
bge0 in 2.090 MB/s 3.439 MB/s 2.263 GB
out 36.603 KB/s 173.008 KB/s 343.683 MB
fxp0 in 2.503 KB/s 2.430 MB/s 1.137 GB
out 99.174 KB/s 509.109 KB/s 2.078 GB

{ 5 comments… read them below or add one }
nice stats… :) searched a lot for this
This is exactly what I was looking for, thanks!!! One question, what is the total? Is it the total since the server was booted or more precisely since the interface has been up?
Super cool … thanks man :)
This helped me immensely when building my FreeBSD based NAS.
Thanks
Thanks
not the one I was trying to remember but gave me what I needed
I thought what I was after was something like nettop …