kk.hk1850

Registered
Jun 1, 2018
1
0
0
Hong Kong
cPanel Access Level
Website Owner
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.
 

dstana

Well-Known Member
Jul 6, 2016
108
19
68
Phoenix, AZ
cPanel Access Level
Root Administrator
It's a lot easier to SSH into your server use

Code:
sar
This shows CPU load, iowait, and other useful metrics. For memory usage:
Code:
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:
Code:
sar -f /var/log/sa/sa16
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,904
2,237
463