How to monitor network usage through nload in Linux
Nload is a free software tool for linux. It provides two simple graphics to help linux users and System Administrators monitor network traffic and bandwidth usage in real time. One is incoming traffic, one is outbound traffic.
I really like to use nload to display the current download speed, total inflow volume, and average download speed on the screen. The report graph of the nload tool is very easy to understand. The most important thing is that the information is really useful.
As mentioned in its user manual, it monitors all network devices by default. However, you can easily specify the device you want to monitor and switch between different network devices by using the arrow keys. There are also many options available. For example, the '-t' option sets the time interval for refreshing the display in milliseconds (the default time interval is 500 milliseconds ), the '-m' option is used to display multiple devices at the same time (the traffic diagram is not displayed when this option is used), and The'-U' option is used to set the Unit for displaying traffic numbers, there are also many other options to explore and practice in this tutorial.
How to install nload on your linux machine
Ubuntu and Fedora can be easily installed from the default software repository.
Run the following command on Ubuntu to install the SDK.
sudo apt-get install nload
Run the following command on Fedora to install Fedora.
sudo yum install nload
What Should CentOS users do? You only need to enter the following command on your machine to install it successfully.
sudo yum install nload
The following command will help you install nload In the OpenBSD system.
sudo pkg_add -i nload
Another very effective way to install software on linux machines is to compile the source code. Downloading and installing the latest version means better performance, cool features, and fewer bugs.
How to install nload through source code
Before installing nload from the source code, you must first download the source code. I usually use the wget tool for download-this tool is available on many linux machines by default. This free tool helps users download files from the network in non-interactive mode and supports the following protocols:
Run the following command to enter the/tmp directory.
cd /tmp
Then enter the following command in your terminal to download the latest nload to your linux machine.
wget http://www.roland-riegel.de/nload/nload-0.7.4.tar.gz
If you do not like wget, you can easily download the source code from the official website with a simple mouse.
Because the software is very lightweight, its download process will be completed almost instantly. The next step is to decompress the downloaded source code package using the tar tool.
The tar archive tool can be used to store or decompress files from tape or hard disk files. This tool has many options available, but we only need the following options to perform our operations.
- -X Extract files from the archive
- -V uses tedious mode for running-used to display details
- -F is used to specify an archive object.
For example, (the "-" before the parameter of the LCTT: tar command can be omitted ):
tar xvf example.tar
Now you have learned how to use the tartool, so I can tell you how to extract this. Tar document from the script line.
tar xvf nload-0.7.4.tar.gz
Then run the cd command to enter the nload * directory:
cd nload*
It looks like this on my system:
oltjano@baby:/tmp/nload-0.7.4$
Run the following command to configure the software package for your system:
./configure
At this time, there will be a "big wave of botnets" that will be displayed on your screen, and the following screen will describe it.
After the preceding command is complete, use the following command to compile nload.
make
Now, you can run the following command to install nload on your machine.
sudo make install
After nload is installed, it is time for you to learn how to use it.
For more details, please continue to read the highlights on the next page: