Per-Process Bandwidth With bandwhich

Watch which apps and remote hosts are consuming network traffic.

macOSProcessesnetworkmonitoringbandwidthMedium risk
Run sudo bandwhich to see live bandwidth grouped by process and connection.

01Command

Command
$ sudo bandwhich

02What 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

RiskMedium risk
CompatibilitymacOS with Homebrew installed
!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: bandwhich
    Homebrew · vendor-doc · 2026-09-20
    Evidence: Terminal bandwidth utilization tool. Packages bandwhich, a terminal bandwidth utilization tool that maps traffic to processes.

Last verified: 2026-09-22 · Category: Network