Forrest logo
back to the qm tool

qm-shutdown:tldr:6e48a

qm-shutdown: Shutdown a virtual machine after wait for at most 10 seconds.
$ qm shutdown --timeout ${10} ${VM_ID}
try on your machine

This command is a command-line instruction that shuts down a virtual machine (VM) using the "qm" command. Here's the breakdown of its components:

  • "qm" refers to the command or the tool being used to manage virtual machines. It is likely a short form for "QEMU", a widely used open-source virtualization software.
  • "shutdown" is the action being performed, indicating that the virtual machine needs to be shut down or powered off.
  • "--timeout" is an option or a flag that specifies the duration allowed for the shutdown process before forcefully terminating it.
  • "${10}" is a placeholder for a variable denoting the timeout value. In this case, it represents the time limit for the shutdown operation. The actual value of the variable is not provided in the given command.
  • "${VM_ID}" is another placeholder for a variable that represents the ID or name of the virtual machine being shut down. The actual value of this variable is also not provided.

To use this command effectively, you would need to replace the variables "${10}" and "${VM_ID}" with suitable values according to your specific scenario.

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