Linux Bandwidth Monitoring with iftop RHEL / CentOS / Fedora / Debian

0
Want create site? Find Free WordPress Themes and plugins.

IFTOP Pre-requisite

  1. libpcap : module provides a user-level network packet capture information and statistics.
  2. libncurses : is a API programming library that enables programmers to provide text-based interfaces in a terminal.

Install libpcap and libncurses

Installation of the libpcap and libncurses library with YUM command as shown below for error-free iftop installation.

Download and Install IFTOP

Download iftop from it’s website with Wget command as shown below.

Follow the below all commands to install iftop.

Basic usage of Iftop

Once installation done, go to your console and type iftop command.

Sample output of iftop command which shows bandwidth of default interface as shown below.

iftop screenshot

Monitoring Specific Interface

You can give a specific interface to monitor with -i option.

iftop eth0 command Screenshot

Iftop Options and Usage

While running iftop you can use the keys like S, D to see more information like source, destination etc. Please do man iftop if you want to explore more options and tricks. Press ‘q‘ to quit from running windows.


Iftop shows the network usage and bandwidth as ‘top’ command show’s the CPU usage of your computer.

Did you find apk for android? You can find new Free Android Games and apps.