Hourly CPU and Memory usage record
Hi! I just rent a VPS and new to cPanel. Where can I look at the hourly CPU and Memory usage record in cPanel?
The reason for doing so is the VPS keeping down during midnight (when the traffic is the highest). I want to check if it is a problem of CPU usage or Memory usage.
I have looked around in cPanel and WHM but not able to find such hourly record.
Any suggestion is much appreciated. Thanks.
-
It's a lot easier to SSH into your server use sar
This shows CPU load, iowait, and other useful metrics. For memory usage:sar -r
This has more info if you need it. sar(1) - Linux man page I think the default is 10 minute intervals. Then you can see what the load has been like, it logs it as well so you can look at previous days by referencing a previous file. I think it hangs onto 30 days of sar data. For the sar data from the 16th of the month:sar -f /var/log/sa/sa160 -
Hello @kk.hk1850, There's no feature in cPanel & WHM that will show you the hourly CPU and memory usage. The previous post should help guide you on how to determine the cause of the usage, or you may also find the information on the following resource helpful: Tutorial - Troubleshooting high server loads on Linux servers Thank you. 0
Please sign in to leave a comment.
Comments
2 comments