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!
Older editions of cPanel must run version 3.3 of Resource Monitor
All of the most recent versions of Firefox, Safari, Chrome and IE9+
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)
Make sure to enter the license key you received from BuycPanel.com to activate the product.
Upgrading from a previous version?
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
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.”
General Tab Usage:
This is a description of each of the Resource Monitor tabs inside of the WHM, and what function they perform.
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:
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 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):