Steps to Install Nethogs Networking Monitoring Tool on Ubuntu 20.04 LTS

Nethogs is a free & open source networking monitoring tool. It is command line utility. It is used for monitoring the network & network interfaces. We can monitor all network traffic in real time.

There are some steps to install Nethogs on ubuntu:

Step 1: Update the System.

apt-get update

Step 2: Install the Nethogs on system.

apt install nethogs

  • Check the Nethogs version.

nethogs -V

  • Here is the command output.

Step 3: Nethogs syntax & Examples.

  • To monitor the network.

nethogs

  • Here is the command output.

  • To monitor the network traffic of all the network interface on system.

nethogs -a

  • Here is the command output.

  • To monitor the network & every 5 seconds the monitoring should be refreshed.

nethogs -d 5

  • To monitor any specific network interface.

nethogs  network_interface_name
nethogs  eth0
nethogs -d 5 eth0

  • To monitor multiple network interfaces.

nethogs -d network-interface1 network-interface2

 

Leave a Reply