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