wiki-grav/pages/02.linux/xcp-ng/xe-cli/default.en.md

706 B

title visible
xe CLI true

[toc]

VM Operations

Show running VMs
# xe vm-list --multiple power-state=running

Poweroff all VMs currently running
# xe vm-shutdown --multiple power-state=running

Start VM
# xe vm-start uuid=<vm uuid>

Snapshot management

TODO

VM Limits

Check current limits
# xe vm-param-get uuid=<vm uuid> param-name=<parameter>

Parameters:

VCPUs-max: Maximum number of CPU cores
VCPUs-at-startup: Number of CPU cores initially assigned

Set Limits
# xe vm-param-set uuid=<vm uuid> <parameter>=<value>

TODO Memory limits