The nethogs utility: functions and installation

25.10.2023
00:19

We have already covered such Linux utilities as findmnt and Ncdu, now let's talk about another equally useful utility. nethogs is a Linux command line utility that is used to display information about network processes and their bandwidth utilization.

Functionality of the nethogs program

The main functions of nethogs include:

  1. Displaying a list of active network processes and their bandwidth utilization.
  2. Shows the amount of data sent and received for each process.
  3. Ability to filter output by various criteria such as IP address or port.
  4. Supports interactive mode that allows you to monitor bandwidth utilization in real time.

How to install.

To install nethogs on Ubuntu or other Debian-based distributions, you can use the following command:

sudo apt-get install nethogs

Утилита nethogs

Once installed, you can run nethogs by running the sudo nethogs command in the terminal. The utility will start monitoring bandwidth utilization by network processes and will display relevant information in real time.

Graphical display of speed

GNOME Network stats

Need a graphical display of speed? Use the GNOME Network stats shell extension. In this case, the speed will be displayed directly in the taskbar. Detailed statistics are also available.

15% discount on new VPS
Hurry up to order a server in any location
Choose a VPS

Other articles

22.07.2023
5 278
Knowledge base / Programs
findmnt in Linux
22.07.2023
4 772
Knowledge base / Programs
What the Ncdu program can do
22.07.2023
8 669
Knowledge base / Instructions
How to enable Nginx debugging mode?