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 git+https://github.com/tos-kamiya/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.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 08940c8fd78d580cb25072b4550b67770c26e61ebf705ce783b23bf6d99a92ec |
|
MD5 | 1b7da90778144e9af2a22ed527c32feb |
|
BLAKE2b-256 | 663b0649d889da0f7b96925d7cbeb18e6a359482acdf2c848a45369466ecf1fd |