This article introduced Linux to see the network card traffic six methods, Linux system using Nload, Iftop, Iostat and other tools to view the network card traffic, here we first to explain the next Iptraf method, the need for a friend reference.
The real-time traffic of the NIC can be viewed through the Iptraf command, and the image is very intuitive.
I'm going to look at the network traffic on the test server today.
The code is as follows:
[Root@localhost ~]# iptraf-d eth0
-bash:iptraf:command not found
found that the operation of the maintenance colleagues did not give installation, can only manually install the
First install the required package:
The code is as follows:
Yum-y Install GCC
Yum-y Install glibc
Yum-y Install ncurses
After the installation, we will now start to install Iptraf
The code is as follows:
Yum-y Install Iptraf
After the completion of the search locate Iptraf
The above mentioned is the entire content of this article, I hope you can enjoy.