コード例 #1
0
ファイル: _psbsd.py プロジェクト: OYZQ/odoo_qingjia
 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
ファイル: _psbsd.py プロジェクト: 571451370/devstack_mitaka
 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
ファイル: _psbsd.py プロジェクト: THM1/fly-laserbox
 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
ファイル: _psbsd.py プロジェクト: bdrich/neutron-lbaas
 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
ファイル: _psbsd.py プロジェクト: BenningtonCS/GFS
 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 "?"