Forrest logo
back to the qm tool

qm-shutdown:tldr:09e85

qm-shutdown: Shutdown a virtual machine.
$ qm shutdown ${VM_ID}
try on your machine

The command "qm shutdown ${VM_ID}" is a command used in a Linux or Unix-like operating system to initiate the shutdown of a virtual machine (VM) identified by ${VM_ID}.

Here is a breakdown of the command:

  • "qm" is a command or utility that is specific to the Proxmox Virtual Environment (PVE) platform. It is used to manage and control virtual machines, such as starting, stopping, or managing their configurations.
  • "shutdown" is a subcommand of "qm" and is used to request the shutdown of a specified virtual machine. When this command is executed, it sends a signal to the VM to begin the shutdown process.
  • "${VM_ID}" is a placeholder variable that should be replaced with the actual ID or name of the virtual machine you want to shut down. The VM_ID is a unique identifier assigned to each virtual machine in the Proxmox environment.

By running this command, the specified virtual machine, identified by ${VM_ID}, will receive a shutdown signal, leading to the VM gradually powering off or halting its operations gracefully. Note that the actual shutdown process may vary depending on the operating system running within the virtual machine and any specific configurations or scripts in place.

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