An open API service indexing awesome lists of open source software.

https://github.com/itsolutionsfactory/pid-file-checker

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.
https://github.com/itsolutionsfactory/pid-file-checker

daemon pid

Last synced: 10 months ago
JSON representation

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.

Awesome Lists containing this project

README

          

# 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.
```

## Installation

```bash
python -m pip install pid-file-checker
```