Last Updated on
Insight: Linux System Monitoring Tools Every SysAdmin Should Know
Today, we are going to talk about various Linux system monitoring tools for system administrators. Some of the tools/commands comes pre-installed while some of the tools mentioned below need to be installed.
Linux System Monitoring Tools Every SysAdmin Should Know:
top is a process activity monitoring command for Linux. It gives you the real-time view of a running system.
Run the following command in Linux to execute the top command:
The vmstat command lets you to know about processes, memory, traps, paging, block IO, and cpu activity.
Using ps command will help you to get a snapshot of the current processes. ps similar to top command it provides you the more information.
The pmap command in Linux displays the memory usage map of a process or multiple processes. Monitors the process memory usage on Linux. We need process id which we can get from ps or top command:
sudo pmap PID
netstat is a linux network and statistics monitoring tool. It is a built-in tool which is used to list out the TCP network connections, routing tables and a number of network interfaces in the system.
iptraf command can be used to gather the real time network statistics on Linux system. You can easily figure out the TCP connection packet and byte count, TCP/UDP traffic breakdowns, interface statistics and activity indicators, and station packet and byte counts with this command.
This command is used for monitoring system input and system output. It helps to monitor Linux average CPU load and disk activity.
SAR or System Activity Report is a Unix System V-derived system monitor command which is used to check CPU activity, memory/paging, network, interrupts, device load and swap space utilization.
It is used to Monitor multiprocessor usage on Linux.
tcpdump is a common packet analyzer. tcpdump allows the user to display TCP/IP and other packets which is being transmitted or received over a network.
iotop is a Linux I/O monitoring tool. iotop tool is based on Python.
htop is a similar to top command. It is used to view the interactive process. It is third party application.
iftop is a real time network monitoring tool. It can be used to monitor the network bandwidth.
nmon is short for Nigel’s performance Monitor for Linux on POWER. It displays and records local system information.
glances is an open source cross-platform monitoring tool for Linux based operating systems. It is written in python. glances can be used to monitor CPU, Network Interfaces, Load Average, Memory, Disk I/O, Processes and many more.