Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(1)  |  Call(1)  |  Derive(0)  |  Import(0)

        def listprocess(machine):
	mystdout,old_stdout = util.redirectStdout()
	port = search.getMachineAgentPort(machine)
	try:
		agent = agentclient(host=machine,port=port)
		agent.connect()
		agent.listprocess()
		print ""
	except:
		traceback.print_exc()
		print "listprocess invoke failed on %s " % machine

	util.finishRedirectStdout(old_stdout)
	return util.encode_output(mystdout.getvalue())
        


src/w/l/wlnm-1.0.1/wlnm/wlnsd.py   wlnm(Download)
def listprocess(machine):
	return server.listprocess(machine)
 
def kill(args):
	return server.kill(args)