RC-STATUS(8)
π NAME π
okay so bestie, this is the manual page for rc-status(8) β and its whole job is literally to show status info about runlevels. That's it, that's the assignment. π«Ά
β¨ SYNOPSIS β¨
Three little moods, pick ur fighter:
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 π¦
rc-status gathers and displays information about the status of services in different runlevels. Default behavior? It shows info about the current runlevel and any unassigned services that are not stopped β but you can quickly examine any runlevel too, no cap. π
If an active service is being supervised by 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. So yes, you get the daemon's little activity rΓ©sumΓ©. β¨
The options are as follows, bestie:
π OPTIONS π
-a,--allβ Show all runlevels and their services.-c,--crashedβ List all services that have crashed (in any runlevel) in plain text format.-f,--formatβ Select a format for the output. Currently, the only one that can be specified isini, which outputs in*.iniformat.-i,--in-stateβ Show services in given state. Can be combined, e.g-i started -i crashedwill select any services which are either in started or crashed state. Available states are:stopped,started,stopping,starting,inactive,hotplugged,failed,scheduledandcrashed.-l,--listβ List all defined runlevels.-m,--manualβ Show all manually started services.-r,--runlevelβ Print the current runlevel name.-S,--supervisedβ Show all supervised services.-s,--servicelistβ Show all services (in any runlevel).-u,--unusedβ Show services not assigned to any runlevel.-C,--nocolorβ Disable color output.runlevelβ Show information only for the named runlevel.
π EXIT STATUS π
rc-status exits 0, except when checking for crashed services and it doesn't find any. That's the one tiny exception, bestie β otherwise it's a clean 0. π«Ά
π§ IMPLEMENTATION NOTES π§
rc-status tries to list services within each runlevel in the presently resolved dependency order if the dependency tree is available. So it's giving organized, dependency-aware behavior when it can. π
π SEE ALSO π
π AUTHORS π
Roy Marples <roy@marples.name>
kisses, your OpenRC bestie π β this page is from OpenRC, dated March 16, 2025. mwah! π
π¦ where this page comes from
- alpine 3.22: openrc-doc 0.62.6-r0 Β· BSD-2-Clause
- alpine 3.23: openrc-doc 0.63-r1 Β· BSD-2-Clause
- alpine 3.24: openrc-doc 0.63.2-r0 Β· BSD-2-Clause
- Copyright (c) 2007-2025 The OpenRC Authors
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms