If you can’t find the answer you are looking for please submit a ticket.
We are here to help 24/7/365!

Resource Monitor Plugin for cPanel/WHM
Posted by Jeff B on 04 April 2013 09:03 AM
What is the Resource Monitor cPanel/WHM Plugin?

Resource Monitor helps you quickly identify the cPanel users on your server that are using the highest amount of server resources. It filters high resource cPanel users based on CPU usage, memory usage, MySQL usage and disk usage and is displayed right inside the WebHostManager.

How Much is Resource Monitor?

Resource Monitor is FREE with the purchase of a cPanel license from BuycPanel.com!

Server Requirements

Server side:
Ioncube & CURL for cPanel’s internal PHP (Install through WHM and EasyApache!)

cPanel/WHM: 11.54+
PHP: 7.2+

PHP: 5.3+ OR
PHP: 5.2

Older editions of cPanel must run version 3.3 of Resource Monitor

Client side:

All of the most recent versions of Firefox, Safari, Chrome and IE9+

Installation/Upgrade Instructions

Step 1: To download the new version click here: rsmonitor_v5.2.3 or

Run wget in the instructions below to download directly to your server.

Step 2: Upload file to the server (any folder)


wget -c https://www.buycpanel.com/wp-content/uploads/2019/05/rsmonitor_v5.2.3.tar.gz

Step 3: tar xvfz rsmonitor_v5.2.3.tar.gz

Step 4: cd rsmonitor_v5.2.3

Fresh Installation?
Step 5a:

Make sure to enter the license key you received from BuycPanel.com to activate the product.

Upgrading from a previous version?
Step 5b:
(Upgrade file is only present in v5.2.3+)

Wait 60 seconds for the install to complete.

NOTE: If you wish any newly created cpanel accounts to be added in the Resource Monitor automatically, you must do an extra step. After Step 4 given above, copy the file “postwwwacct” to /scripts/ folder, and run the following commands

chmod 755 /scripts/postwwwacct
chmod +x /scripts/postwwwacct

If there’s already a “postwwwacct” file present in the /scripts folder, you need to copy the source code from “rsmonitor/postwwwacct” file and append it at the bottom of the “/scripts/postwwwacct” file.

That’s it. Resource Monitor is now installed in your WHM!

NOTE: Wait for at least 48 hours to see your cPanel/WHM usage statistical reports. Resource Monitor is automatically added to your server’s Cron.

To access Resource Monitor, log into WHM, Search “Resource” in the WHM search bar and select “Resource Monitor”. Or, check the plugins section of your WHM by clicking “Plugins” in the “Home” WHM screen, then select “Resource Monitor.”

Uninstallation Instructions:

cd rsmonitor_v*
run ./uninstall.sh

General Tab Usage:

This is a description of each of the Resource Monitor tabs inside of the WHM, and what function they perform.

A general look at the current resource usage and pertinent server information.

Top Users:
A breakdown of users with the highest consumption of memory resources on thesystem and a comparison their individual statistics.

A breakdown of users with the highest load on the system CPU (users and systemusers).

A breakdown of users with the highest consumption of physical memory (RAM) onthe system (users and system users).

A breakdown of users with the highest consumption of Mysql resources on thesystem (users and system users).

A breakdown of the users taking up the most hard disk space on the system.

Set threshold settings for these reports as well as notification settings forthe exceeding of thresholds.

General Gauge Usage:

Here are some general descriptions of the gauges inside Resource Monitor and what they might mean to you as a cPanel/WHM system administrator:

Gives a general projection of the server’s resource usage based on current service and memory utilization.

The percentage of the total physical memory (RAM) that is currently being utilized.

The percentage of the total cache memory that is currently being utilized.

The percentage of total CPU power that is currently being utilized.

The percentage of total disk space that is currently being utilized.

Note: Clicking on any tab will take you to a list of high resource users on the system for that particular resource, which gives you the ability to display usage statistics for a specified date range. You can change threshold settings for each individual service by clicking on the Settings tab.

Download Instructions

Download the file below, and follow the installation instructions in the article above.


I see a number listed as one of the users in my Resource Monitor results. I do not have a cPanel user with that number as the username. Where did this user come from? 

This is due to the behavior of the Linux “ps” command, which returns the UID instead of a username if the username exceeds 8 characters in length. You can determine the username of a Linux user from their UID by looking in /etc/passwd, or by running one of the following commands (assuming UID of 502; replace with your UID):

awk -v val=502 -F ":" '$3==val{print $1}' /etc/passwd


getent passwd "502" | cut -d: -f1


PHP 7.2 Attachment
PHP 5.3+ Attachment
* cPanel versions older than 11.54 must run version 3.3 of Resource Monitor