Proxmox Virtual Machine Commands (qm) Cheat Sheet¶
this Proxmox VE (Virtual Environment) cheatsheet is divided into the two main command sets: qm for Virtual Machines (QEMU/KVM) and pct for Containers (LXC). These commands manage full virtual machines. Replace [vmid] with the numerical ID of your VM (e.g., 100).
List All VMs:
Start VM:
Stop VM (Graceful):
Stop VM (Immediate):
Reset VM:
Clone VM:
Remove VM:
Unlock VM:
Show Config:
Terminal Proxy:
Proxmox Container Commands (pct)¶
These are specific to the LXC containers running on your Proxmox host.
List All Containers:
Start Container:
Stop Container:
Enter Shell:
Execute Command:
Show Config:
Clone Container:
Mount CT Disk:
Unmount CT Disk:
Storage & Backup (vzdump/pvesm)¶
Proxmox uses vzdump for backups and pvesm for storage management.
Backup VM/CT:
Restore VM:
Restore Container:
List Storage Pools:
List Content in Pool:
Free Up Space:
Cluster & System Management¶
Use these for node-level operations and health checks.
Cluster Status:
Check Services:
Update Node Repos:
Update Proxmox:
View Task Logs:
Restart Web GUI:
Common Troubleshooting¶
- Fix "No Subscription" Error: If you are using the free version, you often need to disable the enterprise repo in /etc/apt/sources.list.d/pve-enterprise.list.
- Zombie Locks: If a VM is stuck in a "locked" state after a failed backup, use qm unlock [vmid].
- High CPU/Load: Use htop (you may need to install it with apt install htop) to see which process is eating resources on the host. Would you like me to include the Port Reference I mentioned earlier (listing the default ports for Proxmox, SSH, Web GUIs, etc.)?