Installing IFTOP below RedHat7.2, monitoring system network card real-time traffic

zhaozj2021-02-16  103

Installation iftop, LAN monitoring system in real-time traffic below redhat7.2 Date: 2004/07/30 Author: zcatlinux Source: zclinux

In Cu, I found an article that can monitor the NIC. I was very excited. I found the installation package iftop-0.16, under RedHat9.0, soon installed successfully, it is excited.

Because the faculty server needs to know the real-time traffic of the NIC, now solve it!

But when I put this package below the Redhat Linux7.2 version, I immediately prompted to fail, lack the supported library file, and later doubled, the following is the installation step:

Installing IFTOP below Linux7.2

1, first download the installation package: iftop-0.16.tar.gz libpcap-0.8.3.tar.gz ncurses-5.2-26.i386.rpm2, install ncurses-5.2-26.i386.rpm first, this is a must package , Because 7.2 cannot support the IFTOP displayed information window. Installation method: rpm -uvh ncurses-5.2-26.i386.2-26.i386.26.26.38.3.tar.gz, this just needs to unwind the package, directly installed: TAR ZXVF LIBPCAP-0.8.3.Tar.gz CD libpcap-0.8.3 ./configure make make installd4, finally installed IFTOP, method is: TAR ZXVF IFTOP-0.16.TAR.GZ CD IFTOP-0.16 ./configure make

At this time, OK has been installed. In the IFTOP-O.16 directory, you have generated an IFTOP execution script, directly execute it, you can see the traffic information of the NIC.

Method 1: ./ iftop ## View the default network card information

Method 2: ./ iftop -i eth1 ## View multi-network card system, you can point to the network card name

Method 3: ./ iftop -i eth1 -f 10.10.10.0/24 ## View traffic information of IP of 10.10.10.0/24 network segment on NIC Eth1

The above Zcatlinux contributes a little thinner, welcome everyone to recommend!

转载请注明原文地址:https://www.9cbs.com/read-10996.html

New Post(0)