NetHogs - list network traffic grouped by process
April 06, 2021 —
David Leutgeb
Recently I discovered NetHogs, a linux tool, that is really useful for listing traffic usage grouped by process.
Install NetHogsOn Debian and Ubuntu NetHogs is already in the repos, so installation is quite simple.
sudo apt install nethogs
After you have installed NetHogs run (as root) it with:
sudo nethogs
After running NetHogs shows shows a realtime overview of the traffic used by any process. This can be very useful, for example for a security analysis of the system. Or simple to get the program which is using your traffic.