diff --git a/scripts/vhost-info b/scripts/vhost-info index b350f27df8..eabf2d0749 100755 --- a/scripts/vhost-info +++ b/scripts/vhost-info @@ -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: