rc-status - Man Page
show status info about runlevels
Examples (TL;DR)
Show a summary of services and their status:
rc-status
Include services in all runlevels in the summary:
rc-status --all
List services that have crashed:
rc-status --crashed
List manually started services:
rc-status --manual
List supervised services:
rc-status --supervised
Get the current runlevel:
rc-status --runlevel
List all runlevels:
rc-status --list
Synopsis
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,) 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, --all
Show all runlevels and their services.
- -c, --crashed
List all services that have crashed.
- -l, --list
List all defined runlevels.
- -m, --manual
Show all manually started services.
- -r, --runlevel
Print the current runlevel name.
- -s, --servicelist
Show all services.
- -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.
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
Authors
Roy Marples <roy@marples.name>
Referenced By
openrc(8), openrc-run(8), rc-sstat(8), rc-update(8).