Process life-and-death monitor
Project description
process-life-and-death-monitor
This program monitors running processes and highlights information about their creation and termination.
- Displays a list of processes that have command names or arguments or current directory that match the specified
query
. - The display is refreshed at regular intervals,
- with newly created processes in blue and terminated processes in red.
A screen shot
Installation
You can install the tool using pip:
pip install process-life-and-death-monitor
To uninstall:
pip uninstall process-life-and-death-monitor
Usage
Run the following command to use this program.
process-life-and-death-monitor [-i INTERVAL] [-l DURATION] [-x CMDNAME]... query
Command-line arguments and options
-i --interval INTERVAL
set the interval between checks (in seconds), default is 0.5
-l --highlight DURATION
set the duration to highlight the results (in seconds), default is 3.0
-x --cmd-exclude CMDNAME
add a command name to ignore
query
a pattern (regular expression) to identify processes to watch
Examples
To monitor processes that contain the word "python", run the following command.
process-life-and-death-monitor "python"
To exclude processes that contain the word "grep", run the following command.
process-life-and-death-monitor -x "grep" "python"
License
This program is licensed under the BSD 2-Clause License. See the LICENSE
file for more information.
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
Hashes for process life-and-death monitor-0.1.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 18fd2210d5b3db5d20c7da7142e3cb6c7f9a56d38f2a219d74eb1bd64adb86b3 |
|
MD5 | f567fc1924eebf102f32b51566aee396 |
|
BLAKE2b-256 | 6387ea291a36aef1491fe978cc3b4098906e5894eda09c354119214c3dcf32ed |