diff options
author | kfraser@localhost.localdomain <kfraser@localhost.localdomain> | 2007-09-18 15:08:11 +0100 |
---|---|---|
committer | kfraser@localhost.localdomain <kfraser@localhost.localdomain> | 2007-09-18 15:08:11 +0100 |
commit | 5d942ff1199548cd4c1ba170d4e7c64dabd73a68 (patch) | |
tree | d0883f98293a245546b990c5369b2197810a7736 /tools | |
parent | 3edb495707c66d2c7f7702691399dd4671ef1aa0 (diff) | |
download | xen-5d942ff1199548cd4c1ba170d4e7c64dabd73a68.tar.gz xen-5d942ff1199548cd4c1ba170d4e7c64dabd73a68.tar.bz2 xen-5d942ff1199548cd4c1ba170d4e7c64dabd73a68.zip |
xm: Extend width of ID in 'xm list --label' to 5 digits
Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com>
Diffstat (limited to 'tools')
-rw-r--r-- | tools/python/xen/xm/main.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/python/xen/xm/main.py b/tools/python/xen/xm/main.py index 76f5d2a50b..25f7c4e1da 100644 --- a/tools/python/xen/xm/main.py +++ b/tools/python/xen/xm/main.py @@ -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 |