iftop

iftop what's the use?

iftop can be used in real-time traffic monitoring NIC (network segment can be specified)、Reverse lookup IP、Display port information, etc.,Details will be explained later in the parameter。

Installation iftop

Installation 1、Compile and install

If you can compile and install the iftop official website to download the latest source package。

Before installing the need to have installed the required basic compilation environment,For example, make、gcc、autoconf等。Installation iftop also need to install libpcap and libcurses。

On CentOS install the required dependencies:

yum install flex byacc libpcap ncurses ncurses-devel libpcap-devel

On Debian install the required dependencies:

apt-get install flex byacc libpcap0.8 libncurses5

Download iftop

wget http://www.ex-parrot.com/pdw/iftop/download/iftop-0.17.tar.gz

tar zxvf iftop-0.17.tar.gz

cd iftop-0.17

./configure

make && make install

Leave a Comment