Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

What are the commonly used performance monitoring commands and tools for Linux

2025-01-21 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/01 Report--

Linux commonly used performance monitoring commands and tools are what most people do not understand, so the editor summarized the following content, detailed, clear steps, with a certain reference value, I hope you can get something after reading this article, let's take a look at this "Linux commonly used performance monitoring commands and tools are what" article it.

1. Monitor cpu usage uptime

This command will print out how long the system has been running at the current time, the current number of logged-in users, the average load of the system

The load here is in the cpu waiting queue per unit time to evaluate how many processes are waiting. The more processes are waiting, the busier the cpu.

two。 Monitor memory and swap partition usage free3. Usage of system disks df

Here we use df-h to humanize the display of capacity information

4. Monitor network usage ip and netstat

Ip can view the interface information of the network card. In centos, the network card does not have a unified command of ethx, but will check the host hardware information. Different commands are made according to different network cards, and the netstat command can view the port information opened by the server and the link status of the network.

5. Print network connection, routing table, network interface statistics and other information 6. Monitor process usage ps and top commands

Ps to view current process information (ps has different syntax in different versions, here is centos) ps-e to view all process information

Ps-ef displays process information in full format

Top dynamically view process information top-d refresh interval. Default is 3 seconds.

Top-p view the pid of the specified process

The above is the content of this article on "what are the commonly used performance monitoring commands and tools for Linux". I believe we all have a certain understanding. I hope the content shared by the editor will be helpful to you. If you want to know more about the relevant knowledge, please follow the industry information channel.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report