nethogs is used to monitor network traffic. You can see which processes use the most bandwidth and hogs the network.Installtion on debian:
apt-get install nethogs
You can give the
nethogs a network interface to see what's going on under the hood:nethogs eth0
The output would something like:
PID USER PROGRAM DEV SENT RECEIVED
9023 root python eth0 6.083 175.811 KB/sec
20745 root python eth0 2.449 45.715 KB/sec
11934 www-da.. nginx: worker process eth0 131.580 20.238 KB/sec
25925 root /usr/bin/python eth0 3.674 10.090 KB/sec
When
nethogs is open, you can press r in order to sort based on RECEIVED or press s to sort based on SENT packets. To change the mode that it is shown for KB/sec press m multiple times and see the output.#network #sysadmin #linux #nethogs #nethog #network #eth0
https://askubuntu.com/questions/726601/nethogs-%E2%86%92-creating-socket-failed-while-establishing-local-ip-are-you-root
#nethogs #debian #linux #bug
#nethogs #debian #linux #bug
Ask Ubuntu
Nethogs → creating socket failed while establishing local IP - are you root?
Following update of my Kubuntu, I'm not able to monitor my network consumption using nethogs:
sudo nethogs enp1s0
creating socket failed while establishing local IP - are you root?
Kernel
$ unam...
sudo nethogs enp1s0
creating socket failed while establishing local IP - are you root?
Kernel
$ unam...