Open In App

Linux – Network Monitoring Tools

Last Updated : 17 Sep, 2021
Improve
Improve
Like Article
Like
Save
Share
Report

Network monitoring is using a system (hardware or software) that continuously observes your network and the data flows through it, depending on how the monitoring solution actually functions and informs the network administrator. We can keep a check on all the activities of our network easily. While Network management we need network Monitoring.

Network monitoring tools in Linux are:

1) Nethogs:

Do you want to notice which application in your system is eating up your bandwidth, then Nethogs is a good choice. Nethogs helps you find out what bandwidth an PID is taking up as Nethogs groups bandwidth by process instead of breaking the traffic down per protocol or per subnet. . It is a great choice if you want to identify which program in your linux system is taking up more bandwidth.

Nethogs Network Monitoring Tools in Linux

Nethogs Interface on my linux system

So as we can see above screenshot is showing a clear view of the program that is consuming my network bandwidth. So everyone with some little technical knowledge can easily understand from the above screenshot that nethogs display us the details about the process id of the program which is currently using the bandwidth, the name of the program which is consuming this bandwidth, the device that is being monitored, sent data details, received data details and all total.

Note: Always run nethogs as root or else it won’t run. 

2) Nload

nload is a command-line tool that checks traffic of the network and the bandwidth usage in real-time. It analyzes the in- and outgoing traffic using two graphs and provides additional information like the total amount of transferred data and minimum & maximum network usage. 

Nload Network Monitoring Tools in Linux

Network Bandwidth Usage details of  eth0

Use left and right arrow keys or Enter/Tab key to shifting to the next network device

Nload Network Monitoring Tools in Linux

Network Bandwidth Usage details of  wlan0

 Network Usage details

3) slurm:

Slurm is a Command-line network monitoring tool. This tool lets you monitor traffic on your network and display the statistics with an ASCII graph. Three different types of graphs are available on this tool.
 

slurm Network Monitoring Tools in Linux

Different keys for interaction with slurm

Slurm interface

4) iftop:

Interface TOP (IFTOP) can be used to view current bandwidth on a network interface. Using iftop you can find out which host is slowing down your network. You must run iftop as a root user. Your network activity is monitored by iftop to displays a table of current bandwidth for you.

iftop Network Monitoring Tools in Linux

iftop interface with all the help commands

5) collectl :

It is an all-in-one performance monitoring command-line tool that all  Linux system administrators must use. It is not limited to one particular system metrics rather focuses and gathers information on many other system resources like memory, network, sockets, CPU, disk, memory, NFS, processes, etc. collectl can run as a service to monitor remote machines or an entire server.

collectl Network Monitoring Tools in Linux

collectl interface

6) Netstat:

Netstat is one of the famous tools that all Linux(though also used in windows) users heard of or used for once at least. It is used to find out problems in the network and to analyze the traffic on the network. Both incoming and outgoing network connections are monitored. It tells you about the ports that are opened and also whether any program is listening to any ports or not.

Netstat Network Monitoring Tools in Linux

Few of the netstat utility

Netstat output

7) Nagios:

Nagios is one of the most powerful Linux monitoring tools. Complete monitoring of Linux operating systems and distributions is provided by Nagios that includes operating system metrics, service state, process state, file system usage, etc. Attributes like CPU load, Memory usage, Disk usage, Logged in users, and Private Services like HTTP, FTP, SSH are monitored.
 

Nagios Network Monitoring Tools in Linux

Nagios interface

8) EtherApe:

EtherApe displays network activity graphically. It is a packet sniffer/network traffic monitoring tool, It supports Ethernet, FDDI, Token Ring, ISDN, PPP, SLIP, and WLAN devices, and also several encapsulation formats. Traffic may be viewed on one’s own network. You can troubleshoot your network for security purposes.

EtherApe Network Monitoring Tools in Linux

EtherApe

9) tcpflow(one of the best Linux server’s admin tool):

Tcpflow is a TCP/IP Demultiplexer. Tcpflow monitors thousands of connections mainly between 2 hosts. It captures the real data and dumps the data into the file we will specify. Generally speaking, you can check what is being sent to your network if you find some strange problem.
 

tcpflow Network Monitoring Tools in Linux

report being dumped as a file report.xml

10) IPTraf:

IPTraf is a monitoring tool (text-based) to monitor vIp traffic like TCP, UDP, ICMP, non-IP counts, and also Ethernet load information, etc. 

iptraf Network Monitoring Tools in Linux

IPTraf interface

11) Speedometer:

The speedometer displays a graph of current and past network speed. It can also monitor network traffic or speed/progress of any file transfer. It is written in python. If anyone wants to keep an eye on the network interface on a local or remote machine.

Speedometer Network Monitoring Tools in Linux

Speedometer interface


Like Article
Suggest improvement
Previous
Next
Share your thoughts in the comments

Similar Reads