diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2018-03-20 18:21:19 +0000 |
---|---|---|
committer | Laurent Bercot <ska-skaware@skarnet.org> | 2018-03-20 18:21:19 +0000 |
commit | 01c12e7ac7bd0c95099dbe299f049c59081e35bc (patch) | |
tree | 6f6a784dd3c1730fda2072f7af97e23e37f44335 /doc/s6-svdt.html | |
parent | 3b8083f63e774b30963948778e01553d85cfea29 (diff) | |
download | s6-01c12e7ac7bd0c95099dbe299f049c59081e35bc.tar.gz s6-01c12e7ac7bd0c95099dbe299f049c59081e35bc.tar.xz s6-01c12e7ac7bd0c95099dbe299f049c59081e35bc.zip |
Add s6-svdt, change default max tally to 100, add doc, prepare for 2.7.1.0
Diffstat (limited to 'doc/s6-svdt.html')
-rw-r--r-- | doc/s6-svdt.html | 70 |
1 files changed, 70 insertions, 0 deletions
diff --git a/doc/s6-svdt.html b/doc/s6-svdt.html new file mode 100644 index 0000000..bb78061 --- /dev/null +++ b/doc/s6-svdt.html @@ -0,0 +1,70 @@ +<html> + <head> + <meta name="viewport" content="width=device-width, initial-scale=1.0" /> + <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> + <meta http-equiv="Content-Language" content="en" /> + <title>s6: the s6-svdt program</title> + <meta name="Description" content="s6: the s6-svdt program" /> + <meta name="Keywords" content="s6 command s6-svdt servicedir death tally process supervision s6-supervise" /> + <!-- <link rel="stylesheet" type="text/css" href="//skarnet.org/default.css" /> --> + </head> +<body> + +<p> +<a href="index.html">s6</a><br /> +<a href="//skarnet.org/software/">Software</a><br /> +<a href="//skarnet.org/">skarnet.org</a> +</p> + +<h1> The s6-svdt program </h1> + +<p> +s6-svstat prints the recorded death tally of a service, i.e. a list of the times +the process died, with the cause of death. +</p> + +<h2> Interface </h2> + +<pre> + s6-svdt [ -S | -s ] [ -n <em>maxlines</em> ] <em>servicedir</em> +</pre> + +<p> + s6-svdt prints the contents of the recorded death tally of the service being +currently supervised at the <em>servicedir</em> +<a href="servicedir.html">service directory</a>, then exits 0. +</p> + +<p> + For each recorded death, s6-svdt prints one line. This line contains the +following fields, separated with spaces: +</p> + +<ul> + <li> A <a href="https://cr.yp.to/daemontools/tai64n.html">TAI64N</a> +timestamp .</li> + <li> The word "signal" if the death was caused by a signal, or the word +"exitcode" if the death was a normal exit. </li> + <li> The name of the signal that caused the death, or the exit code +of the process. </li> + +<h2> Options </h2> + +<ul> + <li> <tt>-S</tt> : print signal names. This is the default. </li> + <li> <tt>-s</tt> : print signal numbers. The numerical value of the signal +will be printed instead of the signal name. </li> + <li> <tt>-n <em>maxlines</em></tt> : limit the output to at most +the latest <em>maxlines</em> deaths. </li> +</ul> + +<h2> Exit codes </h2> + +<ul> + <li> 0: success </li> + <li> 100: wrong usage </li> + <li> 111: system call failed </li> +</ul> + +</body> +</html> |