From 3ca6cca8f6d4f1cb7b1fad798b63e5ee627c97a7 Mon Sep 17 00:00:00 2001 From: RealStickman Date: Thu, 1 Dec 2022 08:51:34 +0100 Subject: [PATCH] Add commands to modify vm cpu limits --- pages/02.linux/xcp-ng/xe-cli/default.en.md | 29 +++++++++++++++++++--- 1 file changed, 25 insertions(+), 4 deletions(-) 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= =`