Introduction
When a cPanel user exceeds their disk quota, you may want to know where the disk usage is located when determining if the cPanel user's disk quota should be increased or if the user can reduce disk usage.
Procedure
You can obtain a summary of a cPanel user's disk usage in cPanel >> Files Section >> Disk Usage.
Optionally, you can use the du command in SSH to obtain a summary of a user's disk usage within the user's home directory.
Example:
# du -h --max-depth=1 /home/cptest1/| sort -nr
768K /home/cpaneluser/tmp
304K /home/cpaneluser/mail
220K /home/cpaneluser/.cpanel
36K /home/cpaneluser/ssl
28K /home/cpaneluser/logs
25M /home/cpaneluser/
16K /home/cpaneluser/.subaccounts
7.0M /home/cpaneluser/site_publisher
4.5M /home/cpaneluser/public_html
4.0K /home/cpaneluser/.spamassassin
1.6M /home/cpaneluser/.cphorde
1.4M /home/cpaneluser/etc
Comments
0 comments
Article is closed for comments.