linux - ubuntu12.04 cpu在某一段时间占用很高,如何查找原因
天蓬老师
天蓬老师 2017-04-17 11:48:09
0
1
380

我使用的阿里云12.04,发现在凌晨3:15时cpu占用达到了80%,我想知道什么原因,但不知道如何下手

天蓬老师
天蓬老师

欢迎选择我的课程,让我们一起见证您的进步~~

reply all(1)
巴扎黑

You can use the top command under Linux to check the resource usage of each process.

top -d 30 -n 9000 -b > test.txt can print the top results 9000 times every 30 seconds and output them to test.txt. Or you can just look at the top. If it exists in the text, you can write a script to analyze which programs use high CPU usage.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!