Better vCPU count
The `virsh vcpucount` can output the maximum or current values, but only one of the flags should be used at the same time.
This commit is contained in:
parent
029073c3b0
commit
5133a159d1
2
kvmstats/kvmstats
Executable file → Normal file
2
kvmstats/kvmstats
Executable file → Normal file
|
@ -67,7 +67,7 @@ do
|
||||||
echo "$VM"
|
echo "$VM"
|
||||||
|
|
||||||
# cpu
|
# cpu
|
||||||
virsh vcpucount --maximum --current "$VM"
|
virsh vcpucount --current "$VM"
|
||||||
|
|
||||||
# mem
|
# mem
|
||||||
# libvirt store memory in KiB, POW must be lowered by 1
|
# libvirt store memory in KiB, POW must be lowered by 1
|
||||||
|
|
Loading…
Reference in a new issue