Linux command
qm-shutdown 命令
文本
复制后可按需替换文件名、目录或参数。
常用示例
Shutdown
qm shutdown vm_id
Example
qm shutdown --timeout 10 vm_id
Keep
qm shutdown --keepActive true vm_id
Skip
qm shutdown --skiplock true vm_id
Force
qm shutdown --forceStop true vm_id
说明
qm shutdown sends an ACPI shutdown signal to gracefully shut down a QEMU/KVM virtual machine in Proxmox VE. The guest operating system must respond to ACPI events for this to work properly.
参数
- vmid
- The numeric ID of the virtual machine
- --timeout _seconds_
- Maximum time to wait for the VM to shut down
- --keepActive _boolean_
- Do not deactivate storage volumes after shutdown
- --skiplock _boolean_
- Skip lock check (root only)
- --forceStop _boolean_
- Force stop the VM if it doesn't respond to shutdown
FAQ
What is the qm-shutdown command used for?
qm shutdown sends an ACPI shutdown signal to gracefully shut down a QEMU/KVM virtual machine in Proxmox VE. The guest operating system must respond to ACPI events for this to work properly.
How do I run a basic qm-shutdown example?
Run `qm shutdown vm_id` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does vmid do in qm-shutdown?
The numeric ID of the virtual machine