Per-Process Bandwidth With bandwhich
Watch which apps and remote hosts are consuming network traffic.
Run sudo bandwhich to see live bandwidth grouped by process and connection.
01Command
Command
$ sudo bandwhich02What it does
bandwhich captures packets and correlates them with the process holding each socket, so you can tell that an update or sync is saturating the link. It also resolves the remote addresses and shows a per-interface view.
03Risk
!Warning: It needs root or packet-capture capabilities and only sees traffic on the local machine's interfaces.
04Undo
✓No undo needed — this command does not change persistent state.
05Sources
- Homebrew formula: bandwhichEvidence: Terminal bandwidth utilization tool. Packages bandwhich, a terminal bandwidth utilization tool that maps traffic to processes.
Last verified: 2026-09-22 · Category: Network