Terminal bandwidth utilization tool showing which processes are using network.
bandwhich is a CLI network monitoring utility that provides real-time visualization of network bandwidth usage broken down by process, connection, and remote IP/hostname. It works by sniffing network packets on a specified interface and cross-referencing the data with system process information to show which applications are consuming bandwidth and where they're connecting to.
The tool offers a terminal-based interface that adapts to your window size, displaying detailed network statistics in an organized, easy-to-read format. It can resolve IP addresses to hostnames in the background using reverse DNS, show DNS queries, and provides various filtering options to focus on processes, connections, or remote addresses specifically. bandwhich supports different unit families for displaying data (binary/SI bytes/bits) and can show both real-time and cumulative network usage.
bandwhich is ideal for system administrators, developers, and power users who need to monitor network activity on Linux, macOS, and Windows systems. It's particularly useful for troubleshooting network issues, identifying bandwidth-heavy applications, monitoring server connections, or simply gaining visibility into what network traffic is happening on your system. The tool requires elevated privileges to capture network packets, which can be handled through capabilities on Linux or by running with sudo.
# via Binary Download
Download prebuilt binaries from GitHub releases
# via Cargo
cargo install --git https://github.com/imsnif/bandwhich.git
