Skip to main content

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


Download files

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

Source Distribution

process life-and-death monitor-0.1.0.tar.gz (4.6 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page