Measure Network Traffic Linux Through Terminal

Many places that provide free wifi, but most of you don't know that free wifi service provider uses the tools for monitoring bandwidth from what you guys are doing on the internet. This time I will give way for monitoring bandwidth but does not use the tools, but rather through the terminal in linux. Here are 5 ways monitoring bandwidth via the linux terminal this is the result of research. Let's look at the Bandwidth Monitoring 5 ways via the Linux Terminal.


Nload is one of the features using the command line. Nload, allows users with can see network or incoming and outgoing bandwidth. For the Ubuntu distro is available directly on the repository. For distro CentOS you must add the repository of Epel. 

$ apt-get install nload (Debian/Ubuntu)
$ yum install nload -y (CentOS)

In contrast to Nload, Iftop measuring data flowing through each device connection. Iftop also uses this pcap library to capture packets that move in and out on the network adapter, add up the size and calculate the total bandwidth used. For distro CentOS you must add the repository of Epel. 

$ apt-get install iftop (Debian/Ubuntu)
$ yum install iftop -y (CentOS)

IPtraf is an interactive monitoring LAN. Seen from the individual and its connections allow data to flow between the hosts. IPtraf also has a lot more experience than the options the way bandwidth monitoring via other linux terminal.

$ apt-get install iptraf iptraf-ng (Debian/Ubuntu)
$ yum install iptraf-ng (CentOS)

Nethogs is a small version of "top of the net", a tool that shows the bandwidth used per individual. How to work with report Nethogs PID, User, and the location of the program. For distro CentOS you must add the repository of Epel.

$ apt-get install nethogs (Debian/Ubuntu)
$ yum install nethogs -y (CentOS)

BMon (Bandwidth Monitoring) is not much different with Nload featuring grooves of all network interfaces on system. His output is shaped graphs and charts with details of the package-level bandwidth. For CentOS distro should require setting repository forge.

$ apt-get install bmon (Debian/Ubuntu)
$ yum install bmon (CentOS)

That's 5 ways Monitoring Bandwidth via Terminal Linux I can provide, come back to you to choose in accordance with their needs, all the ways bandwidth monitoring via the linux terminal that I give above of course have the advantages and disadvantages of each.

Click here for Comments