• Inviting everyone who uses WordPress management tools in Plesk
    The Plesk team is conducting a 60-minute research session that includes an interview and a moderated usability test.
    To participate, please use this link .
    Your experience will help shape product decisions and ensure the tools better support real-world use cases.

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