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