Iftop Explained

iftop
Developer:Paul Warren
Released:[1]
Latest Release Version:0.17
Operating System:Unix-like
Programming Language:C
Genre:Bandwidth usage / System monitor
License:GNU General Public License
Repo:https://code.blinkace.com/pdw/iftop

Iftop is a free software command-line system monitor tool developed by Paul Warren. It produces a real-time stream of incoming and outgoing network communications from the operating system iftop is running within.[2] By default, the connections are ordered by bandwidth usage, with only the largest ("top") bandwidth consumers shown. It is analogous to top, but instead of system-wide resource monitoring, it focuses on displaying just network usage. Iftop is typically used for monitoring bandwidth consumption, and while investigating unknown consumers of available network bandwidth.

Description

iftop are passive monitoring tool. This program monitors network traffic and displays a table of current bandwidth usage, bandwidth measured in bits per second at default, and may be changed to bytes per seconds with the command line option.[3]

An interface may be specified' if not, it will listen on the first interface it finds that appears to be external.

By default, iftop will look up hostnames associated with addresses and counts all IP packets that pass through the filter.

A feature of iftop is that it can suppress display of DNS traffic by using a filter code such as "not port domain", or switch it off entirely, by using the -n option or by pressing "n" when the program is running. Using the -F option makes it possible to show packets entering and leaving a given network.

iftop may be used for inspecting TCP or UDP ports also, using the option -P.

See also

Notes and References

  1. Web site: Change Log for Iftop . GitLab Community Edition . February 26, 2024.
  2. Theocharides . Antonis . Antoniades . Demetres . Polychronakis . Michalis . Athanasopoulos . Elias . Markatos . Evangelos P. . Topnet: A Network-Aware . Proceedings of the 22nd Large Installation System Administration Conference . November 9–14, 2008 . 145–157 . USENIX Association . San Diego, CA . February 26, 2024.
  3. Web site: A Linux Admin‘s Guide to Mastering the Iftop Network Bandwidth Monitor . 2023-12-27 . 2024-03-07 . The Linux Code . https://web.archive.org/web/20231227135230/https://thelinuxcode.com/iftop-command-linux-examples/ . 2023-12-27.