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:
Jérémy Lecour 2019-09-03 10:58:05 +02:00
parent 029073c3b0
commit 5133a159d1
1 changed files with 1 additions and 1 deletions

2
kvmstats/kvmstats Executable file → Normal file
View File

@ -67,7 +67,7 @@ do
echo "$VM"
# cpu
virsh vcpucount --maximum --current "$VM"
virsh vcpucount --current "$VM"
# mem
# libvirt store memory in KiB, POW must be lowered by 1