How to install nload to monitor real time network traffic

How to Install nload to Monitor Real Time Network Traffic

Nload is a command-line based real-time network traffic and bandwidth usage monitor. It displays the amount of incoming and outgoing traffic in terms of the current, average, minimum, and maximum values. It also displays the total data transferred over the network since the last reboot.

In this post, we will install nload to monitor real-time network traffic on Ubuntu OS. We will cover:

  • Installing nload using apt
  • Installing nload using source code

Note: We have demonstrated both installation methods on Ubuntu 20.04 LTS.

Installing nload using apt

Nload is available in the Ubuntu repositories. In this procedure, we will install nload using the apt package manager.

Sponsored

1. Update package repositories in your system using the command below:

$ sudo apt update

Provide sudo password.

2. Then to install nload, use the command below:

$ sudo apt install nload

After that, it will start installing nload on your system.

How to install nload to monitor real time network traffic 1

Once installed, you are ready to use nload on your system.

Installing nload using source code

The source code of nload is also available for installation. In this procedure, we will install nload using the source code.

1. Download nload source code using the command below:

$ wget http://www.roland-riegel.de/nload/nload-0.7.4.tar.gz

How to install nload to monitor real time network traffic 2

2. The downloaded file will be in tar.gz format. You can extract it using the command below:

$ tar xvf nload-0.7.4.tar.gz

The archive will be extracted to nload-0.7.4 directory.

3. Now navigate to the extracted directory using the command below:

$ cd nload-0.7.4/

4. Once you are inside the nload-0.7.4 directory, run the configure script using the command below:

See also  MOTL: Minis Forum N33 NUC
Sponsored
$ ./configure

5. Then run the commands below to compile and install the nload package:

$ sudo make
$ sudo make install

How to install nload to monitor real time network traffic 3

Now nload will be installed on our system.

Launch nload

To launch nload in your Ubuntu system, use the command below in Terminal:

$ nload

This will display the real-time statistics of network devices. The left and right arrow keys or Tab/ Enter keys can be used to switch between network devices.

How to install nload to monitor real time network traffic 4

To display network statistics of all the devices at the same time, use the -m option as follows:

$ nload -m

This will display all the available network interfaces statistics on the Terminal window.

How to install nload to monitor real time network traffic 5

To view help regarding the usage of nload tool, you can use the command below:

$ nload -h

How to install nload to monitor real time network traffic 6

Uninstall nload

In case you need to uninstall nload from your system, use the methods described below:

If you have installed nload using the apt utility, use the command below to uninstall it:

$ sudo apt remove nload

If you have installed nload using the source code, use the commands below to uninstall it:

$ cd nload-0.7.4/
$ sudo make uninstall

Using either of the methods described above, you can easily install nload on your Ubuntu system. We have also shown here the method to uninstall nload in case you need to remove it.

Karim buzdar

Karim Buzdar holds a degree in telecommunication engineering and holds several sysadmin certifications including CCNA RS, SCP, and ACE. As an IT engineer and technical author, he writes for various websites.

Leave a Comment

Only people in my network can comment.