|
|
@ -10,8 +10,6 @@ import mitogen.utils
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class Host(object):
|
|
|
|
class Host(object):
|
|
|
|
# Incremented once for each received ps output, copied to task struct. Used
|
|
|
|
|
|
|
|
# to find dead tasks.
|
|
|
|
|
|
|
|
name = None
|
|
|
|
name = None
|
|
|
|
context = None
|
|
|
|
context = None
|
|
|
|
recv = None
|
|
|
|
recv = None
|
|
|
@ -19,6 +17,7 @@ class Host(object):
|
|
|
|
def __init__(self):
|
|
|
|
def __init__(self):
|
|
|
|
self.procs = {} #: pid -> Process()
|
|
|
|
self.procs = {} #: pid -> Process()
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class Process(object):
|
|
|
|
class Process(object):
|
|
|
|
host = None
|
|
|
|
host = None
|
|
|
|
user = None
|
|
|
|
user = None
|
|
|
|