• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

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