Scroll to navigation

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

NAME

rc-statusshow status info about runlevels

SYNOPSIS

rc-status [-aclsuC] [-f ini] [runlevel]

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:

, --all
Show all runlevels and their services.
, --crashed
List all services that have crashed.
, --format
Select a format for the output. Currently, the only one that can be specified is ini, which outputs in *.ini format.
, --list
List all defined runlevels.
, --manual
Show all manually started services.
, --runlevel
Print the current runlevel name.
, --supervised
Show all supervised services.
, --servicelist
Show all services.
, --unused
Show services not assigned to any runlevel.
, --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

openrc(8), rc-update(8) supervise-daemon(8)

AUTHORS

Roy Marples <roy@marples.name>

April 24, 2008 OpenRC