service-show, svshow — machine-parseable service status display
service-show
[--json] {directory
...}
svshow
[--json] {directory
...}
service-show displays machine-parseable (but not necessarily human-readable) information about a service that may be currently managed by service-manager(1) (or by runit's runsv(1), by s6's s6-supervise(1), by daemontools' supervise(1), or by daemontools-encore's supervise(1)).
Each directory
is either a supervise directory or a directory with a supervise directory named supervise
within it.
The latter covers both daemontools-style service directories and nosh-style service bundles.
If the [--json] command line option is used, the machine parseable format is JSON, with each directory
being an entry in a top-level array of objects.
Otherwise, the machine parseable format is that of a .INI file.; with each directory
being a section within the file.
For more on service and supervise directories, see service-manager(1). For more on service bundles, see system-control(1).