iftop

This is an old revision of the document!


iftop

Oct 2019


Iftop measures the data flowing through individual socket connections, and it works in a manner that is different from Nload. Iftop uses the pcap library to capture the packets moving in and out of the network adapter, and then sums up the size and count to find the total bandwidth under use.

Although iftop reports the bandwidth used by individual connections, it cannot report the process name/id involved in the particular socket connection. But being based on the pcap library, iftop is able to filter the traffic and report bandwidth usage over selected host connections as specified by the filter.

Install iftop on CentOS/RHEL/Red Hat/Fedora Linux

  yum install iftop -y


Using iftop

From the command line, simply enter:

  iftop -n


iftop.1570692121.txt.gz · Last modified: 2023/03/09 22:35 (external edit)