Minor output tweak to vhost-info script
This commit is contained in:
parent
66621b512e
commit
9f2514c5b9
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue