iftop
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