iftop is a terminal-based network monitoring utility that displays bandwidth consumption between pairs of hosts.
It works in a similar way to the top process monitor, but concentrates on network traffic rather than CPU and memory usage. The program captures packets on a selected network interface and calculates the amount of data flowing between communicating endpoints.
The display continuously updates as traffic changes. Each connection appears alongside its transfer rates, making it possible to identify busy connections without examining individual packets.
iftop is especially useful when investigating unusual bandwidth consumption, monitoring traffic to particular servers or checking activity on a network interface. It requires sufficient privileges to capture traffic.
This is free and open source software.
Key Features
- Displays current bandwidth usage between communicating hosts.
- Shows separate incoming and outgoing traffic rates.
- Provides traffic averages over multiple sampling intervals.
- Displays cumulative transmitted and received traffic totals.
- Interactive display with a graphical indication of bandwidth consumption.
- Supports both IPv4 and IPv6 traffic.
- Can display source and destination port information.
- Filters traffic by host, network, address and port using packet filter expressions.
- Offers configurable sorting and display options.
- Can disable DNS and service-name resolution.
- Supports monitoring tunnel interfaces and VLAN traffic.
- Provides configurable bandwidth scales and graph presentation.
- Supports promiscuous mode where permitted by the capture interface.
- Configuration file support for persistent preferences.
Website: www.ex-parrot.com/pdw/iftop
Support: Mailing List
Developer: Paul Warren and Chris Lightfoot
License: GNU General Public License v2.0

iftop is written in C. Learn C with our recommended free books and free tutorials.
Related Software
| Network 'top' Tools | |
|---|---|
| NetHogs | Groups bandwidth by process |
| bandwhich | Shows network bandwidth usage by process and connection |
| NetWatch | Interactive terminal monitor for traffic, connections and packets |
| IPTraf-ng | Fork of IPTraf |
| RustNet | Real-time terminal monitor for connections and process traffic |
| vnStat | Lightweight monitor for long-term network traffic statistics |
| netshow | Process-aware terminal monitor for active network connections |
| iftop | Displays bandwidth usage on an interface by host |
| socktop | Remote system monitor with a rich TUI |
| Flow | Real-time terminal dashboard for upload and download speeds |
| bmon | Interactive bandwidth monitor with live interface statistics |
| rdmatop | Terminal monitor for RDMA traffic, devices and processes |
| ntap | Terminal tool for live network monitoring and packet capture |
Read our verdict in the software roundup.
LinuxLinks helps you discover the best free and open source software for Linux. Explore our extensive collection of recommended applications, including alternatives to popular proprietary software.We also publish software reviews, Linux tutorials, hardware reviews, free programming books and articles covering the wider open source community. Browse our Linux resources to discover more. Know a useful free and open source Linux application we haven't covered? Suggest a program for inclusion. Has your software been featured on LinuxLinks? Display one of our Featured on LinuxLinks badges on your website or GitHub README. |


Please read our Comment Policy before commenting.
How does the bar graph work at the top? it bounces all over the place from KB to GB and doesn’t seem to compare with total bandwidth usage.
In fact nload, nethogs, iptraf all suck. Is there no single tool that can just tell us current total network utilization on all interfaces and utilization over a period of time.