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.
Bonus tools :
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.
atop is an interactive monitor tool to view the load on your Linux system, i.e. cpu, memory, disk and network.
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.
Oh my goodness! a tremendous article dude. Thanks Nevertheless I am experiencing difficulty with ur rss . Don抰 know why Unable to subscribe to it. Is there anybody getting equivalent rss drawback? Anyone who is aware of kindly respond. Thnkx