Lines Matching refs:psutil
29 import psutil
38 import psutil
39 if not hasattr(psutil.Process, "children") and hasattr(psutil.Process, "get_children"):
40 psutil.Process.children = psutil.Process.get_children
41 if not hasattr(psutil.Process, "memory_maps") and hasattr(psutil.Process, "get_memory_maps"):
42 psutil.Process.memory_maps = psutil.Process.get_memory_maps
45 print("Error: 'psutil' module not available. Run\n"
47 " pip install --user psutil\n"
52 # The psutil.Process.cpu_times() API changed at version 4.1.0.
92 self.proc = psutil.Process(self.pid)
102 except psutil.NoSuchProcess:
104 except psutil.AccessDenied:
117 except psutil.AccessDenied as err:
148 except psutil.NoSuchProcess: