def list_ctids():
 with settings(hide('running', 'stdout')):
  res = run_as_root('vzlist -a -1')
 return map(int, res.splitlines())

def list_ctids ( ) : with settings ( hide ( 'running' , 'stdout' ) ) : res = run_as_root ( 'vzlist -a -1' ) return map ( int , res . splitlines ( ) )
get the list of currently used ctids .