Searched refs:psutil (Results 1 – 20 of 20) sorted by relevance
11 import psutil13 psutil = None variable45 if not psutil:48 if psutil.version_info < (2, 0):50 ' for memory usage information.', psutil.__version__)58 mem = psutil.virtual_memory()63 for p in psutil.process_iter():66 except psutil.NoSuchProcess:83 pinfo = _GetProcessInfo(psutil.Process(os.getpid()))
14 import psutil36 for p in psutil.process_iter():45 except (psutil.NoSuchProcess, psutil.AccessDenied):54 except (psutil.NoSuchProcess, psutil.AccessDenied):59 except (psutil.NoSuchProcess, psutil.AccessDenied):
47 # Add a feature to detect if psutil is available49 import psutil50 lit_config.note('Found python psutil module')51 config.available_features.add("python-psutil")53 lit_config.warning('Could not import psutil. Some tests will be skipped and'
2 It requires a Python package, psutil, to be installed.3 See: https://pypi.python.org/pypi/psutil6 sudo ARCHFLAGS='-Wno-error=unused-command-line-argument-hard-error-in-future' easy_install psutil
12 import psutil28 self.samples.append(psutil.cpu_percent(1.0, False))
56 # Add a feature to detect if psutil is available58 import psutil59 lit_config.note('Found python psutil module')60 config.available_features.add("python-psutil")62 lit_config.warning('Could not import psutil. Some tests will be skipped and'
257 import psutil259 psutilProc = psutil.Process(pid)270 except psutil.NoSuchProcess:273 except psutil.NoSuchProcess:
267 import psutil269 psutilProc = psutil.Process(pid)280 except psutil.NoSuchProcess:283 except psutil.NoSuchProcess:
84 import psutil
407 import psutil409 psutilProc = psutil.Process(pid)420 except psutil.NoSuchProcess:423 except psutil.NoSuchProcess:
94 import psutil # noqa: F401
31 import psutil70 vmem = psutil.virtual_memory()
45 import psutil
91 pip2 install psutil92 pip3 install psutil
33 import psutil # pylint: disable=g-import-not-at-top160 open_files = psutil.Process().open_files()
13 psutil==4.3.1
55 import psutil57 psutil = None variable1247 if psutil:1248 proc = psutil.Process()1250 proc.ionice(psutil.IOPRIO_CLASS_IDLE)
11 import psutil30 p = psutil.Process(pid)
749 import psutil # pylint: disable=g-import-not-at-top752 proc = psutil.Process()766 import psutil # pylint: disable=g-import-not-at-top769 proc = psutil.Process()
172 ``psutil`` module but would also be more reliable as the