[kvmstats] Typo
"I don't sing my mother tongue"
This commit is contained in:
parent
3efd024075
commit
1cc11d39ee
|
@ -70,7 +70,7 @@ do
|
|||
virsh vcpucount --current "$VM"
|
||||
|
||||
# mem
|
||||
# libvirt store memory in KiB, POW must be lowered by 1
|
||||
# libvirt stores memory in KiB, POW must be lowered by 1
|
||||
virsh dommemstat "$VM" 2>&- | awk 'BEGIN{ret=1}$1~/^actual$/{print $2 / '$((POW / 1024))';ret=0}END{exit ret}' ||
|
||||
virsh dumpxml "$VM" | awk -F'[<>]' '$2~/^memory unit/{print $3/'$((POW / 1024))'}'
|
||||
|
||||
|
|
Loading…
Reference in a new issue