RC-STATUS(8) System Manager's Manual (smm) RC-STATUS(8)

# [NAME](#NAME)

`rc-status` — show status info about runlevels

# [SYNOPSIS](#SYNOPSIS)

`rc-status` \[`-C`] \[`-f` `ini`] \[`-i` `state`] \[`runlevel`]

`rc-status` \[`-C`] \[`-f` `ini`] \[-a | -m | -S | -s | -u]

`rc-status` \[`-C`] \[-c | -l | -r]

# [DESCRIPTION](#DESCRIPTION)

`rc-status` gathers and displays information about the status of services in different runlevels. The default behavior is to show information about the current runlevel and any unassigned services that are not stopped, but any runlevel can be quickly examined.

If an active service is being supervised by [supervise-daemon(8)](/man/os/openrc/supervise-daemon.8), the amount of time the daemon has been active along with the number of times it has been respawned in the current respawn period will be displayed.

The options are as follows:

[`-a`](#a), `--all`

Show all runlevels and their services.

[`-c`](#c), `--crashed`

List all services that have crashed (in any runlevel) in plain text format.

[`-f`](#f), `--format`

Select a format for the output. Currently, the only one that can be specified is ini, which outputs in \*.ini format.

[`-i`](#i), `--in-state`

Show services in given state. Can be combined, e.g `-i started -i crashed` will select any services which are either in started or crashed state. Available states are: “stopped”, “started”, “stopping”, “starting”, “inactive”, “hotplugged”, “failed”, “scheduled” and “crashed”.

[`-l`](#l), `--list`

List all defined runlevels.

[`-m`](#m), `--manual`

Show all manually started services.

[`-r`](#r), `--runlevel`

Print the current runlevel name, or an empty line if no runlevel has been set.

[`-S`](#S), `--supervised`

Show all supervised services.

[`-s`](#s), `--servicelist`

Show all services (in any runlevel).

[`-u`](#u), `--unused`

Show services not assigned to any runlevel.

[`-C`](#C), `--nocolor`

Disable color output.

`runlevel`

Show information only for the named `runlevel`.

# [EXIT STATUS](#EXIT_STATUS)

`rc-status` exits 0, except when checking for crashed services and it doesn't find any.

# [IMPLEMENTATION NOTES](#IMPLEMENTATION_NOTES)

`rc-status` tries to list services within each runlevel in the presently resolved dependency order if the dependency tree is available.

# [SEE ALSO](#SEE_ALSO)

[openrc(8)](/man/os/openrc/openrc.8), [rc-update(8)](/man/os/openrc/rc-update.8), [supervise-daemon(8)](/man/os/openrc/supervise-daemon.8)

# [AUTHORS](#AUTHORS)

Roy Marples &lt;roy@marples.name&gt;

March 16, 2025 OpenRC

---

Document: rc-status(8) from openrc 0.64.1-r4 (Chainguard OS)
Source: https://github.com/OpenRC/openrc
