pgrep python wrapper
Project description
Install
$ [sudo] pip install pgrep
Functions
function | description |
---|---|
pgrep.pgrep(pattern) |
return list with process IDs which matches the selection criteria |
Examples
>>> import pgrep
>>> pgrep.pgrep("Finder")
[322]
>>> pgrep.pgrep("bash")
[416, 434, 30681, 30918]
>>> pgrep.pgrep("not-existing-process")
[]
readme-md - README.md generator
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pgrep-2018.11.20.tar.gz
(1.2 kB
view hashes)
Built Distribution
Close
Hashes for pgrep-2018.11.20-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0984219a7031e7ad7bff84c1cc5618b9e95e8bf189ab5dc0393c83b311de65f4 |
|
MD5 | 76af027e2a4dfa52b211cf162d1e3c3d |
|
BLAKE2b-256 | 8f3a7f77eab1ea1adda29f538450af2bd335942b52a33de52844bfd81f745723 |