Minor output tweak to vhost-info script

This commit is contained in:
Kevin Fenzi 2013-08-25 19:29:23 +00:00
parent 66621b512e
commit 9f2514c5b9
1 changed files with 2 additions and 2 deletions

View File

@ -111,8 +111,8 @@ for hn in sorted(res['contacted']):
for hn in sorted(mem_per_host):
freemem = mem_per_host[hn] - mem_used_in_vm[hn]
freecpu = cpu_per_host[hn] - cpu_used_in_vm[hn]
print '%s:\t%s mem\t%s/%s cpus' % (
hn, freemem, freecpu, cpu_per_host[hn])
print '%s:\t%s/%s mem(unused/total)\t%s/%s cpus(unused/total)' % (
hn, freemem, mem_per_host[hn], freecpu, cpu_per_host[hn])
for err in errors: