How to install iftop

iftop is a command line tool that shows a list of active network connections between local host and any remote host, sorted by their bandwidth usage. The list of top-ranking network connections (in terms of bandwith usage) is periodically refreshed in a text-based user interface. Using iftop, you can visually check the bidirectional bandwidth usage of different network connections in real time. In order to install iftop on Linux, follow the instructions below.

To install iftop on RedHat/CentOS (32-bit system):

wget http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.2-2.el5.rf.i386.rpm
rpm -ivh rpmforge-release-0.5.2-2.el5.rf.i386.rpm
yum install iftop


If you would like to build and install the latest version of iftop manually, do the following.

yum -y install ncurses-devel libpcap-devel
cd /usr/local/src/
wget http://www.ex-parrot.com/~pdw/iftop/download/iftop-0.17.tar.gz
tar xvfvz iftop-0.17.tar.gz
cd iftop-0.17
./configure
make
make install

In order to install iftop on Debian/Ubuntu:

sudo apt-get install iftop

Similar Posts:

Leave a Reply

Your email address will not be published. Required fields are marked *