In this section, we will have a look at some tools and utilities that help Ubuntu Server administrators to manage their systems in the best way needs so that systems usability is boosted to its maximum.
NetHogs is a network monitoring tool that helps you identify the program that consumes your bandwidth. It is a kind of top
command, but it's for network. This tool is very useful when you are troubleshooting network issues such as what is hogging the Internet connection?.
To launch nethogs
, you need to do it with root privileges by using sudo
command, because it relies on libpcap
to sniff the network, like most network monitoring tools.
The installation of nethogs
is simple, you just need to run the following command:
sudo apt-get install nethogs
After the installation, you can start using it via the following command:
sudo nethogs network_interface_card (by default without using the NIC it will use eth0), for example: sudo nethogs...