示例#1
0
 def get_process_status(self):
     code = _psutil_bsd.get_process_status(self.pid)
     if code in _status_map:
         return _status_map[code]
     return constant(-1, "?")
示例#2
0
 def get_process_status(self):
     code = _psutil_bsd.get_process_status(self.pid)
     if code in PROC_STATUSES:
         return PROC_STATUSES[code]
     # XXX is this legit? will we even ever get here?
     return "?"
示例#3
0
 def get_process_status(self):
     code = _psutil_bsd.get_process_status(self.pid)
     if code in _status_map:
         return _status_map[code]
     return constant(-1, "?")
示例#4
0
 def get_process_status(self):
     code = _psutil_bsd.get_process_status(self.pid)
     if code in PROC_STATUSES:
         return PROC_STATUSES[code]
     # XXX is this legit? will we even ever get here?
     return "?"
示例#5
0
 def get_process_status(self):
     code = _psutil_bsd.get_process_status(self.pid)
     if code in _status_map:
         return _status_map[code]
     # XXX is this legit? will we even ever get here?
     return "?"
示例#6
0
 def get_process_status(self):
     code = _psutil_bsd.get_process_status(self.pid)
     if code in _status_map:
         return _status_map[code]
     # XXX is this legit? will we even ever get here?
     return "?"