Example #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, "?")
Example #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 "?"
Example #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, "?")
Example #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 "?"
Example #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 "?"
Example #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 "?"