Insight: Linux Bandwidth Monitoring Tools To Analyze Network Usage
Without any explanations, let’s jump into the best bandwidth monitoring tools to analyze network usages in Linux operating systems.
Linux Bandwidth Monitoring Tools To Analyze Network Usage
iftop is a free command-line tool and one of the popular Linux bandwidth monitoring tools to monitor network connection in Linux. You need to have libpcap and libncurses installed to use iftop in Linux.
Run the following command in respective operating system to install libpcap and libncurses:
sudo apt install libpcap0.8 libpcap0.8-dev libncurses5 libncurses5-dev
For Centos/ RedHat:
yum -y install libpcap libpcap-devel ncurses ncurses-devel
dnf -y install libpcap libpcap-devel ncurses ncurses-devel
Now, Install iftop in Linux:
sudo apt install iftop
yum install epel-release yum install iftop
dnf install iftop
vnStat is an another command line network utility tool to monitor network activities like it keeps a log of hourly, daily and monthly network traffic for the selected interface.
Install vnStat in Linux:
yum install epel-release yum install vnstat
apt install vnstat
Nethogs is a text line command tool to look over a real time statistics of network bandwidth of per process usage.
Install NetHogs in Linux:
yum install epel-release yum install nethogs
apt install nethogs
nload is a console based application to monitors network traffic and bandwidth usage in real time.
Install nload in Linux:
yum install epel-release yum install nload
apt install nload
Darkstat is a cross-platform, lightweight, simple, real-time network statistics tool that captures network traffic, calculates statistics about usage, and serves reports over HTTP. It can be called as a web based network analyzer.
Install Darkstat in Linux:
yum install epel-release yum install darkstat
apt install darkstat
bmon is a bandwidth monitor and rate estimator tool for Linux.
Install bmon in Linux:
yum install epel-release yum install bmon
apt install bmon
Color bandwidth monitor or CBM is a simple to analyze networks. It displays the networks movement/statistics in a colored output.
Install CBM in Linux:
yum install epel-release yum install cbm
apt install cbm
IPTraf is a network monitoring utility for IP networks which intercepts packets on the network and gives out various pieces of information about the current IP traffic over it. It is a software-only, ncurses-based and utilizes the built-in raw packet capture interface of the Linux kernel.
Install IPTraf in Linux:
yum install epel-release yum install iptraf
apt install iptraf
Netperf is a tool to test network bandwidth between two hosts on a network.
Installation tutorial for Netperf is here
Monitorix is a free, open source, lightweight system monitoring tool designed to monitor as it periodically collects system data and uses the web interface to show the information as graphs.
Install Monitorix in Linux
yum install epel-release yum install monitorix
apt install monitorix
Zabbix is an open-source monitoring software tool which provides monitoring metrics, among others network utilization, CPU load and disk space consumption.
Zabbix installation guide can be found here.
Cacti is an open-source, network graphing solution. It is also a web-based network monitoring and graphing tool.
For Cacti installation, Please visit this link.