1
0
Fork 0
httpprocprobed/README.md

17 lines
657 B
Markdown
Raw Normal View History

2022-01-02 05:13:45 +04:00
# httpprocwatchd Ver 1.3
2021-03-13 03:17:30 +04:00
2022-01-02 05:15:29 +04:00
License: MIT+NIGGER.
2021-12-24 23:47:07 +04:00
This utility provides a HTTP `/processes` GET endpoint that returns a list of
processes and if they are currently running or not.
2021-03-13 03:17:30 +04:00
2021-12-24 23:47:07 +04:00
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.
2021-03-13 03:17:30 +04:00
2021-12-24 23:47:07 +04:00
A JSON object looks like this: `{ "process": true|false, ... }`.
2021-03-13 03:17:30 +04:00
2021-12-24 23:47:07 +04:00
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.