qm-showcmd
Show QEMU command line for a Proxmox VM
TLDR
Show command-line used to start a VM
$ qm showcmd 100
Show with enhanced readability (one option per line)$ qm showcmd 100 --pretty 1
Show command-line from a specific snapshot$ qm showcmd 100 --snapshot snapshot_name
SYNOPSIS
qm showcmd vmid [options]
DESCRIPTION
qm showcmd displays the command-line that would be used to start a virtual machine. This is useful for debugging VM configuration and understanding how QEMU is invoked.The output shows all QEMU options and arguments based on the VM's current configuration or a specific snapshot.
PARAMETERS
--pretty boolean
Put each option on a new line for readability. Default is 0.--snapshot string
Fetch configuration from a given snapshot
CAVEATS
Debug information only; the actual command may vary at runtime. Configuration changes require VM restart to take effect.
HISTORY
Part of Proxmox VE QEMU/KVM management tools for debugging VM configuration.
