1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

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

Discussion in 'Plesk for Linux - 8.x and Older' started by albatroz, Oct 12, 2007.

  1. albatroz

    albatroz Guest

    0
     
    Is there a way I can list the disk space assigned to each
    of the Plesk accounts?
     
  2. Amin Taheri

    Amin Taheri Golden Pleskian Plesk Certified Professional

    33
     
    Joined:
    Jul 5, 2007
    Messages:
    1,398
    Likes Received:
    1
    Location:
    Seattle Area
    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;
    
     
Loading...