How to monitor network usage through nload in Linux

Source: Internet
Author: User

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.

  1. sudo apt-get install nload

Run the following command on Fedora to install Fedora.

  1. sudo yum install nload

What Should CentOS users do? You only need to enter the following command on your machine to install it successfully.

  1. sudo yum install nload

The following command will help you install nload In the OpenBSD system.

  1. 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:

  • HTTP
  • HTTPS
  • FTP

Run the following command to enter the/tmp directory.

  1. cd /tmp

Then enter the following command in your terminal to download the latest nload to your linux machine.

  1. 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.

  1. -X Extract files from the archive
  2. -V uses tedious mode for running-used to display details
  3. -F is used to specify an archive object.

For example, (the "-" before the parameter of the LCTT: tar command can be omitted ):

  1. 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.

  1. tar xvf nload-0.7.4.tar.gz

Then run the cd command to enter the nload * directory:

  1. cd nload*

It looks like this on my system:

  1. oltjano@baby:/tmp/nload-0.7.4$

Run the following command to configure the software package for your system:

  1. ./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.

  1. make

Now, you can run the following command to install nload on your machine.

  1. 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:

  • 1
  • 2
  • Next Page

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.