How to view resource usage?


You can view your hosting account's current and past resource usage statistics from your hosting control panel to identify the scripts, cronjobs, and other items consuming a high amount of resources or causing faults.

 

What Are Faults?

Faults are when your hosting account hits a resource limit; in other words, it consumes 100% of its allocated resources. If it has multiple websites, when the combined usage of a resource hits 100%, it creates a fault.

CPU, RAM, Disk IO, etc., are called resources. If your hosting account has 4 GB RAM, a fault occurs when it maxes out its RAM, i.e., consumes 4 GB (100%).


Resource Usage


When you access Resource usage the first time after the account hits a limit, it will display a notice saying, "You have reached the limits within the past 24 hours." Below that message, it will display which resource limit it hit.

  • Go to cPanel > Resource usage > Current Usage.

    Or, DirectAdmin > Resource usage > Current Usage.

  • Select Minute from the Time Unit.

  • Select the date/period from the Time Frame.

  • Wait for the graph to be populated.

 

Note:

The graph points out the average resource consumption. The fault statistics are displayed below the graph.

 

XL Reseller and DirectAdmin Reseller:

If you have an XL Reseller Hosting or DirectAdmin Reseller Hosting, you can view your customers' faults and resource usage from your reseller control panel:

  • Go to CloudLinux Manager.

    WHM > Plugins > CloudLinux Manager.

    Or DirectAdmin > Plugins > CloudLinux Manager.

  • To view the resource usage of the entire reseller account:

    Go to Historical Usage.

  • To view the resource usage of all users:

    Go to Statistics.

    The faults will be displayed under the F column.

  • Click Timeframe to select a time period.

  • Done!

More information in this article:
How to view and set resource limits for Sub Accounts?

 

Snapshots


When a fault occurs, the server stores the scripts, processes, database queries, and HTTP queries running at that time. These are called Snapshots.

These are the items that caused the fault. Examining them will give you an idea of what was causing the high resource consumption on your hosting account.

To view the items running at the time a fault occurred:

  • Go to cPanel > Resource Usage > Snapshot.

  • Select a Date from under Snapshots.

  • If there are any fault incidents available for the chosen date, the "Choose snapshot" field and "<< and >>" buttons will become active.

  • Click on the "Choose snapshot" field and "<< and >>" buttons to view the items running at the time of the fault for the chosen snapshot.

 

  • 559 Users Found This Useful
Was this answer helpful?

Related Articles

What happens if I exceed my allocated bandwidth?

Shared, Reseller, and Semi Dedicated Hosting: We currently do not impose any limit on bandwidth....

What is PHP X-Ray?

PHP X-Ray is a diagnostic tool. It automatically detects and provides detailed information about...

How to use PHP X-Ray?

You can use PHP X-Ray to identify which URLs, plugins, themes, functions, or SQL queries are...

How to host an additional website?

Depending on the limits of your hosting plan, you can host up to an unlimited number of domains...