How to Check Your Resource Usage in DirectAdmin
Monitoring your resource usage helps you understand how your website performs and whether you are approaching any limits. This guide shows you how to check CPU, memory, I/O, and other resource metrics.
Quick Resource Check via DirectAdmin
- Log in to DirectAdmin
- On the dashboard, look for the Resource Usage or LVE Statistics section
- You will see a summary of:
- Current CPU usage
- Physical memory usage
- I/O throughput
- Entry processes in use
- Number of processes
- I/O operations per second
Detailed Usage History
- Click Resource Usage or CloudLinux LVE Statistics
- You can view usage over different time periods:
- Current — Real-time snapshot
- Today — Usage today
- Yesterday — Previous day
- This Month — Current billing period
Reading the Usage Table
| Column | Meaning |
|---|---|
| Limit | Maximum allocated for your plan |
| Usage | Current/average usage |
| Faults | Times the limit was reached |
| Max Usage | Peak usage in the period |
Checking Disk Usage
Via DirectAdmin Dashboard
- Log in to DirectAdmin
- The dashboard shows Disk Usage and Bandwidth usage
- Click on the values for a detailed breakdown by:
- Email accounts
- Databases
- Website files
- Log files
Via SSH
bash
# Overall disk usage
du -sh ~/domains/yourdomain.com/
# Largest files
du -ah ~/domains/yourdomain.com/public_html/ | sort -rh | head -20
# Database sizes
mysql -e "SELECT table_schema AS db, ROUND(SUM(data_length + index_length) / 1024 / 1024, 2) AS size_mb FROM information_schema.tables GROUP BY table_schema;"Checking Email Quota Usage
- Go to E-Mail Manager > E-Mail Accounts
- Each account shows its current usage vs quota
- To free space, delete old emails or increase the quota
Checking Bandwidth Usage
- In DirectAdmin, go to Your Account > Site Summary or Statistics
- View bandwidth usage by month
- Breakdown by domain is available
What to Do When Hitting Limits
Immediate Actions
- Check which resource is being exceeded
- Look for resource-hungry processes via SSH:
toporps aux - Identify if a specific page or script is causing the issue
Short-Term Fixes
- Enable caching to reduce PHP execution
- Optimize large database queries
- Block abusive bots via
.htaccess - Compress large images
Long-Term Solutions
- Upgrade to a higher hosting plan for more resources
- Implement a CDN for static content
- Optimize your application code
- Consider VPS hosting for resource-intensive applications
Monitoring Tips
- Check resource usage weekly to spot trends
- Set up uptime monitoring to get alerts when your site is down
- Review access logs to identify traffic patterns and bots
- Clean up old files, emails, and database entries regularly
Related Articles
Need help? Contact our support team at {{SUPPORT_EMAIL}} or open a ticket at {{SUPPORT_URL}}.