• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.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