Forrest logo
back to the qm tool

qm-showcmd:tldr:cb36b

qm-showcmd: Show command-line for a specific virtual machine.
$ qm showcmd ${vm_id}
try on your machine

The command "qm showcmd ${vm_id}" is used in Proxmox VE to display the full command that was used to create a virtual machine (VM) with a specific ID.

Here's how to break down the command:

  • "qm" refers to the "Qemu Manager" command-line tool in Proxmox VE, which is used to manage virtual machines.
  • "showcmd" is a sub-command of "qm" that is used to display the command that was used to create a specific VM.
  • "${vm_id}" is a placeholder that should be replaced with the actual ID of the virtual machine you want to display the command for.

When you run this command, it will output the full command that was used to create the specified virtual machine, including all the options, settings, and parameters that were used during the creation process. This can be useful for troubleshooting, documentation, or replicating the creation of a VM.

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