Viewing resource usage with CPU graphs
At InMotion Hosting we have CPU graphs available in cPanel for our shared hosting servers. These allow you to easily see the impact that your account's CPU usage is having on the server.
Near or over your account's CPU limit? You can check out our what is high system resource usage article, as this goes more in-depth into some common causes of high CPU usage on a server.
VPS and Dedicated server CPU usage
If you have a VPS or dedicated server, the CPU graphs won't be available in cPanel. You have direct SSH access to your server, which allows you to perform advanced server load monitoring instead.
We also have a large collection of guides on resolving server usage problems which can help you pinpoint and troubleshoot usage problems on these platforms.
High CPU usage
If your CPU usage remains high for an extended period of time, a warning email could be dispatched explaining the need to reduce this. In extreme cases a temporary account suspension might be imposed.
Viewing CPU resource usage graphs
Below I'll show you how to access CPU resource usage graphs in cPanel, and explain what the data means.
- Login to your cPanel.
- Under the Logs section, click on Resource Usage.
I can see that on the top graph for CPU Usage for the Past 24 Hours that by 23:59, this user's CPU usage has climbed to over 160% of their daily CPU usage limit.
We can also see that on that day their CPU usage reached 100% by 15:00.
Each day your CPU usage resets to 0% and begins to climb again.
On the bottom graph for CPU Usage for the Month we see the user's CPU usage was under 100% on 03-12.
Then for 7 days straight their daily CPU usage was over 100%, climbing close to 350% on 03-17.
This type of extended CPU usage spike would warrant investigation.
Here is a more recent example where a customer was having consistent CPU usage problems for 11 days.
But after using our guide on how to block unwanted bots using .htaccess they were able to drop their daily CPU usage to around 75%.
If you are having CPU usage issues, you can take a look at our resolving high resource usage problems guide to try to find a fix.
You might also want to upgrade your hosting platform to one that allows for more total CPU usage if you're consistently hitting your CPU usage limit on a daily basis.
You should now understand how to view the CPU resource usage graphs of your account in cPanel, so that you can check to ensure your account is running on the appropiate hosting platform for its usage.
It can be a good idea to ensure you have enabled raw access log archiving in cPanel as well. That way if you notice in the monthly graph that your CPU usage was fine everyday but one, you can take a look at that one day's requests and see what might have caused the higher than normal usage.
We value your feedback!
There is a step or detail missing from the instructions.
The information is incorrect or out-of-date.
It does not resolve the question/problem I have.
Post a Comment
Do you want to publish a tutorial to our support center?