Users Disk Space Quotas Usage in command line

The disk quota is a limit on how much data an account’s directory can contain. The quota is defined in Megabytes (MB). You are able to change an account’s disk quota from the List Accounts interface.

You could check user disk space and quotas on cPanel, but this simple command possible to save you time. This simple script will show you all the information you need to see how your users are utilizing their allotted disk space.

awk ‘$2 !~ /nobody/ {print $2}’ /etc/userdomains | sort -u | while read USROUT; do quota -v -u $USROUT; done


This is additional information to change an account’s disk quota
To change the quota:

Click the + button that corresponds to the account that you wish to edit. A hidden menu will open below the account’s row.

Click the Change Quota button. You will be redirected to the Quota Modification interface.

In the Quota Modification interface:

If the selected user is a reseller, click Show Only this Reseller’s Accounts to view only that reseller’s accounts.

If you view the accounts that belong to a specific reseller only, you can click Click Here to view all accounts.

Enter the new quota for the account under the Quota heading, or select Unlimited to remove the quota limit for the account.

Click Save.

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

cPanel & WHM Version 74 Now in STABLE

cPanel has released cPanel & WHM Version 74 to the STABLE tier. It includes updates for some...

Installing cpanel on google cloud

Create a new CentOS 7 instance on your google cloud engine. From the cPanel & WHM System...

Install Free SSL Let’s Encrypt plugin in cPanel

Let’s Encrypt is a trusted, open source certificate authority that offers free SSL certificates...

Replace MySQL with Percona in cPanel Server

Percona Server is an enhanced drop-in replacement for MySQL. If you are a web hosting service...

Install nginx as a reverse proxy cPanel plugin

Install Nginx on your cPanel/WHM server using the Engintron cPanel Plugin as a reverse proxy. It...

Powered by WHMCompleteSolution