search for: tracecommand

Displaying 1 result from an estimated 1 matches for "tracecommand".

2006 Mar 07
8
[PATCH] xm,xend: flesh out xm sched-sedf
...Tue Mar 7 17:18:16 2006 @@ -0,0 +1,62 @@ +#!/usr/bin/python + +# Copyright (C) International Business Machines Corp., 2005 +# Author: Dan Smith <danms@us.ibm.com> +# Author: Ryan Harper <ryanh@us.ibm.com> + +from XmTestLib import * + +def get_sedf_params(domain): + status, output = traceCommand("xm sched-sedf %s" %(domain.getName())) + return (status, output.split(''\n'')[1].split()) + + +domain = XmTestDomain(extraConfig = {"sched":"sedf"}) + +try: + domain.start() +except DomainError, e: + if verbose: + print "Failed to...