How to monitor Internet bandwidth usage in elementary OS

If you are using internet connection with limited bandwidth, you might want to check how much is used on your elementary OS PC. One of the best methods I prefer is by using a combination of vnstati and vnstat tools. Both are available in Ubuntu Repositories for free download.


Launch Terminal and enter the following command to install vnstati.

sudo apt-get install vnstati

You will have to enter root password and key in ‘Y’ to install it successfully.

Find out Network Connection Interfaces

Next step is to know the type of network connection adapters on your PC. To find them use the ifconfig command line as follows:

ifconfig | cut -c 1-8 | sort | uniq -u

It will list all the available connections. In my test PC the results are ‘eth0’ and ‘l0’. If you have wireless connection, it would additionally list wlan0 as well.

Export Bandwidth Usage Report

Now you are all set to fetch out the internet usage report. Remember that the report accumulation starts only after the vnstati is installed on your computer. Enter the following command line in the terminal. Don’t forget to replace the interface with your PC adapter type.

vnstati -vs -i eth0 -o ~/bandwidth_statistics.png 


A detailed report will get saved in the Home directory with the file name ‘bandwidth_statistics.png’. Open ‘Files’ and see the ‘Home’ directory.

Internet Bandwidth Usage Statistics
Internet Bandwidth Usage Statistics

Kiran Kumar
Hi there! I'm Kiran Kumar, founder of I'm an avid Linux lover and enjoy hands-on with new promising distros. Currently, I'm using Ubuntu as a daily driver and run several other distros such as Fedora, Solus, Manjaro, Debian, and some new ones on my test PC and virtual machines. I have a day job as an Engineer, and this website is one of my favorite past time activities especially during Winter ;). When I'm not writing for FOSSLinux, I'm seen biking and hiking on scenic trails. Hope you enjoy using this website as much as I do writing for it. Feedback from readers is something that inspires me to do more, and spread Linux love!. If you find a time, drop me an email or feedback from the 'Contact' page. Or simply leave a comment below if you found this article useful. Have a good day!


Please enter your comment!
Please enter your name here




best linux distros beginners
Making the shift to Linux is not as complicated as some people make it out to be. There is a variety of Linux distributions available that cater to the needs of people who are planning on making the jump to Linux from any other operating system.
best linux distros programmers
Linux distros have long been a favorite among programmers since the rise in popularity of the OS in the nineties. Programmers are technical by nature, and Linux distros appeal to that technical nature. Let's discuss why Linux is a great desktop OS for programmers and developers, and find out best distros suitable for them.
essential linux commands
Last week, we shared with you several "cool and fun" commands to get comfortable and confident with the Linux command-line. In our quest to further aid Linux users with mastery of the command line, or CLI, we present you with a variety of command-line utilities essential for all Linux users, regardless of proficiency level.