Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

pgrep python wrapper

Project description

Installation

$ [sudo] pip install pgrep

Functions

function __doc__
pgrep.pgrep(pattern) return a 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")
[]

python-readme-generator

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for pgrep, version 2019.4.13
Filename, size File type Python version Upload date Hashes
Filename, size pgrep-2019.4.13.tar.gz (1.3 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page