The Enable Awstats stats setting allows you to globally enable or disable the AwStats statistical analysis program for all cPanel accounts on your server. AwStats generates graphical reports of website traffic including visitors, pages, hits, and bandwidth. Disabling it can reduce server resource usage, especially on servers with many accounts that do not use statistics.
Step 1: Log in to WHM
Log in to your WHM interface as the root user.
Step 2: Open Tweak Settings
Navigate to Home » Server Configuration » Tweak Settings.
Step 3: Locate the Stats Programs setting
Click on the Stats Programs tab at the top of the Tweak Settings page, or use the search box to find Enable Awstats stats.
Step 4: Disable Awstats
Set Enable Awstats stats to Off.
Step 5: Save your changes
Scroll to the bottom of the page and click Save.
Important Notes
- Disabling this setting prevents new AwStats data from being generated for all accounts. Existing AwStats data and history files are not automatically deleted.
- This is a global setting that applies to the entire server. Individual users cannot override it.
- You can also configure how and when statistics are generated via Home » Server Configuration » Statistics Software Configuration.
- If you want to disable all statistics programs (AwStats, Analog, and Webalizer) to minimize resource usage, you can disable each one individually on the same Stats Programs tab.
- The Awstats reverse DNS resolution setting (also on this tab) can additionally impact server performance. Consider setting it to Off if you keep AwStats enabled but want to reduce CPU load.
Troubleshooting
- AwStats still appears in users' cPanel: The icon may persist until cPanel's cache refreshes. You can run
/usr/local/cpanel/bin/cpconftool --checkor wait for the next cPanel update. - Users need statistics but AwStats is disabled: Re-enable the setting. Statistics will begin generating on the next scheduled run configured in Statistics Software Configuration.