NetHogs is a Linux command-line tool that is used to monitor the network bandwidth consumed by each process or application in real-time. It is an open-source tool that can be used with almost all the available Linux distribution.
Here at LinuxAPT, as part of our Server Management Services, we regularly help our Customers to perform related Linux system network monitoring queries.
In this context, we shall look into the procedure of installing and using the NetHogs utility on a Linux Mint 20 system.
Steps to Install NetHogs on Linux Mint 20 ?
To install the NetHogs network bandwidth monitoring utility on a Linux Mint 20 machine, the following steps are to be performed on the target system.
1. Perform System Update
To begin, you need to ensure that you have an updated Linux Mint 20 system. For that, it is strongly recommended to run the below "update' command:
$ sudo apt update
2. Install NetHogs on your Updated System:
On an updated Linux Mint 20 system, you can install the NetHogs utility simply by executing the following command:
$ sudo apt-get install nethogs
3. Verify NetHogs Installation
Once you have managed to install the NetHogs utility on your system, you can check its version by running the below command:
$ nethogs –V
This command will display the exact version of NetHogs utility installed on your Linux Mint 20 system.
How to Find out the Options Available for using the NetHogs Utility ?
Now, when we have the NetHogs utility installed on our system, we can check out the different options that we can use with this utility by accessing its help manual with the below command:
$ nethogs --help
How to Run the NetHogs Utility on your System ?
Here, for running NetHogs utility on your Linux Mint 20 system solely for querying the network bandwidth usage, you can execute the below command:
$ sudo nethogs
How to Uninstall NetHogs from Linux Mint 20 ?
The NetHogs network bandwidth monitoring tool can be removed from your Linux Mint 20 system by executing the below command:
$ sudo apt-get purge --autoremove nethogs
[Need assistance in fixing Linux system issues? We can help you. ]