Web HostingDecember 10, 2025 11 views

Statistics and Metrics on cPanel

Statistics and Metrics on cPanel

Statistics and Metrics on cPanel

Analyze your website's performance and monitor resource usage on your OuiHeberg hosting. This guide covers all the metrics tools available in cPanel.


🎯 Overview of Tools

cPanel offers several tools in the Metrics section to analyze your traffic and resources:

Tool Function
Visitors List of the last 1000 visitors
Errors Last 300 site errors
Bandwidth Bandwidth consumption
Raw Access Downloadable raw logs
Awstats Advanced statistics with graphs
Webalizer Alternative traffic analysis
Resource Usage CPU, RAM, I/O usage

Quick Statistics Bar

On the right side of your cPanel dashboard, you will find the Statistics bar that provides a quick overview of your resources:

Statistics Sidebar cPanel

This bar displays in real-time:

  • Disk Usage: Used disk space
  • Bandwidth: Consumed bandwidth
  • CPU Usage: Processor usage
  • Physical Memory Usage: Used RAM
  • Entry Processes: Active PHP processes
  • MySQL Databases: Databases
  • Email Accounts: Email accounts

👥 Visitors

Check the 1000 most recent visitors to your site.

Accessing Visitors

  1. In cPanel, go to MetricsVisitors
  2. Select the domain to analyze
  3. Review the list of visits

Available Information

Column Description
IP Address Visitor's IP address
URL Visited page
Time Date and time of visit
Size Transferred data size
Status HTTP response code
Referrer Visitor's original page
User Agent Used browser

Practical Use

  • Detect bots: Identify robots crawling your site
  • Analyze traffic: See which pages are most visited
  • Spot errors: Identify 404 or 500 codes
  • Security: Detect intrusion attempts

❌ Errors

Display the last 300 errors that occurred on your site.

Accessing Errors

  1. In cPanel, go to MetricsErrors
  2. Review the list of recent errors

Common Error Codes

Code Meaning Recommended Action
400 Invalid request Check forms
401 Unauthorized Check authentication
403 Forbidden access Check permissions
404 Page not found Fix broken links
500 Server error Check PHP scripts
502 Bad Gateway Contact support
503 Service unavailable Check resources
508 Resource limit Optimize the site

Analysis of Errors

Errors are displayed with:

  • Date and time of the error
  • Error type and code
  • Affected file (path)
  • Detailed error message

💡 Tip: Regularly check this page to fix 404 errors (broken links) that impact SEO.


📈 Bandwidth

Monitor the data consumption of your hosting.

Accessing Bandwidth Statistics

  1. In cPanel, go to MetricsBandwidth
  2. View consumption by period

Displayed Information

Section Description
Total Total consumption for the month
HTTP Web traffic (pages, images, files)
IMAP/POP3 Incoming email traffic
SMTP Outgoing email traffic
FTP File transfers

Understanding the Graphs

  • Monthly View: Consumption per month over 12 months
  • Daily View: Day-by-day detail of the current month
  • Distribution: Pie chart by service type

Optimizing Bandwidth

If you are consuming too much bandwidth:

  1. Compress images (WebP, optimized JPEG)
  2. Enable Gzip compression in cPanel
  3. Use a CDN for static files
  4. Check hotlinking (bandwidth theft)
  5. Optimize videos (host on YouTube/Vimeo)

📁 Raw Access Logs

Download Apache log files for external analysis.

Accessing Raw Logs

  1. In cPanel, go to MetricsRaw Access
  2. Download logs in .gz format

Available Options

Option Description
Archive Logs Keep logs from previous months
Remove Previous Month Delete old logs after archiving
Download Download logs for the current month

Apache Logs Format

Each line contains:

IP - - [Date:Time] "GET /page HTTP/1.1" Code Size "Referrer" "User-Agent"

Example:

192.168.1.1 - - [10/Dec/2025:14:30:00 +0100] "GET /index.html HTTP/1.1" 200 5432 "https://google.com" "Mozilla/5.0..."

External Analysis Tools

Use these logs with tools like:

  • GoAccess (terminal)
  • Matomo/Piwik (self-hosted)
  • Splunk (enterprise)

