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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file pid-file-checker-1.0.1.tar.gz.

File metadata

  • Download URL: pid-file-checker-1.0.1.tar.gz
  • Upload date:
  • Size: 2.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.6 CPython/3.7.4 Darwin/20.4.0

File hashes

Hashes for pid-file-checker-1.0.1.tar.gz
Algorithm Hash digest
SHA256 522e6a399d45392a74d3f5cfe00013f9a3435e881ce0776eef3d8adf873e7611
MD5 c5242287cd05b8513268e99b010c68e5
BLAKE2b-256 dce903c7dfefda046df72b9555e3328e0e0c66a7322cea7dfa85f69660629216

See more details on using hashes here.

File details

Details for the file pid_file_checker-1.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for pid_file_checker-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 fdb85743a969dd0534c03f9a8a19c09d79000a4fe92f4dd28cb9970380136bd7
MD5 c91f255bb678f5e0bf86673b35023896
BLAKE2b-256 b879b8786f3f22bc1cbada78aca64517af555e1a36d48c3af05437a77d75d571

See more details on using hashes here.

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