Installing the Iftop Port Traffic monitoring tool (compiled installation) under Linux CentOS

Source: Internet
Author: User
Tags server port

Iftop can monitor the real-time traffic on the server port, so install the iftop on the server by compiling the installation below.

The installation steps are as follows:


1, download the source package iftop-1.0pre4.tar.gz:

#wget http://www.ex-parrot.com/~pdw/iftop/download/iftop-1.0pre4.tar.gz


2, enter the source package directory/usr/soft/, unzip:

#tar-XVF iftop-1.0pre4.tar.gz


3, enter the Iftop directory after decompression:

#cd Iftop-1.0pre4

#ls //View directory Contents

650) this.width=650; "Src=" Http://s3.51cto.com/wyfs02/M00/82/EF/wKiom1dmDxzCDCeEAALeVN0kzrM603.jpg-wh_500x0-wm_3 -wmp_4-s_866402470.jpg "title=" 1.jpg "alt=" Wkiom1dmdxzcdceeaalevn0kzrm603.jpg-wh_50 "/>

4, start the compilation installation:

1) Install the iftop into the/usr/soft/iftop/directory:

[Email protected] iftop-1.0pre4]# /configure--prefix=/usr/soft/iftop/


2) Follow-up installation via #make and #make install.

650) this.width=650; "Src=" Http://s5.51cto.com/wyfs02/M00/82/EE/wKioL1dmD-XAxNbLAAOSfzL_ki0638.jpg-wh_500x0-wm_3 -wmp_4-s_2924580923.jpg "title=" 2.jpg "alt=" Wkiol1dmd-xaxnblaaosfzl_ki0638.jpg-wh_50 "/>

3) The installation is complete, the flow monitoring can be carried out by #iftop command (with relevant parameters).

650) this.width=650; "Src=" Http://s3.51cto.com/wyfs02/M01/82/EF/wKiom1dmEDKhxcFYAAMJZXikjxk093.jpg-wh_500x0-wm_3 -wmp_4-s_1706494690.jpg "title=" 3.jpg "alt=" Wkiom1dmedkhxcfyaamjzxikjxk093.jpg-wh_50 "/>


Compile and install:

Prerequisites: In the presence of a compiled installation environment (development tools: GCC;p erl;python;glibc;gtk;make; automake , etc. ). 1) mostly tar.gz and tar.bz2 packaged software, mostly through

#./configure

#make

Installed #make install.


2) Some software is directly

#make;

Installed #make install.


3) We can pass

#./configure--help to view the features of the configuration software.


4) Most software is provided./configure configuration software functions; Few of them, if they don't, they don't.

./configure, just make;make the install on the line.


5)./configure A more important parameter is--prefix, with the--prefix parameter, we can specify the software installation directory, when we do not need this software, directly delete the software directory is OK.

#./configure--prefix=/usr/soft/iftop //Specify installation directory

About compiling the installation:


Another reference

Http://www.vpser.net/manage/iftop.html


Http://www.jb51.net/os/RedHat/1125.html




Installing the Iftop Port Traffic monitoring tool (compiled installation) under Linux CentOS

Related Article

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.