How to measure Internet consumption in command line using Nbwmon on Ubuntu 17.04

How to measure Internet consumption in command line using Nbwmon on Ubuntu 17.04

Nbwmon is a ncurses based bandwidth monitor tool that can be used to get detailed information like, transmitted and received traffic for a network interface. It includes features like supports Ethernet, Wireless and Mobile Internet connections, Display current, average and maximum upload and download speed, Print total traffic received and transmitted, Detect active interface automatically, Support for multiple units. This tutorial covers the configuration procedure of internet consumption in command line using nbwmon on Ubuntu 17.04.

Configuration procedure

Before starting the installation procedure, download the Nbwmon binary package from SourceForge. If your system is 64-bit then you can download it with the following command.

root@linuxhelp:~# wget https://ufpr.dl.sourceforge.net/project/linuxfreedomfor/Linux/nbwmon%20bin/64bit/nbwmon
--2017-08-11 17:12:52--  https://ufpr.dl.sourceforge.net/project/linuxfreedomfor/Linux/nbwmon%20bin/64bit/nbwmon
Resolving ufpr.dl.sourceforge.net (ufpr.dl.sourceforge.net)... 200.236.31.2
Connecting to ufpr.dl.sourceforge.net (ufpr.dl.sourceforge.net)|200.236.31.2|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://downloads.sourceforge.net/project/linuxfreedomfor/Linux/nbwmon%20bin/64bit/nbwmon?download& failedmirror=ufpr.dl.sourceforge.net [following]
--2017-08-11 17:12:56--  https://downloads.sourceforge.net/project/linuxfreedomf
.
.
.
Connecting to excellmedia.dl.sourceforge.net (excellmedia.dl.sourceforge.net)|202.153.32.19|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 18896 (18K) [application/octet-stream]
Saving to: ‘ nbwmon’ 

nbwmon              100%[===================> ]  18.45K  --.-KB/s    in 0s      
2017-08-11 17:12:58 (157 MB/s) - ‘ nbwmon’  saved [18896/18896]

After downloading Nbwmon, copy the downloaded binary file to the /usr/bin/ directory.

root@linuxhelp:~# cp nbwmon /usr/bin/

Next, give executable permission to the created file with the following command.

root@linuxhelp:~# chmod 775 /usr/bin/nbwmon

To monitor the current network interface ens33 and update them every second, run the following command.

root@linuxhelp:~# nbwmon -i ens33 -d 1

The nbwmon application is running successfully in the system.

The installation of nbwmon on Ubuntu 17.04 to manage internet consumption via command line is done successfully.

FAQ
Q
what is the features of nbwmon?
A
rint transmitted and received bandwidth graphs.
Print current, maximum, average and minimum transfer speeds.
Print total traffic received and transmitted.
Scale to full window on startup and resize.
Q
How to Uninstall Nbwmon?
A
If you want to uninstall Nbwmon from your system, simply run the following command:

# sudo rm -rf /usr/bin/nbwmon
Q
What is Nbwmon and what for it is used?
A
Nbwmon is a ncurses based bandwidth monitor tool that can be used to get detailed information like, transmitted and received traffic for a network interface. It includes features like suppo
Q
Give me the Download link for nbwmon?
A
Please refer the link as follow "https://github.com/causes-/nbwmon"
Q
I just wanted to monitor my localhost ethernet interface?
A
To monitor the current network interface ens33 and update them every second, run the following command. "nbwmon -i ens33 -d 1"