NetHogs is a terminal-based network monitoring utility that shows which processes are consuming network bandwidth.
Unlike tools that organise traffic by protocol, subnet or communicating host, NetHogs groups network activity according to the processes responsible for it. This makes it particularly useful when a computer is transferring unexpected amounts of data and the offending application is unknown.
The interface resembles the top process monitor, displaying active processes alongside their upload and download rates. Administrators can quickly identify bandwidth-intensive applications without having to analyse individual packets.
NetHogs relies heavily on the Linux /proc filesystem for process attribution. It does not require a special kernel module, although packet capture normally requires elevated privileges.
This is free and open source software.
Key Features
- Displays network upload and download rates for individual processes.
- Associates network traffic with process identifiers and executable names.
- Continuously updates bandwidth measurements in a terminal interface.
- Supports both IPv4 and IPv6 traffic.
- Monitors Ethernet and PPP network interfaces.
- Can monitor multiple network interfaces.
- Displays transfer rates or cumulative traffic totals.
- Supports interactive changes to display units and sorting.
- Trace mode produces a stream of network activity suitable for logging and further processing.
- Offers an optional promiscuous capture mode.
- Uses standard packet capture facilities without requiring a dedicated kernel module.
- Can identify network activity from processes that would otherwise be difficult to associate with individual connections.
- Cross-platform support – runs on Linux and macOS, although process attribution is limited outside Linux.
Website: github.com/raboof/nethogs
Support:
Developer: Arnout Engelen and contributors
License: GNU General Public License v2.0

NetHogs is written in C++. Learn C++ with our recommended free books and free tutorials.
Related Software
| Network 'top' Tools | |
|---|---|
| NetHogs | Groups bandwidth by process |
| bandwhich | Shows network bandwidth usage by process and connection |
| NetWatch | Interactive terminal monitor for traffic, connections and packets |
| IPTraf-ng | Fork of IPTraf |
| RustNet | Real-time terminal monitor for connections and process traffic |
| vnStat | Lightweight monitor for long-term network traffic statistics |
| netshow | Process-aware terminal monitor for active network connections |
| iftop | Displays bandwidth usage on an interface by host |
| socktop | Remote system monitor with a rich TUI |
| Flow | Real-time terminal dashboard for upload and download speeds |
| bmon | Interactive bandwidth monitor with live interface statistics |
| rdmatop | Terminal monitor for RDMA traffic, devices and processes |
| ntap | Terminal tool for live network monitoring and packet capture |
Read our verdict in the software roundup.
LinuxLinks helps you discover the best free and open source software for Linux. Explore our extensive collection of recommended applications, including alternatives to popular proprietary software.We also publish software reviews, Linux tutorials, hardware reviews, free programming books and articles covering the wider open source community. Browse our Linux resources to discover more. Know a useful free and open source Linux application we haven't covered? Suggest a program for inclusion. Has your software been featured on LinuxLinks? Display one of our Featured on LinuxLinks badges on your website or GitHub README. |


Please read our Comment Policy before commenting.