From 9a669c4b3973118dfcce2a2b1fb4babd0aaa6af7 Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Sat, 25 Mar 2017 11:25:15 +0000 Subject: Stop using flagwant; new s6-svstat API; s6-svwait's timeout exitcode is now 99 --- doc/s6-svstat.html | 93 ++++++++++++++++++++++++++++++++++++++++++++++++++---- 1 file changed, 86 insertions(+), 7 deletions(-) (limited to 'doc/s6-svstat.html') diff --git a/doc/s6-svstat.html b/doc/s6-svstat.html index bb3d66b..afa6d39 100644 --- a/doc/s6-svstat.html +++ b/doc/s6-svstat.html @@ -26,13 +26,22 @@ monitored by s6-supervise.

Interface

-     s6-svstat [ -n ] servicedir
+     s6-svstat [ -uwNrpest | -o up,wantedup,normallyup,ready,paused,pid,exitcode,signal,signum,updownsince,readysince,updownfor,readyfor ] [ -n ] servicedir
 

s6-svstat gives information about the process being monitored at the servicedir service directory, then -exits 0. The information includes the following: +exits 0. +

+ +

+ When s6-svstat is invoked without options, or with only the -n option, +it prints a human-readable summary of all the +available information on the service. In this case, the -n option +instructs it to print a signal number (instead of a signal name) if the +supervised process was killed by a signal. The summary includes the +following data:

+

+ When s6-svstat is invoked with one or several options other than -n, +it outputs programmatically parsable information instead. The output is a series of +space-separated values, one value per requested field. The valid options +are as follows. +

+

Options

Exit codes

@@ -70,5 +131,23 @@ printed instead.
  • 111: system call failed
  • +

    Examples

    + + + -- cgit v1.2.3