ia64/xen-unstable

changeset 1501:aab6212ef9c5

bitkeeper revision 1.979 (40d1bc30c7N3IfuGfxpE_3k83MUNaA)

Merge labyrinth.cl.cam.ac.uk:/auto/groups/xeno/BK/xeno.bk
into labyrinth.cl.cam.ac.uk:/auto/anfs/scratch/labyrinth/iap10/xeno-clone/xeno.bk
author iap10@labyrinth.cl.cam.ac.uk
date Thu Jun 17 15:43:44 2004 +0000 (2004-06-17)
parents 231c7f2a212e 90c79ca0b23e
children 7916e2d4ce11
files tools/examples/xm_dom_control.py
line diff
     1.1 --- a/tools/examples/xm_dom_control.py	Thu Jun 17 15:15:27 2004 +0000
     1.2 +++ b/tools/examples/xm_dom_control.py	Thu Jun 17 15:43:44 2004 +0000
     1.3 @@ -137,9 +137,8 @@ elif cmd == 'list':
     1.4          d['mem'] = int(sxp.child_value(info, 'memory', '0'))
     1.5          d['cpu'] = int(sxp.child_value(info, 'cpu', '0'))
     1.6          d['state'] = sxp.child_value(info, 'state', '??')
     1.7 -        d['cpu_time'] = float(sxp.child_value(info, 'cpu_time', '0')
     1.8 -        print ("%(dom)-4d %(name)-16s %(mem)7d %(cpu)3d %(state)5s %(cpu_time)8.2f"
     1.9 -               % d)
    1.10 +        d['cpu_time'] = float(sxp.child_value(info, 'cpu_time', '0'))
    1.11 +        print ("%(dom)-4d %(name)-16s %(mem)7d %(cpu)3d %(state)5s %(cpu_time)8.2f" % d)
    1.12  
    1.13  elif cmd == 'unwatch':
    1.14      auto_restart_kill(dom)