S6-SVDT(8)

πŸ“¦ version 2.15.1.0, in nixpkgs unstable

πŸ’… S6-SVDT(8) β€” your service’s death tally, served cute πŸ’…

okay so bestie, we’re in the S6-SVDT(8) page of the System Manager’s Manual, and this one is all about the recorded death tally of a service: the list of times the process died, with the cause of death. πŸ’€βœ¨

πŸŽ€ NAME πŸŽ€

s6-svdt β€” prints a service’s recorded death tally: the list of times the process died, with the cause of death. 🫢

🌸 SYNOPSIS 🌸

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

πŸ’– DESCRIPTION πŸ’–

s6-svdt prints the contents of the recorded death tally of the service being currently supervised at the servicedir s6-service-directory(7), then exits 0. No cap, it just dumps it and dips. πŸ’…

For each recorded death, s6-svdt prints one line. That line has these fields, separated with spaces:

  • A TAI64N[1] timestamp ⏰
  • 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 code of the process.

Want human-readable local time or GMT time instead of TAI64N timestamps? literally just pipe s6-svdt’s output into s6-tai64nlocal(8) and watch it slay. ✨

Process deaths are recorded up to a default maximum of 100. This default can be modified via the max-death-tally file in the s6-service-directory(7). πŸ“

✨ OPTIONS ✨

  • -S β€” Print signal names. This is the default. πŸ‘‘
  • -s β€” Print signal numbers. The numerical value of the signal will be printed instead of the signal name. πŸ”’
  • -n maxlines β€” Limit the output to at most the latest maxlines deaths. πŸŽ€

😭 EXIT STATUS 😭

  • 0 β€” Success. πŸ’–
  • 100 β€” Wrong usage. πŸ™ˆ
  • 111 β€” System call failed. πŸ’€

πŸ‘€ SEE ALSO πŸ‘€

[1] https://cr.yp.to/daemontools/tai64n.html

This man page is ported from the authoritative documentation at: https://skarnet.org/software/s6/s6-svdt.html

πŸ’– AUTHORS πŸ’–

  • Laurent Bercot
  • Alexis <flexibeat@gmail.com> (man page port)

bye bestie! this page is the Debian build of S6-SVDT(8), dated September 29, 2021 β€” slay and stay safe out there πŸ’…πŸŽ€

πŸ“¦ where this page comes from