NetHogs
github.com
- Free plan
- macOS
- Linux
What NetHogs is
NetHogs is a free, text-based network monitor that groups bandwidth by process instead of protocol or subnet. It can show the PID associated with a sudden rise in traffic, helping identify programs using bandwidth unexpectedly. NetHogs does not require a special kernel module. Most capabilities are available on Linux because the tool relies heavily on /proc; on Mac OS X and FreeBSD it can show connections but not the processes behind them. Its interface depends on ncurses, and user-level packet capture depends on libpcap. The project describes NetHogs as mature software included in most Linux distributions, with Arch Linux instructions using pacman. Users can clone the repository or download a source release from GitHub Releases. Running without root requires cap_net_admin and cap_net_raw, while process names also need cap_dac_read_search and cap_sys_ptrace. Unmatched traffic appears in an “unknown TCP” bucket. The codebase can build libnethogs, described as experimental and potentially incompatible across source and binary versions.
Who it suits
NetHogs suits Linux users who need process-level visibility into network bandwidth. Mac OS X and FreeBSD users can view connections, but not the processes responsible.
Good to know, and what to watch
- Groups bandwidth by process
- Shows PID for traffic spikes
- No special kernel module required
- Included in most Linux distributions
- Available under GPLv2 or later
- Most features are Linux-only
- Mac OS X and FreeBSD lack process display
- Non-root use requires capabilities
- libnethogs may break compatibility
Plans
Every plan and priceNetHogs
Free plan
The verdict
NetHogs is a focused command-line monitor for linking network activity to processes, especially on Linux. Its platform differences and permission requirements matter when planning deployments outside a privileged Linux environment.
What the maker publishes
- Downloads
- The project says users can clone the repository or obtain a source release from GitHub Releases. source
- Integration
- The project says libnethogs is used by the separate gnethogs project. source
- Interface
- The text-based interface depends on ncurses, and user-level packet capture depends on libpcap. source
- Kernel requirements
- NetHogs does not rely on a special kernel module being loaded. source
- Library
- The codebase can also build libnethogs, which the project describes as highly experimental and warns may break source and binary compatibility. source
- License
- NetHogs may be redistributed under the terms of GPLv2 or any later version. source
- Linux distribution availability
- The project describes NetHogs as mature software included in most Linux distributions and gives Arch Linux installation instructions using pacman. source
- Permissions
- Running as a non-root user requires cap_net_admin and cap_net_raw; displaying process names also requires cap_dac_read_search and cap_sys_ptrace. source
- Platform limits
- Most features are available only on Linux because NetHogs relies heavily on /proc; on Mac OS X and FreeBSD it can show connections but not processes. source
- Purpose
- NetHogs is a small “net top” tool that groups network bandwidth by process instead of by protocol or subnet. source
- Support
- The installation instructions invite users with problems to contact [email protected]. source
- Troubleshooting
- It can show which PID is causing a sudden increase in network traffic, helping identify programs using bandwidth unexpectedly. source
- Unattributed traffic
- The “unknown TCP” bucket contains traffic that cannot be associated with a process, for example when the process ended before its traffic could be counted. source
Checked against the maker's pages on 7 Oct 2026.