[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] xm: Extend width of ID in 'xm list --label' to 5 digits
# HG changeset patch # User kfraser@xxxxxxxxxxxxxxxxxxxxx # Date 1190124491 -3600 # Node ID e1c80d6bf2cf2f0616ab3e5da55dcb9dada0d4a8 # Parent da8b8fbe26c2f8d331420d914ae660a0f9c41b54 xm: Extend width of ID in 'xm list --label' to 5 digits Signed-off-by: Masaki Kanno <kanno.masaki@xxxxxxxxxxxxxx> --- tools/python/xen/xm/main.py | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff -r da8b8fbe26c2 -r e1c80d6bf2cf tools/python/xen/xm/main.py --- a/tools/python/xen/xm/main.py Tue Sep 18 15:06:20 2007 +0100 +++ b/tools/python/xen/xm/main.py Tue Sep 18 15:08:11 2007 +0100 @@ -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 _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |