1
0
Alexander "Arav" Andreev cf300b899a
[util.go] It is better to see in a cmdline, rather than in comm.
For example, matrix synapse in comm has just python3. So lets look in both comm and cmdline.
2022-01-03 01:10:15 +04:00
2021-03-13 03:17:30 +04:00
2022-01-02 05:13:20 +04:00
2022-01-02 21:57:32 +04:00
2022-01-02 23:05:39 +04:00
2022-01-02 21:56:53 +04:00
2022-01-02 21:56:35 +04:00

httpprocwatchd Ver 1.3.2

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.

There are currently three output formats available: JSON, XML, plain text.

JSON is a default format if Accept header didn't provided, or did do with value application/json. Its form is {"process":true|false, ...}.

XML is provided if Accept: application/xml header was given. Its form is <ProcessList><Process name="process">true|false</Process>...</ProcessList>.

Plain text is provided if Accept: text/plain header was given. Its form is a comma separated list of ONLY running process' names.

Configuration file is a simple key = value storage consisting of listen_address string field in form "[<ip|host>]:<port>". indented_output bool in form true|false, to enable indentation of JSON and XML output. And processes is a space separated array of process names.

Description
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.
Readme 185 KiB
2024-07-07 17:55:00 +04:00
Languages
Go 69.7%
Makefile 15.5%
Shell 14.8%