Install iftop under redhat7.2 to monitor the real-time traffic of the system Nic

Source: Internet
Author: User

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!

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.