1
0
HTTP service that returns a list of process' names with boolean values that respectively telling us if process is running or not. For UNIX-like OS only.
Go to file
2022-01-02 02:57:57 +04:00
contrib Moving aux files into contrib dir. Added PKGBULD for Archlinux. 2022-01-02 02:57:57 +04:00
prog Moving other source code files into prog package. Renaming processes.json to config.json. 2022-01-02 02:56:46 +04:00
.gitignore [.gitignore] Let it suite this project already. 2021-12-24 21:11:22 +04:00
go.mod Initial commit. 2021-03-13 03:17:30 +04:00
main.go Moving other source code files into prog package. Renaming processes.json to config.json. 2022-01-02 02:56:46 +04:00
Makefile [Makefile] $() -> ${}. Use install the right way. Make it ready for PKGBUILD using DESTDIR. Added clean target. 2021-12-24 21:17:36 +04:00
README.md Updated README. 2021-12-24 23:47:07 +04:00

httpprocwatchd Ver 1.2

This utility provides a HTTP /processes GET endpoint that returns a list of processes and if they are currently running or not.

A list of processes could be in JSON or XML format, By default JSON being returned. To get XML you need to provide a Accept: application/xml header in GET reqest.

A JSON object looks like this: { "process": true|false, ... }.

And XML <ProcessList><Process name="process">true|false</Process>...</ProcessList>.

Configuration file is a simple JSON object consisting of listen_address string field in form "[<ip|host>]:<port>". And processes array of process names.