1 uptime
The uptime command can be used to see how long the server has been running and how many users are currently logged on.
2 Top
The top command is a common performance analysis tool under Linux that shows the resource usage of individual processes in the system in real time, similar to the Task Manager for Windows.
3 PS
The PS command is used to list those processes that are currently running on the system. The PS command lists the current snapshots of those processes, which are those that are executing the PS command at the moment, and if you want to display process information dynamically, you can use the top command.
4 Vmstat
Vmstat is a useful Linux system monitoring tool that uses the Vmstat command to get information about processes, memory, memory paging, blocking IO, traps, and CPU activity.
5 Iostat
Iostat is an abbreviation for I/O statistics (input/output statistics), and the Iostat tool monitors the system's disk operation activity
6 Mpstat
Mpstat is the abbreviation of multiprocessor statistics and is a real-time system monitoring tool. Reports some statistical information about the CPU, which is stored in the/proc/stat file.
7 Free
The free command displays the idle, used physical memory and swap memory in the Linux system, and the buffer used by the kernel.
8 Strace
Strace is commonly used to track system calls and received signals when a process executes.
9 tcpdump
Tcpdump, is: The dump the traffic on a network, according to the user's definition of the packet interception of packets of data packet analysis tool.
Ten netstat
The netstat command is used to print the status information of network systems in Linux, allowing you to learn about the network conditions of the entire Linux system.
Nicstat
Nicstat is a good tool for monitoring network cards and traffic
Pidstat
Pidstat is primarily used to monitor all or specified processes that consume system resources, such as CPU, memory, device IO, task switching, threading, etc.
Swapon
The Swapon command activates the swap space in the Linux system, and the memory management of the Linux system must use the swap area to establish virtual memory.
Lsof
Lsof (list open files) is a tool that lists open files for the current system.
Sar
The SAR command is a system health statistics tool under Linux that displays the specified operating system status counter to the standard output device. The SAR tool samples the current state of the system and then expresses the current operational state of the system by calculating the data and scale.
Linux Common monitoring commands