📊 Awstats

Awstats is the most comprehensive statistics tool in cPanel, offering detailed graphs and advanced analysis.

Accessing Awstats

  1. In cPanel, go to MetricsAwstats

Awstats in cPanel Metrics section

  1. Click on View next to the desired domain

Awstats Domain List

  1. The Awstats interface displays with all statistics

Awstats Main Interface

Main Dashboard

The summary displays 5 key metrics:

Awstats Summary

Metric Description Color
Unique Visitors Unique visitors (by IP) Orange
Number of Visits Total number of sessions Yellow
Pages Page views Blue
Hits Total requests (including images, CSS, JS) Cyan
Bandwidth Transferred data volume Green

Analysis Sections

📅 Monthly History

12-month graph showing the evolution of your statistics:

Awstats Monthly History

This graph displays for each month:

  • Unique visitors (orange)
  • Total visits (yellow)
  • Page views (blue)
  • Hits (cyan)
  • Bandwidth (green)

💡 Identify seasonal trends and your traffic growth.

📆 Days of Month

Day-by-day detail of the selected month:

Awstats Days of Month

Useful for:

  • Spotting traffic peaks
  • Identifying slow days
  • Scheduling maintenance

📅 Days of Week

Aggregation by day of the week:

Awstats Days of Week

Identify:

  • Most active days
  • Best time to publish content
  • When to perform maintenance

⏰ Hours

Traffic distribution per hour (0-23h):

Awstats Hours

Identify:

  • Peak hours
  • Quiet periods for updates
  • Main time zone of your visitors

Visitor Analysis

🌍 Countries/Locales

Top 25 countries of origin of visitors:

Awstats Visitor Countries

Displays for each country:

  • Number of page views
  • Hits
  • Bandwidth

Hosts

Top 25 visitor IP addresses:

Awstats Hosts

Allows you to:

  • Identify frequent visitors
  • Detect abusive bots
  • Spot intrusion attempts

Robots/Spiders

List of robots crawling your site:

Awstats Robots

Common robots:

  • Googlebot: Google indexing
  • Bingbot: Bing indexing
  • Other bots: SEO, security, spam

Content Analysis

Visits Duration

Time visitors spend on the site:

Awstats Visits Duration

If most visitors stay less than 30 seconds, consider improving your content to retain them longer.

Top 25 Pages-URL

Most visited pages on your site:

Awstats Pages Views

The table displays:

  • Page URL
  • Number of views
  • Average size
  • Entry pages
  • Exit pages

Useful for:

  • Identifying popular content
  • Optimizing key pages
  • Detecting unused pages

File Types 200 Success Normal 206 Partial Content Normal 301 Permanent Redirection Normal 302 Temporary Redirection Normal 304 Not Modified (cache) Normal 404 Not Found ⚠️ To Fix 500 Server Error ⚠️ Urgent

Seen vs Unseen Traffic

Awstats distinguishes:

  • Viewed Traffic : Real human visitors
  • Not Viewed Traffic : Bots, crawlers, special requests

💡 Focus on "Viewed Traffic" to assess your actual audience.


📉 Webalizer

Alternative to Awstats with a different presentation.

Accessing Webalizer

  1. In cPanel, go to MetricsWebalizer
  2. Click on View next to the domain

Differences with Awstats

Aspect Awstats Webalizer
Interface Modern, detailed Simple, classic
Updates Real-time possible Once a day
Bots Detail Very detailed Basic
Graphics Colorful, readable Simple

When to Use Webalizer

  • For a quick and simplified view
  • In addition to Awstats
  • To compare data

📊 Webalizer FTP

Statistics specific to FTP connections.

Accessing Webalizer FTP

  1. In cPanel, go to MetricsWebalizer FTP
  2. Check FTP transfer statistics

Available Information

  • Number of FTP connections
  • Transferred data volume
  • Active FTP users
  • Monthly history

⚡ Resource Usage

Monitor your hosting's CPU, memory, and I/O usage.

Accessing Resource Usage

  1. In cPanel, go to MetricsResource Usage

