Monitor Network Bandwidth Usage by Process with NetHogs

NetHogs is a free and open source real time command-line network bandwidth and statistics application for Linux. It groups and shows bandwidth by per process. So you can easily view, identify and monitor network heavy programs via PID. In this article we will see how to install and use NetHogs on your Ubuntu system. It is released under GNU General Public License v2.0.

nethogs app

How to install NetHogs on Ubuntu Linux

Open the terminal command-line application. You can open it via the applications menu or via pressing ctrl+alt+t keys together. Then run below command to update your Ubuntu software source list.

sudo apt update

After that run below command to install NetHogs. It will install the latest version of NetHogs on your system.

sudo apt install nethogs

then run NetHogs using this command in terminal.

sudo nethogs

Using the -d, you can add a refresh ratein your output. To set 10 seconds as your refresh rate, then type the command as.

sudo nethogs -d 10

You can also monitor specific device interface (ex:eth0) by using below command.

sudo nethogs eth0

You can activate the tracemode by using below command.

sudo nethogs -t

nethogs trace

For the complete usage details run below command in terminal.

sudo nethogs -h

That’s all.

If you liked this article, please subscribe to our YouTube Channel. You can also stay connected with us on X (Twitter) and Facebook.



Also Read:  How To Convert Text To Speech Using eSpeak NG

Leave a Reply