5 Ways to Get a User’s Disk Usage

This may seem pretty simple, but I see a lot of questions about how to get a user’s disk space usage on a cPanel user. I put together a quick list of 5 simple ways for the average admin:

1) Good ole’ cPanel/WHM. You can see the usage on the left-hand side of cPanel, or in the ‘List Accounts’ view of WHM

2) Quota cache:

egrep “^${user} ” /var/cpanel/repquota.cache

3) Actual quota:

quota -v | egrep “^${user} “

4) Manual du:

du -h /home/$user

5) cPanel datastore:

cat /home/$user/.cpanel/datastore/_usr_bin_quota_-v

  • 36 Users Found This Useful
這篇文章有幫助嗎?

相關文章

500 Internal Server Error help

First remember that “Internal Server Error” does not mean a server problem. It implies an...

Adjust Email Quota

If you need to adjust your email mailbox quota, you can do so from within your cPanel account.1)...

Changing an FTP User’s Path

By default, your main FTP (cPanel) user will have and FTP path to the user’s home folder, and...

Common cPanel Commands List

Most Common Linux Cpanel Commands for Server Admins & Cpanel Users .Limit webuser resources...

Cpanel Not Loading Properly

The issue is due to the domain using cloudflare:When using cloudflare, you'll need to access...