xm: Extend width of ID in 'xm list --label' to 5 digits

Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com>
This commit is contained in:
kfraser@localhost.localdomain committed 2007-09-18 15:08:11 +01:00
1 parent 3edb495707
commit 5d942ff119
1 file changed
+2 -2
+2 -2
View File
@@ -931,11 +931,11 @@ def xm_brief_list(doms):
print format % d
def xm_label_list(doms):
print '%-40s %3s %5s %5s %10s %9s %-10s' % \
print '%-40s %5s %5s %5s %10s %9s %-10s' % \
('Name', 'ID', 'Mem', 'VCPUs', 'State', 'Time(s)', 'Label')
output = []
format = '%(name)-40s %(domid)3s %(mem)5d %(vcpus)5d %(state)10s ' \
format = '%(name)-40s %(domid)5s %(mem)5d %(vcpus)5d %(state)10s ' \
'%(cpu_time)8.1f %(seclabel)10s'
import xen.util.xsm.xsm as security
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.