Esempio n. 1
0
 def get_num_handles(self):
     try:
         return _psutil_mswindows.get_process_num_handles(self.pid)
     except OSError:
         err = sys.exc_info()[1]
         if err.errno in ACCESS_DENIED_SET:
             return _psutil_mswindows.get_process_num_handles_2(self.pid)
         raise
Esempio n. 2
0
 def get_num_handles(self):
     return _psutil_mswindows.get_process_num_handles(self.pid)
Esempio n. 3
0
 def get_num_handles(self):
     return _psutil_mswindows.get_process_num_handles(self.pid)