Skip to main content

Monitor a pid file

Project description

pid-file-checker

$ pfc --help
usage: pfc [-h] pid_file

Check for the presence of a pid file. The file must contain one and only one
integer which must be the pid of a running process. Otherwise, return a code
!= 0. Meant to be used in a healthcheck context like with Docker or
Kubernetes.

positional arguments:
  pid_file    The pid file you want to monitor

optional arguments:
  -h, --help  show this help message and exit

Brought to you by IT4NW@ITSF.

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

pid-file-checker-1.0.1.tar.gz (2.4 kB view hashes)

Uploaded Source

Built Distribution

pid_file_checker-1.0.1-py3-none-any.whl (2.9 kB view hashes)

Uploaded Python 3

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