Performance

bandwhich – terminal bandwidth monitoring by process

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

Available options

bandwhich is written in Rust. Learn Rust with our recommended free books and free tutorials.


Related Software

Network 'top' Tools
NetHogsGroups bandwidth by process
bandwhichShows network bandwidth usage by process and connection
NetWatchInteractive terminal monitor for traffic, connections and packets
IPTraf-ngFork of IPTraf
RustNetReal-time terminal monitor for connections and process traffic
vnStatLightweight monitor for long-term network traffic statistics
netshowProcess-aware terminal monitor for active network connections
iftopDisplays bandwidth usage on an interface by host
socktopRemote system monitor with a rich TUI
FlowReal-time terminal dashboard for upload and download speeds
bmonInteractive bandwidth monitor with live interface statistics
rdmatopTerminal monitor for RDMA traffic, devices and processes
ntapTerminal tool for live network monitoring and packet capture

Read our verdict in the software roundup.


Best Free and Open Source Software 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.
Subscribe

Please read our Comment Policy before commenting.

Notify of
guest
0 Comments
Oldest
Newest Most Voted