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 21:35:11 +04:00
contrib Delete old json config file. 2022-01-02 21:33:21 +04:00
.gitignore [.gitignore] .json replaced with conf. 2022-01-02 21:32:12 +04:00
configuration.go Fixed a typo in a name offile configuration.go. 2022-01-02 21:35:11 +04:00
errors.go Code was restructurised again. Moved out back to root dir. 2022-01-02 21:30:56 +04:00
go.mod Initial commit. 2021-03-13 03:17:30 +04:00
LICENSE License is switched to MIT+NIGGER. :) 2022-01-02 05:13:20 +04:00
main.go Updated version to 1.3.1. 2022-01-02 21:31:42 +04:00
Makefile [Makefile] Updated wildcard. 2022-01-02 21:32:34 +04:00
processlist.go Code was restructurised again. Moved out back to root dir. 2022-01-02 21:30:56 +04:00
README.md Added license notice to README. 2022-01-02 05:15:29 +04:00
server.go Code was restructurised again. Moved out back to root dir. 2022-01-02 21:30:56 +04:00
util.go Code was restructurised again. Moved out back to root dir. 2022-01-02 21:30:56 +04:00

httpprocwatchd Ver 1.3

License: MIT+NIGGER.

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.