Real time monitor linux network and bandwidth using Iftop

Real time monitor linux network and bandwidth using Iftop

Sometimes we need to monitor bandwidth and analyst network usage on server.

There are many tools to do this. The simplest and fast tools is only using command line on Linux.

Iftop is one of simplest tool but power full to monitoring your server bandwidth usage.

You can see highest request, transfer and receive bandwidth in real time.

It’s just like top, htop or iostat.

How to install Iftop

Install Epel repository, update and install required dependencies

How to use Iftop

Basic usage of Iftop, just run command iftop, this will monitoring all interfaces, will do hostname look up, so IP address will converted to hostname.

If you want to turn off hostname lookup use this command:

Iftop Network Monitoring Without Hostname Lookup
Iftop Network Monitoring Without Hostname Lookup

To monitor on specific interface, use option -i. Use command ifconfig to see you network interfaces.

Leave a Reply

Your email address will not be published. Required fields are marked *