diff options
| author | Kevin Fenzi <kevin@scrye.com> | 2016-02-10 17:52:56 +0000 |
|---|---|---|
| committer | Kevin Fenzi <kevin@scrye.com> | 2016-02-10 17:52:56 +0000 |
| commit | 5cb076b3d7b93866b08bfdba18d19b2b3fea2eed (patch) | |
| tree | 9de332ace6a9a19ae400847e24f372106aab9544 /scripts | |
| parent | 27c9a873c839738f53b90a3203ae792c8e9861fa (diff) | |
| download | ansible-5cb076b3d7b93866b08bfdba18d19b2b3fea2eed.tar.gz ansible-5cb076b3d7b93866b08bfdba18d19b2b3fea2eed.tar.xz ansible-5cb076b3d7b93866b08bfdba18d19b2b3fea2eed.zip | |
Make a torrent02 and people02
Diffstat (limited to 'scripts')
| -rwxr-xr-x | scripts/vhost-info | 2 |
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 |
