Tuesday, November 23, 2010

OpenVZ CLI Commands

For my home testing enviroments I use a lot of openVZ containers on older 32 bit hardware with Proxmox VE.  Here are some useful commands for interacting directly with the openVZ subsystem on the hypervisor console.

vzlist - provides a listing of openVZ containers 
vztop - similar to esxtop for openvz
vzctl enter VM#- drops to the console of the container
vzctl start VM# - starts container
vzctl stop VM# - stops container
vzcalc - resource calc for container
vzdump - backup utility for continers
vzrestore - restoration of containers