3

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

3

Use vzlist with the diskspace option, for instance:

vzlist -a -o ctid,hostname,diskspace -s diskspace
| improve this answer | |
  • 1
    How do i get it in GB? – Alex Sep 25 '18 at 5:12

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.