summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorKevin Fenzi <kevin@scrye.com>2016-02-10 17:52:56 +0000
committerKevin Fenzi <kevin@scrye.com>2016-02-10 17:52:56 +0000
commit5cb076b3d7b93866b08bfdba18d19b2b3fea2eed (patch)
tree9de332ace6a9a19ae400847e24f372106aab9544 /scripts
parent27c9a873c839738f53b90a3203ae792c8e9861fa (diff)
downloadansible-5cb076b3d7b93866b08bfdba18d19b2b3fea2eed.tar.gz
ansible-5cb076b3d7b93866b08bfdba18d19b2b3fea2eed.tar.xz
ansible-5cb076b3d7b93866b08bfdba18d19b2b3fea2eed.zip
Make a torrent02 and people02
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/vhost-info2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/vhost-info b/scripts/vhost-info
index eabf2d074..ae2525d43 100755
--- a/scripts/vhost-info
+++ b/scripts/vhost-info
@@ -101,7 +101,7 @@ for hn in sorted(res['contacted']):
elif type(info) != dict:
continue
- mem_used += int(info.get('maxMem', 0))/1024
+ mem_used += int(info.get('memory', 0))/1024
cpu_used += info.get('nrVirtCpu', 0)
mem_used_in_vm[hn] = mem_used