Linux – Monitor network traffic volume over interface

iplinuxmonitoringnetworkingunix

Is there a way to monitor the traffic (e.g., get a live view of the utilization) over a particular network interface, say eth0?

The catch here is that the set of tools on the box is fixed, and is pretty much a stock RHEL deployment, so add-on tools can't be used.

Looking for something basic and usually present like iostat here.

Best Answer

The data you want to see shows up in good old ifconfig.

watch ifconfig eth0

or to make things stand out better:

watch -n 1 -d ifconfig eth0