From 15e3e402c59089514f590bab8804f0ed60f0fee3 Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Tue, 7 May 2024 22:06:36 +0000 Subject: Add process group support to s6-supervise Signed-off-by: Laurent Bercot --- doc/s6-svstat.html | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'doc/s6-svstat.html') diff --git a/doc/s6-svstat.html b/doc/s6-svstat.html index ba62dbb..20a966a 100644 --- a/doc/s6-svstat.html +++ b/doc/s6-svstat.html @@ -27,7 +27,7 @@ summary of the state of a process monitored by

Interface

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

@@ -97,6 +97,8 @@ currently stopped) and false if it is not. It is a rare flag, you shoul need to use this option.

  • pid: print the pid of the supervised process. If the service is currently down, -1 is printed instead.
  • +
  • pgid: print the process group of the supervised process. If the service is +currently down, print the process group of the last living instance of the service.
  • exitcode: print the exit code of the last execution of ./run. If the service is currently up, or the last ./run process was killed by a signal, -1 is printed instead.
  • @@ -123,6 +125,7 @@ service last became ready (or ready to be started if it's currently not up and r
  • -N: equivalent to -o normallyup.
  • -r: equivalent to -o ready.
  • -p: equivalent to -o pid.
  • +
  • -g: equivalent to -o pgid.
  • -e: equivalent to -o exitcode.
  • -s: equivalent to -o signal.
  • -t: equivalent to -o updownfor.
  • -- cgit 1.4.1