Movatterモバイル変換
[0]ホーム
s6
Software
skarnet.org
Thes6-svdt program
s6-svdt prints the recorded death tally of a service, i.e. a list of the timesthe process died, with the cause of death.
Interface
s6-svdt [ -S | -s ] [ -nmaxlines ]servicedir
s6-svdt prints the contents of the recorded death tally of the service beingcurrently supervised at theservicedirservice directory, then exits 0.
For each recorded death, s6-svdt prints one line. This line contains thefollowing fields, separated with spaces:
- ATAI64Ntimestamp .
- The word "signal" if the death was caused by a signal, or the word"exitcode" if the death was a normal exit.
- The name of the signal that caused the death, or the exit codeof the process.
Options
- -S : print signal names. This is the default.
- -s : print signal numbers. The numerical value of the signalwill be printed instead of the signal name.
- -n maxlines : limit the output to at mostthe latestmaxlines deaths.
Exit codes
- 0: success
- 100: wrong usage
- 111: system call failed
Notes
- To obtain human-readable local time or GMT time instead of TAI64N timestamps,simply pipe s6-svdt's output intos6-tai64nlocal.
- Process deaths are recorded up to a default maximum of 100. This default canbe modified via themax-death-tally file in theservice directory.
[8]ページ先頭