3

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

user3180
  • 337
  • 1
  • 4
  • 13

1 Answers1

3

Use vzlist with the diskspace option, for instance:

vzlist -a -o ctid,hostname,diskspace -s diskspace
Michael Hampton
  • 237,123
  • 42
  • 477
  • 940