summaryrefslogtreecommitdiff
path: root/doc/s6-svstat.html
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2024-05-07 22:06:36 +0000
committerLaurent Bercot <ska@appnovation.com>2024-05-07 22:06:36 +0000
commit15e3e402c59089514f590bab8804f0ed60f0fee3 (patch)
treee29847fcb9b5e3913c3e4f83b11af62b30d225bc /doc/s6-svstat.html
parentb827410052a640f65650d1b72d5f63d9ada28933 (diff)
downloads6-15e3e402c59089514f590bab8804f0ed60f0fee3.tar.xz
Add process group support to s6-supervise
Signed-off-by: Laurent Bercot <ska@appnovation.com>
Diffstat (limited to 'doc/s6-svstat.html')
-rw-r--r--doc/s6-svstat.html5
1 files changed, 4 insertions, 1 deletions
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
<h2> Interface </h2>
<pre>
- s6-svstat [ -uwNrpest | -o up,wantedup,normallyup,ready,paused,pid,exitcode,signal,signum,updownsince,readysince,updownfor,readyfor ] [ -n ] <em>servicedir</em>
+ s6-svstat [ -uwNrpest | -o up,wantedup,normallyup,ready,paused,pid,pgid,exitcode,signal,signum,updownsince,readysince,updownfor,readyfor ] [ -n ] <em>servicedir</em>
</pre>
<p>
@@ -97,6 +97,8 @@ currently stopped) and <tt>false</tt> if it is not. It is a rare flag, you shoul
need to use this option. </li>
<li> <tt>pid</tt>: print the pid of the supervised process. If the service is currently down,
<tt>-1</tt> is printed instead. </li>
+ <li> <tt>pgid</tt>: 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. </li>
<li> <tt>exitcode</tt>: print the exit code of the last execution of <tt>./run</tt>. If the
service is currently up, or the last <tt>./run</tt> process was killed by a signal,
<tt>-1</tt> is printed instead. </li>
@@ -123,6 +125,7 @@ service last became ready (or ready to be started if it's currently not up and r
<li> <tt>-N</tt>: equivalent to <tt>-o&nbsp;normallyup</tt>. </li>
<li> <tt>-r</tt>: equivalent to <tt>-o&nbsp;ready</tt>. </li>
<li> <tt>-p</tt>: equivalent to <tt>-o&nbsp;pid</tt>. </li>
+ <li> <tt>-g</tt>: equivalent to <tt>-o&nbsp;pgid</tt>. </li>
<li> <tt>-e</tt>: equivalent to <tt>-o&nbsp;exitcode</tt>. </li>
<li> <tt>-s</tt>: equivalent to <tt>-o&nbsp;signal</tt>. </li>
<li> <tt>-t</tt>: equivalent to <tt>-o&nbsp;updownfor</tt>. </li>