I have an OpenVZ server with 46 containers. How do I get a list of all the containers with their corresponding disk usage?
Use vzlist with the diskspace option, for instance:
vzlist -a -o ctid,hostname,diskspace -s diskspace
Sign up using Google
Sign up using Facebook
Sign up using Stack Exchange
1 year ago