From 01c12e7ac7bd0c95099dbe299f049c59081e35bc Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Tue, 20 Mar 2018 18:21:19 +0000 Subject: Add s6-svdt, change default max tally to 100, add doc, prepare for 2.7.1.0 --- NEWS | 3 +- doc/index.html | 3 +- doc/s6-svdt.html | 70 +++++++++++++++++++++++++++++++++++++ doc/servicedir.html | 2 +- doc/upgrade.html | 3 +- package/deps.mak | 3 ++ package/info | 2 +- package/modes | 1 + package/targets.mak | 1 + src/supervision/deps-exe/s6-svdt | 2 ++ src/supervision/s6-supervise.c | 2 +- src/supervision/s6-svdt.c | 74 ++++++++++++++++++++++++++++++++++++++++ 12 files changed, 160 insertions(+), 6 deletions(-) create mode 100644 doc/s6-svdt.html create mode 100644 src/supervision/deps-exe/s6-svdt create mode 100644 src/supervision/s6-svdt.c diff --git a/NEWS b/NEWS index 1570e9b..0e1aa75 100644 --- a/NEWS +++ b/NEWS @@ -1,10 +1,11 @@ Changelog for s6. -In 2.7.0.1 +In 2.7.1.0 ---------- - Bugfixes. - s6-svwait et al. now exit 102 instead of hanging if s6-supervise dies. + - New command: s6-svdt In 2.7.0.0 diff --git a/doc/index.html b/doc/index.html index cbc24ed..733e3ee 100644 --- a/doc/index.html +++ b/doc/index.html @@ -100,7 +100,7 @@ library.

Download

Daemontools-like utilities

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 @@ + + + + + + s6: the s6-svdt program + + + + + + +

+s6
+Software
+skarnet.org +

+ +

The s6-svdt program

+ +

+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. +

+ +

Interface

+ +
+     s6-svdt [ -S | -s ] [ -n maxlines ] servicedir
+
+ +

+ s6-svdt prints the contents of the recorded death tally of the service being +currently supervised at the servicedir +service directory, then exits 0. +

+ +

+ For each recorded death, s6-svdt prints one line. This line contains the +following fields, separated with spaces: +

+ +