Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Current »


qm - Qemu/KVM Virtual Machine Manager


https://pve.proxmox.com/pve-docs/qm.1.html


qm

qm help
root@hp8300:~# qm --help
ERROR: unknown command 'qm --help'
USAGE: qm <COMMAND> [ARGS] [OPTIONS]

       qm cloudinit dump <vmid> <type>

       qm guest cmd <vmid> <command>
       qm guest exec-status <vmid> <pid>
       qm guest passwd <vmid> <username> [OPTIONS]
       qm guest exec <vmid> [<extra-args>] [OPTIONS]

       qm clone <vmid> <newid> [OPTIONS]
       qm config <vmid> [OPTIONS]
       qm create <vmid> [OPTIONS]
       qm delsnapshot <vmid> <snapname> [OPTIONS]
       qm destroy <vmid> [OPTIONS]
       qm list  [OPTIONS]
       qm listsnapshot <vmid>
       qm migrate <vmid> <target> [OPTIONS]
       qm move_disk <vmid> <disk> <storage> [OPTIONS]
       qm pending <vmid>
       qm reboot <vmid> [OPTIONS]
       qm reset <vmid> [OPTIONS]
       qm resize <vmid> <disk> <size> [OPTIONS]
       qm resume <vmid> [OPTIONS]
       qm rollback <vmid> <snapname>
       qm sendkey <vmid> <key> [OPTIONS]
       qm set <vmid> [OPTIONS]
       qm shutdown <vmid> [OPTIONS]
       qm snapshot <vmid> <snapname> [OPTIONS]
       qm start <vmid> [OPTIONS]
       qm stop <vmid> [OPTIONS]
       qm suspend <vmid> [OPTIONS]
       qm template <vmid> [OPTIONS]
       qm unlink <vmid> --idlist <string> [OPTIONS]

       qm cleanup <vmid> <clean-shutdown> <guest-requested>
       qm importdisk <vmid> <source> <storage> [OPTIONS]
       qm importovf <vmid> <manifest> <storage> [OPTIONS]
       qm monitor <vmid>
       qm mtunnel 
       qm nbdstop <vmid>
       qm rescan  [OPTIONS]
       qm showcmd <vmid> [OPTIONS]
       qm status <vmid> [OPTIONS]
       qm terminal <vmid> [OPTIONS]
       qm unlock <vmid>
       qm vncproxy <vmid>
       qm wait <vmid> [OPTIONS]

       qm help [<extra-args>] [OPTIONS]
qm list

qm list
root@hp8300:~# qm list
      VMID NAME                 STATUS     MEM(MB)    BOOTDISK(GB) PID       
       100 server01             stopped    2048              20.00 0         
       101 kali01               stopped    2048              32.00 0         
       104 Conductor            running    4048              27.00 1315      
       105 Clone128T            stopped    3072              27.00 0         
       106 RouterDC1            running    3072              27.00 1419      
root@hp8300:~#
qm stop


qm stop <vm_id>
root@hp8300:~# qm stop 106

root@hp8300:~# qm list
      VMID NAME                 STATUS     MEM(MB)    BOOTDISK(GB) PID       
       100 server01             stopped    2048              20.00 0         
       101 kali01               stopped    2048              32.00 0         
       104 Conductor            running    4048              27.00 1315      
       105 Clone128T            stopped    3072              27.00 0         
       106 RouterDC1            stopped    3072              27.00 0         
root@hp8300:~# 




  • No labels