When managing your account, you will need to learn how to view your CPU usage in cPanel. Knowing this information will help you understand how your server is performing so you can make changes if necessary. This ensures that your online presence is running smoothly at all times.
For example, if you notice a spike in usage while running a specific cron job, this may indicate there are issues with how it is coded. In this guide, we’ll explain what resource usage is and then explain how to view CPU usage in cPanel.
What is Resource Usage?
When your account requests the server to perform tasks, such as connecting to a database, running a PHP script, or sending email, it requires resources from the server’s CPUs (Central Processing Units), as well as disk access from the hard drive to complete the tasks.
The CPU resource is a limited one, as there are only a set number of processors per server. Depending on the level of hosting that you have, you have a different allotment for cPanel CPU usage that you don’t want to go over.
Going over the CPU limits assigned for your level of hosting could result in an email warning, or a temporary account suspension if the usage is severe enough. So being knowledgeable about the resource usage limits your account has, and how much your account is currently using, is important information to know.
With shared hosting generally being the entry-level hosting option, those CPUs are shared with all of the users placed on the same server.
In a shared hosting environment, it’s very important that no one is over-utilizing the CPU, which could lead to other users having their requests delayed or missed altogether.
If you are near or over your account’s CPU limit, we would strongly encourage you to take a look at our account suspensions article, as this goes more in-depth as to what exactly commonly causes high resource usage.
VPS (Virtual Private Server) hosting is a step-up from shared, but you are still sharing the same CPUs as the other VPS clients on that physical node.
On a VPS, your maximum load average should be a 1.00 in short bursts. However, ideally, your load should remain under around a 0.7 for the majority of the day.
With dedicated servers being the top tier of hosting, you have full access to all of the CPU cores on your server.
On a dedicated server, ideally, you want to maintain a load average lower than the number of CPU cores (and threads) that you have. However, since it’s your own server, we won’t step in if your CPU usage is spiking, since you wouldn’t be affecting any other users.
|Server Class||CPU cores (threads)|
Now that you know what CPU Usage is, you may wonder where can you view a cPanel account’s resource usage? This next section will walk you through the steps.
View CPU Usage in cPanel
To view your CPU usage in cPanel, follow the steps below:
- Login into cPanel.
- For a quick view, in the right-hand sidebar, scroll until you see CPU Usage.
- For more information, scroll down to the Metrics section and click on Resource usage to view data on resources your account is using.
With both VPS and dedicated server hosting, you can SSH directly into the server to find out your usage. If you’re on either platform you can read our guide on advanced server load monitoring to determine your resource usage levels from the terminal.
For both VPS and dedicated servers, we also have a large collection of articles on resolving server usage problems that can help you pinpoint what could be causing high usage for you.
If you still need further assistance, contact our support department directly.