Start porting vhost-info to python3
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
This commit is contained in:
parent
c05f210557
commit
518d72347c
1 changed files with 2 additions and 2 deletions
|
@ -100,5 +100,5 @@ for vhostname in sorted(cb.mem_per_host):
|
||||||
insecure = ''
|
insecure = ''
|
||||||
if vhostname in unpatched_spectre:
|
if vhostname in unpatched_spectre:
|
||||||
insecure = ' (NOT PATCHED FOR SPECTRE)'
|
insecure = ' (NOT PATCHED FOR SPECTRE)'
|
||||||
print('%s:\t%s/%s mem(unused/total)\t%s/%s cpus(unused/total) %s' % (
|
print(('%s:\t%s/%s mem(unused/total)\t%s/%s cpus(unused/total) %s' % (
|
||||||
vhostname, freemem, cb.mem_per_host[vhostname], freecpu, cb.cpu_per_host[vhostname], insecure))
|
vhostname, freemem, cb.mem_per_host[vhostname], freecpu, cb.cpu_per_host[vhostname], insecure)))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue