How to list disk space usages of all containers on an OpenVZ server?

5,014

Use vzlist with the diskspace option, for instance:

vzlist -a -o ctid,hostname,diskspace -s diskspace
Share:
5,014

Related videos on Youtube

user3180
Author by

user3180

Updated on September 18, 2022

Comments

  • user3180
    user3180 over 1 year

    I have an OpenVZ server with 46 containers. How do I get a list of all the containers with their corresponding disk usage?

  • Alex
    Alex over 5 years
    How do i get it in GB?