Linux network traffic Real-time monitoring tools nload installation Use

Source: Internet
Author: User

First, introduce

Linux under the nload is a very useful tool, the function is very strong, but relatively single, can only view the total flow. Can monitor the traffic of the network card in real time, divide incoming,outgoing two parts, namely flow of inflow and outflow

At the same time statistics current, average, smallest, largest, total flow value official website: http://www.roland-riegel.de/nload/index.html

Second, installation and use

1. Installation Configuration

[Root@lookings src]# wget wget http://www.roland-riegel.de/nload/nload-0.7.4.tar.gz//download file
[Root@lookings src]# tar-zxvf nload-0.7.4.tar.gz/Extract Files
[root@lookings src]# CD nload-0.7.4//into the decompression directory
[Root@lookings nload-0.7.4]#./configure//Build Makefile
[Root@lookings nload-0.7.4]# make && make Install//compilation and installation


Install nload on Debian or Ubuntu Linux
Type the Apt-get command:

1.$ sudo apt-get install nload
Installing Nload on the FreeBSD operating system
Install nload through port, type:

1.# cd/usr/ports/net/nload/&& Make install clean
or add a package

1.# Pkg Install Net/nload
Installing Nload on the OpenBSD operating system
Type the following command:

1.$ sudo pkg_add-i nload
Installing nload from source code on a Unix-like operating system
First, get the source code using the wget or Curl command:

1.$ cd/tmp
2.$ wget http://www.roland-riegel.de/nload/nload-0.7.4.tar.gz
Using the tar command to extract the tar package named nload-0.7.4.tar.gz, type:

1.$ Tar xvf nload-0.7.4.tar.gz
Use the CD command to enter the directory where the Nload source code resides:

1.$ CD nload*
Then type./configure Install the package for your operating system:

1.$ Sh./configure
Or

1.$./configure
It takes a little time to run the Configure command. When you are done, compile nload with the make command:

1.$ make
Finally, type the make install command to install the nload application and related files as root:

1.$ sudo make install
Or

1.# make Install

2. Use

Common parameters:

Nload-h can see the use of Help
NLOAD-M//View all network card real-time traffic
Nload eth0//View the traffic of the specified drive network card, now specify the eth0
Nload-u k|m|g//Specify the unit of flow display

If you are prompted with the following questions during installation

Configure:error:ncurses library or development files not found. Ncurses is required for nload.
Make: * * * No targets specified and no makefile found. Stop.
Make: * * * No rule to make target ' install '. Stop.

With Yum install-y Ncurses-devel can be solved

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.