How to monitor network card Traffic Using Nload in Centos
Nload is a very useful traffic monitoring tool with powerful functions. It can monitor network card Traffic in real time, including Incoming and Outgoing, that is, inbound and outbound traffic. At the same time, the current average, minimum, maximum, and total traffic values are counted to make it clear.
First install the Nload software. Here I use the source package for installation. Currently, the latest version of Nload is 0.7.4.
wget http://www.roland-riegel.de/nload/nload-0.7.4.tar.gz tar xvfz nload-0.7.4.tar.gz cd nload-0.7.4 ./configure –prefix=/usr/local/nload make && make install
After the installation is successful, run the following command:
/usr/local/nload/bin/nload
You can see the real-time traffic status.
The first line is the name and IP address of the NIC by default. You can use the left and right keys on the keyboard to switch the NIC. By default, Incoming indicates the Incoming traffic to the network card. By default, Outgoing indicates the Outgoing traffic from the network card. The default value is right (current traffic of Curr), Avg average traffic, and Min Minimum traffic), (Max maximum traffic), (Ttl traffic statistics );
There are also many parameters that can be used. view the parameter help command:/usr/local/nload/bin/nload-help
Example:
/usr/local/nload/bin/nload eth0
View eth0 traffic