大网数据广告活动
Linux 与通用命令

qm · 常用命令示例

· 52CE 我爱测

QEMU/KVM Virtual Machine Manager. > Some subcommands such as `list`, `start`, `stop`, `clone`, etc. have their own usage documentation. > More information: <https://pve.proxmox.com/pve-docs/qm.1.html>.

qm

QEMU/KVM Virtual Machine Manager. Some subcommands such as list, start, stop, clone, etc. have their own usage documentation. More information: https://pve.proxmox.com/pve-docs/qm.1.html.

  • List all virtual machines:

qm list

  • Create a virtual machine with a 4 GB SCSI disk on the local-lvm storage and an ID of 100 using an ISO file uploaded on the local storage:

qm 100 --scsi0 local-lvm:4 --net0 --cdrom local:

  • Show the configuration of a virtual machine, specifying its ID:

qm

  • Start a specific virtual machine:

qm start

  • Send a shutdown request, then wait until the virtual machine is stopped:

qm && qm

  • Destroy a virtual machine and remove all related resources:

qm --purge

来源:tldr-pages contributors · 作者与贡献记录 · CC BY 4.0。离线整理了版式、链接和媒体显示。

资料来源与适用范围

资料来源
tldr-pages contributors
适用范围
请按文中版本与环境说明核对
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY 4.0

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。