User resource reporting

Enabling User Resource Reporting
Resource reporting is done on a user by user basis. If you have several domains hosted under a single user account the resource usage will be combined under the report for the user account that is hosting them all!

To enable user resource reporting for a particular user (usually one that is hosting web sites) follow these instructions;


 * 1) Log into the Control Panel and go to (USERS > MANAGE USERS).
 * 2) Click on the "Edit" button for the user account in question.
 * 3) Check the box labeled "CPU Reporting".
 * 4) Click on the "Save Changes" button to save the changes.

NOTE: After enabling user resource reporting, you will need to wait at least 24 hours before the reports will be generated and viewable.

NOTE: Customers using the DreamHost PS add-on will not able to use this feature at this time.

User Resource Reports
The user resource reporting option will allow you to see exactly how much processor time your user consumes on the system. The report comes in two forms named either USER.sa.itemized.X or USER.sa.analyzed.X. The x stands for how many days back the file was created. The itemized report contains a line for every instance a script was run on the system, along with how much CPU time was used to execute it. The analyzed file sums the processor time for each unique executable and sorts based on CPU time.

The following example shows that php.cgi used the most resources at 24 CPU seconds, folowed by the SFTP-server.

Process              CPU seconds      user   machine   count  average php.cgi                  24.5700   91.954%    0.102%     518    0.047 sftp-server               2.1500    8.046%    0.009%       1    2.150 --

If you need to figure out exactly which PHP scripts are consuming resources, read Getting PHP granularity in user resource reports

The resource files are located in  and can be accessed via Shell, FTP, or through the stats page of a website hosted inside said user's home directory (eg.  http://mysite.com/stats/resources ).