mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-03-20 03:57:02 +08:00
Minor output tweak to vhost-info script
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user