pve之命令

pvesr list
ha-manager status
pvecm nodes
pvecm status
pveperf
qm list


root@cu-pve06:~# pvesr list
JobID                Target                 Schedule  Rate  Enabled

root@cu-pve06:~# qm list
      VMID NAME                 STATUS     MEM(MB)    BOOTDISK(GB) PID
       101 VM 101               stopped    128                0.00 0
       102 VM 102               running    4000              50.00 6903


root@cu-pve06:~# ha-manager status
quorum OK

root@cu-pve06:~# pvecm nodes

Membership information
----------------------
    Nodeid      Votes Name
         1          1 192.168.1.4
         2          1 192.168.1.5
         3          1 192.168.1.6 (local)
root@cu-pve06:~# pvecm status
Quorum information
------------------
Date:             Wed May  8 17:49:21 2019
Quorum provider:  corosync_votequorum
Nodes:            3
Node ID:          0x00000003
Ring ID:          1/100
Quorate:          Yes

Votequorum information
----------------------
Expected votes:   3
Highest expected: 3
Total votes:      3
Quorum:           2
Flags:            Quorate

Membership information
----------------------
    Nodeid      Votes Name
0x00000001          1 192.168.1.4
0x00000002          1 192.168.1.5
0x00000003          1 192.168.1.6 (local)
root@cu-pve06:~#


root@cu-pve06:~# pveperf
CPU BOGOMIPS:      448182.84
REGEX/SECOND:      2691997
HD SIZE:           81.16 GB (/dev/mapper/pve-root)
BUFFERED READS:    344.89 MB/sec
AVERAGE SEEK TIME: 0.11 ms
FSYNCS/SECOND:     749.20
DNS EXT:           48.88 ms
DNS INT:           66.61 ms (ka1che.com)

root@cu-pve06:~# qm list
      VMID NAME                 STATUS     MEM(MB)    BOOTDISK(GB) PID
       101 VM 101               stopped    128                0.00 0
       102 VM 102               running    4000              50.00 6903
       103 cu-dbs04             stopped    16384            100.00 0
       104 app-tpl100g          stopped    102400           100.00 0
       105 cu-app01             stopped    102400           100.00 0
       106 cu-app02             stopped    102400           100.00 0
       107 cu-app03             stopped    4000              50.00 0
       108 cu-app04             stopped    4000              50.00 0
       109 test01               stopped    4000              50.00 0
原文地址:https://www.cnblogs.com/createyuan/p/10833439.html