[kvmstats] typo
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Alexis Ben Miloud--Josselin 2019-07-26 15:49:34 +02:00
parent a4a7eda8e2
commit a1c96fd929
1 changed files with 1 additions and 1 deletions

View File

@ -48,7 +48,7 @@ done
for VM in $(virsh list --name --all)
do
CPU=$(virsh vcpucount --maximum --current "$VM")
# libvirt store memoy in KiB, POW must be lowered by 1
# libvirt store memory in KiB, POW must be lowered by 1
RAM=$(virsh domstats --balloon "$VM" | awk 'BEGIN { FS="=" } /balloon.maximum/ { print $2 / '$((POW / 1024))'}')
DSK=$(for BLK in $(virsh domblklist "$VM" | sed '1,2d;/-$/d;/^$/d' | cut -d\ -f1)
do