• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 303
  • Last Modified:

Total throughput of an interface

I am wondering what command I should use to find out how much data has been sent/received through a particular interface (eth0 in this case) I'm sure its a really simple command, but I'm stumped.

Many thanks
0
Tom_Clark
Asked:
Tom_Clark
1 Solution
 
kiffneyCommented:
cat /proc/net/dev.  The second column has a count of received bytes, and transmitted byte count is over to the right.  on an 80 character wide terminal screen it looks messed up but if you widen the screen it will appear OK.
0
 
Tom_ClarkAuthor Commented:
You answered me correctly too - So you deserve the points aswell
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now