What is the SSH command to get the total amount of disk space for a reseller? I was trying to do the math however it's a bit more difficult with it being all in MB vs GB and a total amount.
Performing calculations manually in SSH would require creating a script as cPanel doesn't have an SSH command to return this information. However, the WHM interface does display the usage in the reseller section.
- Login to WHM
- Navigate to ( Home > Resellers > View Reseller Usage and Manage Account Status )
- Select the Reseller user in question to review their usage
You can find more information in the below documentation.
View Reseller Usage and Manage Account Status
The WHM API reseller stats may also be of interest as it includes many details such as the amount of disk being used.