|   | 
      | 
  
  
      | 
      | 
  
 
     | 
    | 
  
  
     | 
    | 
  
  
    |   | 
      | 
  
  
    | 
         
xen-tools
RE: [Xen-tools] [PATCH] Add a --format parameter to xm list
 
> The following patch adds a --format option to xm list which 
> let's you specify a python formatting string to use.  Since 
> we're using named keys, it ends up working very nicely.  The 
> above can be done with:
> 
> res=`xm list -f "%(mem)d" $VM`
> 
> Which is considerably nicer and more robust against slight 
> changes in the display format.
Looks useful to me...
Ian
_______________________________________________
Xen-tools mailing list
Xen-tools@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-tools
 
 |   
 
 | 
    | 
  
  
    |   | 
    |