How to see the performance parameter index of Linux system server?

To view the performance parameter indicators of a Linux system server, the following commands and tools can be used:

  1. top command: The top command is a commonly used performance monitoring tool, which can view the running status of the system, CPU usage, memory usage, process information, etc. in real time. Enter the top command in the terminal to display real-time performance indicators.
  2. vmstat command: The vmstat command is used to report virtual memory statistics, which can display CPU usage, memory usage, swap space, IO and other information. The output of vmstat can be viewed with the following command:

    vmstat
  3. sar command: The sar command is used to collect, report, and analyze system performance indicators. You can view information such as CPU utilization, memory usage, disk IO, and network traffic. To use the sar command, you need to install the sysstat toolkit first, and use the following command to run sar:

    sar -u     # 查看CPU使用情况
    sar -r     # 查看内存使用情况
    sar -b     # 查看磁盘IO情况
    sar -n DEV # 查看网络流量
  4. iostat command: The iostat command is used to report the disk and IO statistics of the system, and you can view the disk read and write speed, IO waiting time and other information. View the output of iostat with the following command:

    iostat
  5. Free command: The free command is used to view the memory usage of the system, and can display information such as available memory, used memory, cache, and swap space. View the output of free with the following command:

    free

By using these commands and tools, you can obtain various performance parameter indicators of Linux system servers. According to actual needs, you can combine these tools and other monitoring tools for regular performance monitoring and analysis, so as to discover and solve potential performance problems in time.


Guess you like

Origin blog.csdn.net/tiansyun/article/details/132268001