๐Ÿ“˜Common OpenVZ 6 & 7 & SolusVM commands

These commands are helpful for managing OpenVZ containers on nodes managed by SolusVM, compatible with OpenVZ 6 and OpenVZ 7 environments.


๐Ÿ” List All VMs on the VPS Node

Show all virtual machines on the node:

vzlist -a

๐Ÿ“Š Show VMs by Load Average (Highest First)

List all VMs with their VPS ID and current load average:

vzlist -o vpsid,laverage

๐Ÿ“› Show Load Average with Hostname

Same as above, but includes the VMโ€™s hostname:

vzlist -o laverage,vpsid,hostname

๐Ÿ’พ Show Disk Space Usage (Sorted by Usage)

See which VM is using the most disk space (useful for cleanup or billing):

vzlist -a -o ctid,hostname,diskspace -s diskspace

๐Ÿ” Enter a Container (Root Shell)

To access a container from the node:

vzctl enter <CTID>

Replace <CTID> with the container’s ID (found using vzlist -a).


๐Ÿ“ Notes:

  • On OpenVZ 7, the command-line tool is prlctl (or vzctl if legacy tools are installed), but many OpenVZ 6 commands still work with compatibility.
  • Ensure you are root when running these commands on the node.
  • vzlist output can be customized further using different column combinations (vzlist --help for more info).
Scroll to Top