diff --git a/pages/02.linux/xcp-ng/xe-cli/default.en.md b/pages/02.linux/xcp-ng/xe-cli/default.en.md index ee8baa3..f11110c 100644 --- a/pages/02.linux/xcp-ng/xe-cli/default.en.md +++ b/pages/02.linux/xcp-ng/xe-cli/default.en.md @@ -1,15 +1,36 @@ --- -title: 'xe CLI' +title: "xe CLI" visible: true --- [toc] + ## VM Operations + Show running VMs -`# xe vm-list --multiple power-state=running` +`# xe vm-list --multiple power-state=running` Poweroff all VMs currently running -`# xe vm-shutdown --multiple power-state=running` +`# xe vm-shutdown --multiple power-state=running` + +Start VM +`# xe vm-start uuid=` ## Snapshot management -*TODO* + +_TODO_ + +## VM Limits + +Check current limits +`# xe vm-param-get uuid= param-name=` + +Parameters: + +``` +VCPUs-max: Maximum number of CPU cores +VCPUs-at-startup: Number of CPU cores initially assigned +``` + +Set Limits +`# xe vm-param-set uuid= =`