How to install and use nload on Ubuntu 16.04.

To install and Use nload on Ubuntu 16.04.

Nload is a command-line tool that monitors network traffic and bandwidth usage in real time. Nload, when run, visualizes the incoming and outgoing traffic using two graphs provides additional info like total amount of transferred data and min/max network usage. It is really so simple to install nload and this tutorial covers the ground on the method to install nload on Ubuntu 16.04.

 

Installing nload

You can seamlessly install nload by making use of the following command.

root@linuxhelp:~# apt-get install nload
Reading package lists... Done
Building dependency tree      
Reading state information... Done
.
.
Processing triggers for man-db (2.7.5-1) ...
Setting up nload (0.7.4-1build1) ...

 

Once the nload command is installed, you shall use the following syntaxes to display the current network usage.

nload

nload device

nload options device 1 device2
 

 

You can start nload by making use of the following command and enter the device name to see information related to it.

root@linuxhelp:~# nload
Device ens33 [192.168.7.233] (1/2):
================================================================================
Incoming:                               Outgoing:
Curr: 8.50 kBit/s                       Curr: 0.00 Bit/s
Avg: 5.19 kBit/s                        Avg: 224.00 Bit/s
Min: 1.38 kBit/s                        Min: 0.00 Bit/s
Max: 11.34 kBit/s                       Max: 2.12 kBit/s
Ttl: 89.01 MByte                        Ttl: 1.74 MByte

Device lo [127.0.0.1] (2/2):
================================================================================
Incoming:                               Outgoing:
Curr: 0.00 Bit/s                        Curr: 0.00 Bit/s
Avg: 608.00 Bit/s                       Avg: 608.00 Bit/s
Min: 0.00 Bit/s                         Min: 0.00 Bit/s
Max: 3.70 kBit/s                        Max: 3.70 kBit/s
Ttl: 108.85 kByte                       Ttl: 108.85 kByte

 

You can set the refresh interval by making use of the &ndash t option followed by value in milliseconds, by default, it is 500.

root@linuxhelp:~# nload -t 500

 

 

You can display the multiple devices by making use of the following command.

root@linuxhelp:~# nload &ndash m
Device ens33 [192.168.7.233] (1/2):
============================================================================================================
Incoming:                                             Outgoing:
Curr: 5.00 kBit/s                                     Curr: 1.06 kBit/s
Avg: 4.88 kBit/s                                      Avg: 336.00 Bit/s
Min: 1.85 kBit/s                                      Min: 0.00 Bit/s
Max: 8.7 kBit/s                                      Max: 1.06 kBit/s
Ttl: 92.65 MByte                                      Ttl: 1.90 MByte

Device lo [127.0.0.1] (2/2):
============================================================================================================
Incoming:                                             Outgoing:
Curr: 2.85 kBit/s                                     Curr: 2.85 kBit/s
Avg: 896.00 Bit/s                                     Avg: 896.00 Bit/s
Min: 0.00 Bit/s                                       Min: 0.00 Bit/s
Max: 2.86 kBit/s                                      Max: 2.86 kBit/s
Ttl: 528.73 kByte                                     Ttl: 528.73 kByte

With this, the installation of nload on Ubuntu 16.04. comes to an end.

 

FAQ
Q
How to check the version of the Slurm tool?
A
Following command is used to check the version of the slurm tool
Syntax: "Slurm -V"
Q
What is the command to view classical graph using slurm tool in nload?
A
By this command, you can view the classical graph
Syntax: "slurm &ndash I ens33 &ndash c'
Q
What happens when a node crashes?
A
A node is set DOWN when the slurmd daemon on it stops responding for SlurmdTimeout as defined in slurm.conf.
Q
What are the syntaxes available for it?
A
nload nload device nload options device 1 device2
Q
I want to view status/report after periodic interval? How to do that?
A
nload -t 500 (for every 500 seconds)