G. Pape
runit

Name

runsvstat - prints the status of services monitored by runsv(8).

Synopsis

runsvstat [ -l ] services

Description

services consists of one or more arguments, each argument naming a directory.

runsvstat checks for each directory if runsv(8) is successfully running this service, and if so, prints one human-readable line reporting the status of this service. Optionally runsvstat(8) prints a second line, also in human-readable format, reporting the status of the corresponding log service.

Options

-l
log service. Check for each service if there exists a corresponding log service. If so, print an additional, indented, line reporting the status of the log service.

Exit Codes

runsvstat exits 0, if the states of all services were reported successfully.

For each service that caused an error (e.g. the directory is not controlled by a runsv(8) process), runsvstat increases the exit code by one and exits non zero. The maximum is 100.

runsvstat exits 111 on error.

See Also

runsv(8), runsvctrl(8), chpst(8), svlogd(8), runit(8), runit-init(8), runsvdir(8), runsvchdir(8), svwaitdown(8), svwaitup(8)

http://smarden.org/runit/

Author

Gerrit Pape <pape@smarden.org>


Table of Contents