I want to get the current Bandwidth of an interface say “eth0” from the terminal. It better be as simple as possible. Say
up 10 dn 30.
Instead of giving out a lot of text like “vnstat” does.
Edit: I need this for a command line program for auto-monitoring, not to view it manually.
Thank you for visiting the Q&A section on Magenaut. Please note that all the answers may not help you solve the issue immediately. So please treat them as advisements. If you found the post helpful (or not), leave a comment & I’ll get back to you as soon as possible.
There are several tools that can do this.
One that should be in most repositories for various distros is
It can be run in a condensed view too.
If you’re looking for something more basic then you could also give ibmonitor a go. Though basic it has most of the features one would expect when monitoring bandwidth.
You can also use Linux process explorer. It can monitor bandwidth usage per process.