In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-11 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
This article mainly introduces the method to determine the cause of CPU utilization by querying abnormal time nodes and connections, which can be used for reference by friends who need it. I hope you will learn a lot after reading this article. Next, let the editor take you to learn about it.
Troubleshooting Linux instance exception CPU usage 100%
In the process of using ECS instances, you may encounter abnormal CPU utilization and CPU utilization as high as 100%. And the specific processes that consume CPU resources cannot be queried through top, htop and other commands. This paper introduces three key troubleshooting elements of abnormal CPU utilization, and then determines the cause according to the query time node and connection of the exception.
View ECS instance monitoring data
Log in to the ECS Management console.
Locate the exception instance and click the instance name. Query the instance CPU monitoring data in the CPU monitoring information on the instance details page.
Check the system command modification record
Connect remotely and log in to the Linux instance.
Execute the following command to see if the system command has been modified recently.
Stat / usr/bin/top stat / bin/ps
Check to see if the change time of the system command coincides with the time when the CPU usage occurs at 100%.
Execute rpm to verify that the system command has been modified. Normally, you should not be able to view the modification information.
Rpm-Vf / bin/ps rpm-Vf / usr/bin/top
View the external connection of the instance
Execute the command iftop-I eth2-n-P to see if the current instance is connected to the exception domain name, such as crypto-pool.fr in the example.
Thank you for reading this article carefully. I hope it will be helpful for everyone to share the method of querying abnormal time nodes and connections to determine the cause of CPU usage. At the same time, I also hope that you will support us, pay attention to the industry information channel, and find out if you encounter problems. Detailed solutions are waiting for you to learn!
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.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.