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
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
Built Distribution
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 522e6a399d45392a74d3f5cfe00013f9a3435e881ce0776eef3d8adf873e7611 |
|
MD5 | c5242287cd05b8513268e99b010c68e5 |
|
BLAKE2b-256 | dce903c7dfefda046df72b9555e3328e0e0c66a7322cea7dfa85f69660629216 |
File details
Details for the file pid_file_checker-1.0.1-py3-none-any.whl
.
File metadata
- Download URL: pid_file_checker-1.0.1-py3-none-any.whl
- Upload date:
- Size: 2.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.6 CPython/3.7.4 Darwin/20.4.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fdb85743a969dd0534c03f9a8a19c09d79000a4fe92f4dd28cb9970380136bd7 |
|
MD5 | c91f255bb678f5e0bf86673b35023896 |
|
BLAKE2b-256 | b879b8786f3f22bc1cbada78aca64517af555e1a36d48c3af05437a77d75d571 |