• We value your experience with Plesk during 2025
    Plesk strives to perform even better in 2026. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2025.
    Please take this short survey:

    https://survey.webpros.com/

Knowing disk space assigned to each Plesk/Domain accounts...

A

albatroz

Guest
Is there a way I can list the disk space assigned to each
of the Plesk accounts?
 
you will have to modify this to fit your needs and will be ran from the CLI unless you make a php page for this to be in.

Code:
mysql -uadmin -p'cat /etc/psa/.psa.shadow' psa
select d.displayName, du.httpdocs, du.httpsdocs, du.subdomains, du.web_users, du.anonftp from disk_usage du join domains d on d.id = du.dom_id;
 
Back
Top