The s6-rc-db command

The offline database inspector

s6-rc-db is the compiled database inspector. It extracts data from a compiled service database and prints them under a program-friendly or human-friendly format. Compiled databases are considered opaque and are only meant to be read by s6-rcd when they become the live database; s6-rc-db is the official interface allowing the user to read them as well. It works on the live database as well as on offline ones.

s6-rc-db is said to work offline, because it does not interact with s6-rcd in any capacity. It is used to query compiled databases, whether they are live or not.

This document serves as a manual page for s6-rc-db.

Table of contents

Synopsis

Description

Options

Exit codes

  • 0: success
  • 3: identifier not found in service database
  • 4: invalid or corrupted service database
  • 5: wrong identifier for the command
  • 100: wrong usage
  • 111: system call failed

Notes