bandwhich is a terminal-based network monitoring application that shows how bandwidth is being consumed by individual processes, connections and remote addresses.
It captures traffic on a selected network interface and associates the observed packets with applications and network endpoints. This provides a useful alternative to monitoring tools that report only aggregate interface bandwidth.
The interface makes it possible to identify which applications are using the network and where they are sending or receiving data.
bandwhich is particularly useful for investigating unexpected downloads, identifying bandwidth-intensive processes and understanding communications between local applications and remote services.
The display adapts to the available terminal dimensions, making it practical for use over SSH and in smaller terminal windows.
The project is in passive maintenance, with development concentrated on critical issues rather than new functionality.
This is free and open source software.
Key Features
- Displays current network bandwidth consumption by process.
- Shows bandwidth usage for individual network connections.
- Reports traffic grouped by remote IP address or hostname.
- Captures network traffic from a selected interface.
- Associates packet activity with local processes using operating system facilities.
- Separate views for processes, connections and remote addresses.
- Attempts reverse DNS resolution for remote network endpoints.
- Can disable hostname resolution when required.
- Supports displaying DNS queries.
- Offers cumulative traffic totals as an alternative to current transfer rates.
- Configurable measurement units using bits or bytes.
- Provides machine-friendly output for further processing.
- Automatically adapts the displayed information to terminal dimensions.
- Provides options for selecting interfaces and restricting displayed information.
- Cross-platform support – runs on Linux, macOS, and Windows.
Website: github.com/imsnif/bandwhich
Support:
Developer: Aram Drevekenin and contributors
License: MIT License

bandwhich is written in Rust. Learn Rust 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.