Jump to content

iftop

From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by 141.156.146.43 (talk) at 14:43, 8 September 2022. The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

iftop
Developer(s)Paul Warren
Initial releaseMarch 2, 2002; 22 years ago (2002-03-02)[1]
Stable release
0.17
Repositoryhttps://code.blinkace.com/pdw/iftop
Written inC
Operating systemUnix-like
TypeBandwidth usage / System monitor
LicenseGNU General Public License
Websitewww.ex-parrot.com/pdw/iftop/

Iftop is a free software command-line system monitor tool that produces a frequently updated list of network connections.[2] By default, the connections are ordered by bandwidth usage, with only the "top" bandwidth consumers shown. It is analogous to top, but instead of system-wide resource monitoring, it focuses on displaying network usage and statistics.

Description

iftop monitors network traffic and displays a table of current bandwidth usage. An interface may be specified or, if not, it will listen on the first interface it finds which looks like an external interface (with libpcap and libncurses). iftop must be run with sufficient permissions to monitor all network traffic: on most systems this means that it must be run as a root user using the sudo command.[citation needed]

By default, iftop will look up hostnames associated with addresses and counts all IP packets that pass through the filter. Hostname look-up can add substantial traffic, in and of itself[citation needed], and may result in an inaccurate display of network traffic.

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.

See also

References

  1. ^ https://code.blinkace.com/pdw/iftop/raw/master/ChangeLog [bare URL plain text file]
  2. ^ "Topnet: A Network-Aware top(1)".