S6-INSTANCE-STATUS(8)

NAME
s6-instance-status - give the status of a running instance of an s6-instanced-service(7), as a short human-readable summary or programmatically parsable output

SYNOPSIS
s6-instance-status [-uwNrpest | -o up,wantedup,normallyup,ready,paused,pid,exitcode,signal,signum,updownsince,readysince,updownfor,readyfor] [-n] servicedir name

DESCRIPTION
s6-instance-status expects a running, supervised s6-instanced-service(7) in servicedir, as well as an existing instance of this service named name.

It prints information to stdout about the monitored instance of servicedir named name.

It exits 0.

OPTIONS
The options are exactly the same as the ones understood by s6-svstat(8).

In fact, s6-instance-status is nothing more than a call to s6-svstat(8) on the service directory representing the name instance. It is syntactic sugar so the user does not have to depend on the internal representation of instances and the location of instances' service directories.

EXIT STATUS

0   Success.

100 Wrong usage.

111 System call failed.

SEE ALSO
s6-instanced-service(7), s6-instance-control(8), s6-instance-create(8), s6-instance-delete(8), s6-instance-list(8), s6-instance-maker(8)

AUTHORS
Laurent Bercot Alexis <flexibeast@gmail.com> (man page port)