Install iftop under redhat7.2 to monitor the real-time traffic of the system Nic
Date: 2004/07/30 Author: zcatlinux Source: zclinux
In the CU above found an article can monitor the network card, at that time very excited, easily find the installation package iftop-0.16, in redhat9.0 below, soon installed successfully, really excited.
Because the customer server needs to frequently know the real-time traffic of the network card, it is now solved!
However, when I put this package under RedHat Linux7.2 to install it, I immediately indicated that the package failed. The supported library files were missing and I finally got it done. The installation steps are as follows:
Install iftop under linux7.2
1. Download the installation package first:
Iftop-0.16.tar.gz
Libpcap-0.8.3.tar.gz
Ncurses-5.2-26.i386.rpm
2. First install the ncurses-5.2-26.i386.rpm, This is a required package because 7.2 does not support the iftop display information window. Installation Method:
Rpm-Uvh ncurses-5.2-26.i386.rpm
32.16install libpcap-0.8.3.tar.gz. You only need to unpack the package and install it directly:
Tar zxvf libpcap-0.8.3.tar.gz
Cd libpcap-0.8.3
./Configure
Make
Make install
D
4. Install iftop. The method is the same as above:
Tar zxvf iftop-0.16.tar.gz
Cd iftop-0.16
./Configure
Make
At this time has installed OK, In the iftop-o.16 directory has generated an iftop execution script, directly execute it to see the network card traffic information.
Method 1:./iftop # view the default Nic Information
Method 2:./iftop-I eth1 # when viewing multiple network card systems, you can give pointers to the Network Card Name
Method 3:./iftop-I eth1-F 10.10.10.0/24 # view traffic information of ip addresses in the 10.10.10.0/24 network segment on the eth1 network card
The above zcatlinux has contributed a little bit of skill to everyone. You are welcome to give more suggestions!