Resource Usage in cPanel

  1. Review the dashboard with detailed graphs

Resource Usage Graphs

Possible States

Message Meaning Action
No issues All good None
Limited in past 24h Limits reached recently Investigate
Might hit limits soon Nearing limits Optimize

Monitored Metrics

The dashboard displays the following resources in real-time:

🔲 CPU Usage

Processor usage:

  • Limit : 100% (equivalent to one core)
  • Ideal : Average < 50%
  • Issue : Frequent spikes at 100%

💾 Physical Memory (RAM)

Used RAM:

  • Displayed in MB
  • Depends on your hosting plan
  • PHP scripts consume RAM

🔄 Entry Processes (EP)

Number of simultaneous PHP processes:

  • Active web connections
  • Running scripts
  • Cron tasks

📀 I/O Usage

Disk input/output operations:

  • File reads
  • Database writes
  • Log accesses

🗂️ IOPS

I/O operations per second:

  • Number of disk operations
  • Affects site speed

📊 Number of Processes (NPROC)

Total number of processes:

  • Includes all account processes
  • SSH, cron, email, web

Usage Graphs

The Current Usage tab displays:

  • Real-time graphs
  • 24-hour history (by default)
  • Hourly detail

Understanding the Faults Table

The Faults graph shows limit exceedances:

Code Meaning
CPUf CPU exceedances
EPf Entry Processes exceedances
PMemF Physical memory exceedances
NprocF Number of processes exceedances
IOf I/O exceedances
IOPSf IOPS exceedances

⚠️ Important : Frequent faults indicate that your site requires optimization or an upgrade to your hosting.

Optimizing Resources

Reduce CPU Usage

  1. Enable caching (WP Super Cache, LiteSpeed Cache)
  2. Optimize images before uploading
  3. Reduce external requests (fonts, APIs)
  4. Check for resource-intensive WordPress plugins
  5. Optimize PHP code

Reduce Memory Usage

  1. Increase opcode cache (OPcache)
  2. Limit simultaneous PHP processes
  3. Optimize MySQL queries
  4. Reduce active plugins
  5. Use a CDN for static files

Reduce Entry Processes

  1. Block malicious bots
  2. Enable browser cache
  3. Use a CDN
  4. Optimize cron jobs

Reduce I/O Usage

  1. Enable database cache (Redis, Memcached)
  2. Optimize SQL queries
  3. Reduce log writes
  4. Compress files

🔧 Metrics Editor

Configure which statistics tools are active.

Accessing the Metrics Editor

  1. In cPanel, go to MetricsMetrics Editor
  2. Enable or disable tools per domain

Configurable Options

Tool Status Recommendation
Awstats Active/Inactive ✅ Keep active
Webalizer Active/Inactive Optional
Analog Active/Inactive Optional

🔍 Comparison with Google Analytics

Aspect Awstats/cPanel Google Analytics
Hosting Local (your servers) Cloud (Google)
Data Server logs Client-side JavaScript
Bots Included (separate) Automatically filtered
Real-time No (daily updates) Yes
Privacy Private data Data with Google
Blockers Unaffected Blocked by AdBlock
Configuration None Requires code

When to Use What?

  • Awstats : Technical view, bandwidth, errors, bots
  • Google Analytics : User behavior, conversions, audiences

💡 Tip : Use both for a comprehensive view!


📋 Regular Analysis Checklist

Weekly

  • [ ] Check for 404 and 500 errors
  • [ ] Monitor bandwidth usage
  • [ ] Analyze unusual traffic spikes

Monthly

  • [ ] Compare traffic with the previous month
  • [ ] Identify popular pages
  • [ ] Check traffic sources
  • [ ] Analyze resource usage

Quarterly

  • [ ] Analyze trends over 3 months
  • [ ] Evaluate hosting adequacy
  • [ ] Review overall performance

🛠️ Additional Tools

Tool Description Link
Google Analytics Behavioral analysis analytics.google.com
Google Search Console SEO performance search.google.com/search-console
GTmetrix Speed test gtmetrix.com
Pingdom Uptime monitoring pingdom.com