Forrest logo
back to the qm tool

qm-stop:tldr:22e87

qm-stop: Stop a virtual machine and don't deactivate storage volumes.
$ qm stop --keepActive ${true} ${VM_ID}
try on your machine

The command you provided is using a command-line interface (CLI) tool called "qm" to stop a virtual machine (VM) with the given VM_ID.

Here's the breakdown of the command:

  • "qm" is the name of the CLI tool used to manage virtual machines in a virtualization environment, possibly related to Proxmox Virtual Environment.
  • "stop" is the option or subcommand used with "qm" to initiate the stopping process of a VM.
  • "--keepActive" is another option used with "qm" to specify that the stopping process should keep the VM marked as active even after stopping it.
  • "${true}" is a placeholder which suggests that the command assumes a variable or some other value that represents a boolean (true/false) state. In this case, it seems to specify that the VM should be kept active.
  • "${VM_ID}" is also a placeholder representing the actual VM ID that needs to be provided to the command. It could be a number or any other identifier.

So, the command is telling the "qm" tool to stop a specific VM identified by ${VM_ID} while keeping it marked as active (${true}).

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the qm tool