2025-03-14 21:59:59 -06:00
|
|
|
# qm showcmd
|
|
|
|
|
|
|
|
|
|
> Show command-line which is used to start the VM (debug info).
|
2025-12-16 10:20:31 -07:00
|
|
|
> More information: <https://pve.proxmox.com/pve-docs/qm.1.html#cli_qm_showcmd>.
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- Show command-line for a specific virtual machine:
|
|
|
|
|
|
2025-09-14 18:48:49 -06:00
|
|
|
`qm {{[sho|showcmd]}} {{vm_id}}`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- Put each option on a new line to enhance human readability:
|
|
|
|
|
|
2025-09-14 18:48:49 -06:00
|
|
|
`qm {{[sho|showcmd]}} --pretty {{true}} {{vm_id}}`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- Fetch configuration values from a specific snapshot:
|
|
|
|
|
|
2025-09-14 18:48:49 -06:00
|
|
|
`qm {{[sho|showcmd]}} --snapshot {{string}} {{vm_id}}`
|