Centos compilation and installation of the latest iftop port traffic monitoring tool

Source: Internet
Author: User

Centos compilation and installation of the latest iftop port traffic monitoring tool

Iftop can monitor the real-time traffic on the server port. Therefore, you can install iftop on the server by compiling and installing it.

The installation procedure is as follows:

1. Download the source code package iftop-1.0pre4.tar.gz:

# Wgethttp: // www.ex-parrot.com /~ Pdw/iftop/download/iftop-1.0pre4.tar.gz

2. Go to the directory/usr/soft/where the source code package is located and decompress the package:

# Tar-xvf iftop-1.0pre4.tar.gz

3. Go to the decompressed iftop directory:

# Cdiftop-1.0pre4

# Ls // view the directory content

4. Start compilation and installation:

1) install iftop in the/usr/soft/iftop/directory:

[Root @ CentOS iftop-1.0pre4] #./configure -- prefix =/usr/soft/iftop/

2) use # make and # make install to perform subsequent installation.

3) after the installation is complete, you can use the # iftop command (with relevant parameters) to monitor traffic.

Compile and install:

Prerequisites: the compiling and installation environment (development tools: gcc; perl; python; glibc; gtk; make; automake) exists ). 1 package software with tar.gz and tar.bz2, mostly through

#./Configure

# Make

# Make install.

2) some software is direct

# Make;

# Make install.

3) We can use

#./Configure -- help to view the software configuration functions.

4) Most software provides the./configure configuration software. A few do not.

./Configure, just make; make install.

5 ). one of the most important parameters of/configure is -- prefix. With the -- prefix parameter, we can specify the software installation directory. When we don't need this software, just delete the Software Directory.

#./Configure -- prefix =/usr/soft/iftop // specify the installation directory

For compilation and installation:

Other references

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

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.