The Wayback Machine - https://web.archive.org/web/20240824062810/https://www.geeksforgeeks.org/linux-network-monitoring-tools/
Open In App

Linux – Network Monitoring Tools

Last Updated : 17 Sep, 2021
Comments
Improve
Suggest changes
Like Article
Like
Save
Share
Report
News Follow

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


Previous Article
Next Article

Similar Reads

Linux - Monitoring Network Traffic With nethogs
NetHogs is similar to Linux top command which is an open-source command-line program, that is used for monitoring network traffic in Linux. But do you ever wanted to notice which application in your system is eating up your bandwidth, Then Nethogs is one of the good choices. Nethogs will help you find out what bandwidth an PID is taking up as Netho
2 min read
How to Install and Use vnstat Network Traffic Monitoring Tool in Linux?
VnStat is a network utility that uses a command-line interface designed for Linux. Logs of the selected interface(s) of hourly, daily, and monthly network traffic are kept, although it is not a packet sniffer. The network interface statistics that are provided by the kernel as the information source is used by VnStat, which means vnStat will not ac
2 min read
Linux System Monitoring Commands and Tools
Monitoring the performance and health of a Linux system is essential for maintaining its stability and optimizing resource utilization. Linux provides a variety of commands and tools to facilitate system monitoring, enabling administrators to track key metrics, identify potential issues, and ensure efficient operation. Linux offers a robust set of
5 min read
Netnoob - Network tools, information gathering tools and scanning tools
Netnoob is an automated tool that is developed for Network Recon, Scanning, and Network Auditing. Netnoob tool has the features to Get information about your computer and network, Get information about another computer or a network, Network Settings, and Shared Drives. This tool allows us to change the IP address and MAC Address of our system and a
2 min read
Monitoring Linux Users and Processes in Real Time Using whowatch
Whowatch is a console-based, interactive user and process monitoring tool. Whowatch shows the information about the user's currently logged on the machine, in real-time. It shows the information like login name, tty, host, user's processes of logging user's. whowatch shows all processes of the selected user's in tree format. We can send the singles
2 min read
Sysdig - System Monitoring and Troubleshooting Tool For Linux
Sysdig is an open-source, cross-platform, system exploration/diagnosing and troubleshooting tool for Linux. Sysdig was written in Lua program language. Sysdig also has a simple, intuitive, powerful, and fully customizable curses UI (User Interface) called Csysdig. System state and activity from a running Linux instance are captured and saved, filte
2 min read
How to Install and Use BpyTop Resource Monitoring Tool in Linux?
It's just as critical for terminal users to be able to keep track of their system's resource use. Knowing how much of your system's resources are being used allows you to make more educated decisions about general system maintenance. Top and htop are two choices, but they only show a few device metrics including CPU and memory use. Bpytop is a term
2 min read
pydash - Python App For Monitoring Linux Server
Python and Django with Chart.js make up pydash, a lightweight web-based monitoring application for Linux. It has been tested and can run on CentOS, Fedora, Ubuntu, Debian, Arch Linux, Raspbian, and Pidora, among other popular Linux distributions. You can use it to monitor the resources on your Linux PC/server, such as CPUs, RAM, network statistics,
3 min read
Linux Sysstat Utilities For Monitoring System Performance
Sysstat is a useful utility that includes a number of programs for monitoring system resources, performance, and use. The sysstat package contains a number of programs that we all use on a daily basis. It also includes a program that can be used to collect all performance and activity data. Installing Sysstat The Sysstat package is available in the
1 min read
Mytop - Tool for Monitoring MySQL/MariaDB Performance in Linux
Mytop is a completely free and open-source tool that is used for monitoring MySQL and MariaDB databases. It was written in Perl by Jeremy Zawodny. It is almost similar to its counterpart top which is also used for monitoring purposes. Mytop provides the user with a shell through which the user can monitor different activities of the MySQL/MariaDB d
4 min read
Linux - Hegemon Modular System Monitoring Tool
Hegemon is a work-in-progress modular system monitor written in secure Rust programming language. This allows users to monitor utilization and hardware in a single dashboard. The system hardware and utilization information are collected through the use of variables like chan, termion, systemstat and sensor.  Some tools such as htop, CorFreq, glance
4 min read
Command-Line Tools and Utilities For Network Management in Linux
If you are thinking of becoming a system administrator, or you are already a system admin, then this article is for you. As a system admin, your daily routine will include configuring, maintaining, troubleshooting, monitoring, securing networks, and managing servers within data centers. Network configuration and troubleshooting are some important t
8 min read
How To Use IPRoute2 Tools to Manage Network Configuration on a Linux
In computer networking, the iproute2 command line utility tool is a versatile and powerful tool for users. it provides beginner-friendly functionality to manage and configure the network. In this article, we are going to discuss each and every part of the iproute2 tool and how to implement it in our system. By the end of this article, you'll have s
4 min read
Monitoring multiple ports in tcpdump
In the world of network monitoring and security, tcpdump is a widely used tool for capturing and examining network data in real time. This article explores the importance of monitoring multiple ports with tcpdump, making it easier to understand how this tool is crucial for managing networks and enhancing security. To monitor traffic on multiple por
5 min read
Systemd Services: Monitoring Files and Directories
It is very important to keep our services running smoothly in Linux system administration and management. Systemd is a versatile tool used in Linux that helps us manage our services and automate our tasks. It can also act as a watch guard to monitor files and directories using "path units". In this article, we will learn how to use Systemd to monit
5 min read
Gobuster - Penetration Testing Tools in Kali Tools
One of the primary steps in attacking an internet application is enumerating hidden directories and files. Doing so can often yield valuable information that makes it easier to execute a particular attack, leaving less room for errors and wasted time. There are many tools available to try to do this, but not all of them are created equally. Gobuste
9 min read
Iperf Command to Test Speed, Performance and Bandwidth of Network in Linux
There is a great degree of flex in how the packets are delivered and overall bit rate and packet payload size can be controlled. iperf is a tool that is used to perform network performance measurement and tuning. iperf is an open-source software which is written in C language. Jperf is a GUI version for doing the same job. The core concept work beh
2 min read
Linux - Network Information Service
The Network Information Service, or NIS (initially called YP or yellow pages), is a mainframe-client index service convention for circulating server configuration information, for example, client and host names between PCs on a PC network. Sun Microsystems built up the NIS; the innovation is authorized to essentially all other Unix merchants. Since
8 min read
Monitor Linux Daemon, Filesystem, CPU, Network and Files Using Monit
Monit is a utility tool for monitoring & managing processes, files, directories, and filesystems on a Unix System. A superpower or a super ability to start a process if it's not running, restart a process if it isn't responding, and stop a process if it uses high resources, that's what Monit(or) does in layman's terms. Monitoring is basically t
3 min read
Linux iftop - Listen Network Traffic and Bandwidth
The iftop listens to network traffic on a specified network interface. The iftop is a perfect tool for remote Linux server over a ssh based session.iftop displays the bandwidth usage by a pair of hosts in the form of a table. To run this tool we must have superuser (root)permissions. Installation: Installation iftop on Debian based system like Ubun
3 min read
Linux - Limit Network Bandwidth Using WonderShaper Tool
So here in this article, we are going to see how to limit a network bandwidth in Linux using WonderShaper. It is a tool which is a small bash script that enables us to limit the network bandwidth in Linux. It works as the tc command-line program as the backend for configuring traffic control in systems. Here this tool allows us to set the maximum d
3 min read
How to Monitor Processor, Memory, Network Performance using dstat in Linux?
Do you want to run a quick performance test on your Linux machine? You may want to check the dstat command. Dstat is a versatile and efficient command that combines the features of several older tools such as vmstat, netstat, iostat, and ifstat to provide useful insights into Linux system performance. You can analyze virtual memory, network connect
2 min read
PortSpider - Advance Network Port scanner on Kali Linux
PortSpider is a free and open-source tool available on GitHub. PortSpider is an Open Source Intelligence and network scanning Tool based on (OSINT). This tool can scan huge network ranges to find open and closed ports and all the vulnerable services running on the server or on the system, not only scans a single target system but can target a big n
2 min read
Virtual Private Network (VPN) Setup in Kali Linux
VPN (Virtual private network) is a technology that encrypts your internet traffic on unsecured networks to protect your online identity, hide your IP address, and shield your online data from third parties. VPNs use real-time encryption and send your internet data through a secure virtual tunnel to minimize the possibility of anyone tracking what y
5 min read
Find All Live Hosts IP Addresses Connected on Network in Linux
As network engineers or penetration testers, we need to find the live hosts on the networks. Today we are going to see how to find live hosts on the network. We are going to use the nmap tool to find the live hosts on the network. Nmap (network mapper) is an open-source command-line tool for network exploration and security auditing. Nmap is used t
2 min read
Ngrep - Network Packet Analyzer for Linux
Ngrep a network packet analyzer that is similar to the grep command, but ngrep grep the package on the network layer. This tool grep the traffic going to coming on the network interface.ngrep allow us to specify an extended regular or hexadecimal expression to match against data payloads of packets.ngrep can work on protocols like IPv4/6, TCP, UDP,
3 min read
TCP flow Analyze and Debug Network Traffic in Linux
TCPflow is a completely free and open-source tool used for the analysis of network traffic on Linux and Unix systems. The data which is transferred during the connection is stored in a file by TCPflow in a systematic format for later study. TCPflow is almost the same as its counterparts such as Wireshark and Tcpdump, but the main difference is the
5 min read
Woof - Easily Exchange Files Over a Local Network in Linux
In order to easily share single files between Linux systems in a home network where we don't need to worry too much about security. Woof is an acronym for Web Offer One File. It is used to share files over a local area network. The recipient need not have any special software installed on his system, The shared file may be downloaded using curl, ge
3 min read
How to Set up a Network Bridge for Virtual Machine in Linux
We all have used virtual machines now or then, and they come in very handy when someone wants to run multiple instances of different operating systems in one go, or their main operating system. When you work with virtual machines it's important to connect them to a local network or to be able to access the internet through VM. So in this article, w
4 min read
How to Set up a Wireless Network in Puppy Linux
Puppy Linux is a lightweight operating system often used from a USB stick on various PCs. Connecting it to WiFi allows web access and keeping it updated. However, being compact means built-in tools are basic. Setting up wireless internet requires installing extra software initially. A quick command line process scans networks, selects yours, and sa
6 min read
three90RightbarBannerImg