Description
bandwhich is a command-line tool that shows current network usage by process, by connection and by remote IP or hostname. It sniffs a network interface, records the size of IP packets, and matches them to processes using the /proc filesystem on Linux, lsof on macOS, or the Windows API on Windows. It resizes to fit the terminal and shows less information when the window is small, and it tries to resolve remote addresses to host names in the background using reverse DNS, on a best-effort basis. It has prebuilt binaries for Linux on x64 and 64-bit ARM, for Apple silicon and Intel Macs, for Windows x64, and for Android as a pure binary, with some older ARM targets supported on a best-effort basis. Building from source uses Rust, and the README covers cross-compiling with cross. On Linux, the post-install steps set capabilities with setcap or run the tool with sudo, because sniffing packets needs elevated rights, and Windows has its own post-install notes. The project is in passive maintenance: critical issues are addressed, no new features are being worked on, and the author invites long-term co-maintainers.…
Highlights
- Bandwidth use by process and connection
- Remote IP and host name resolution
- Linux, macOS, Windows and Android binaries
- Adapts to terminal size
- Rust source for building yourself
Ratings & Reviews
No ratings yet
Be the first to rate Bandwhich.
People also visit
Bandwhich FAQ
What does bandwhich show?
Current network usage by process, by connection and by remote IP or hostname, in the terminal.
How does it match traffic to processes?
Through /proc on Linux, lsof on macOS, and the Windows API on Windows, as the README describes.
Does it need special permissions?
On Linux, the post-install steps use setcap or sudo, because packet sniffing needs elevated rights.
How do I install it?
Download a prebuilt binary from the releases, or build from source with Rust.
Is it still being developed?
The README says it is in passive maintenance: critical issues are addressed, but no new features are being built.
Can I help maintain it?
Yes. The author invites people who can contribute long term to apply for co-maintainership.
What are the best Bandwhich alternatives?
Popular alternatives to Bandwhich include Perimetery PRO, Network Monitor and Snitch. See all Bandwhich alternatives



