HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

qm showcmd — Show command-line which is used to start the VM (debug info). More information: <https://pve.proxmox

Submitted by: @import:tldr-pages··
0
Viewed 0 times
commandshowusedcliqm showcmdwhichline
linux

Problem

How to use the qm showcmd command: Show command-line which is used to start the VM (debug info). More information: <https://pve.proxmox.com/pve-docs/qm.1.html#cli_qm_showcmd>.

Solution

qm showcmd — Show command-line which is used to start the VM (debug info). More information: <https://pve.proxmox.com/pve-docs/qm.1.html#cli_qm_showcmd>.

Show command-line for a specific virtual machine:
qm {{[sho|showcmd]}} {{vm_id}}


Put each option on a new line to enhance human readability:
qm {{[sho|showcmd]}} --pretty {{true}} {{vm_id}}


Fetch configuration values from a specific snapshot:
qm {{[sho|showcmd]}} --snapshot {{string}} {{vm_id}}

Code Snippets

Show command-line for a specific virtual machine

qm {{[sho|showcmd]}} {{vm_id}}

Put each option on a new line to enhance human readability

qm {{[sho|showcmd]}} --pretty {{true}} {{vm_id}}

Fetch configuration values from a specific snapshot

qm {{[sho|showcmd]}} --snapshot {{string}} {{vm_id}}

Context

tldr-pages: linux/qm showcmd

Revisions (0)

No revisions yet.