Re: machine api to supervise

From: Laurent Bercot <ska-supervision_at_skarnet.org>
Date: Sat, 17 Oct 2015 17:12:01 +0200

On 16/10/2015 23:11, Buck Evan wrote:
> If you'll specify how you want it to look / work I'll (possibly) attempt to provide a patch.
>
> `s6-svstat --json` is my initial bid.

  Uuuh, there's no way I'll write something that produces json.
  If you have a program that can easily read json, then you might
as well use the s6_svstatus_read() C interface directly. That's
not the API level that's missing.

  What's missing is something usable in scripts, where you can
choose the output via an option, without having to parse the
human-readable format. Something à la uname. I'll add that when
I get some time (and thanks for reminding me).

-- 
  Laurent
Received on Sat Oct 17 2015 - 15:12:01 UTC

This archive was generated by hypermail 2.3.0 : Sun May 09 2021 - 19:44:19 UTC