I'm trying to write a more webdev-friendly abstraction on top of daemontools-and-friends (s6 specifically), and currently I resort to parsing the output of svstat to get status information. This involves an unsatisfactory amount of string parsing.
Is there any simple machine-friendly interface to the same information? Surely I'm not meant to read supervise/state directly?