Nethogs is a Linux tool that provides real-time network traffic usage by process. It shows bandwidth usage on a per-process basis in an easy to understand format.
Nethogs is a free and open source software application for Linux that monitors network traffic usage in real-time and displays bandwidth usage per process. It enables users to see which processes on a system are using the most network bandwidth.
Some key features of Nethogs include:
Nethogs works by leveraging the netfilter framework in the Linux kernel to capture information about network packets going in and out of the system. This allows it to break down total bandwidth usage by the process associated with each connection.
The simple text-based output of Nethogs makes it well-suited for troubleshooting scenarios where you need to quickly diagnose which process is saturating your network. For example, if you suddenly see high network utilization, you can open Nethogs and immediately see if the traffic is being caused by your web browser, a sync process, etc. without having to dig further or use multiple diagnostics utilities.
Here are some alternatives to Nethogs:
Suggest an alternative ❐