LinuxCommandLibrary

rc-status

Display OpenRC service and runlevel status

TLDR

Show a summary of services and their status

$ rc-status
copy
Include services in all runlevels in the summary
$ rc-status -a
copy
List services that have crashed
$ rc-status -c
copy
List manually started services
$ rc-status -m
copy
List supervised services
$ rc-status -S
copy
Display the current runlevel
$ rc-status -r
copy
List all runlevels
$ rc-status -l
copy

SYNOPSIS

rc-status [options] [runlevel]

DESCRIPTION

rc-status displays information about OpenRC runlevels and service states. By default, it shows services in the current runlevel with their status (started, stopped, crashed, etc.).
The command is useful for system administration to quickly check which services are running, identify crashed services, or verify the current runlevel configuration.

PARAMETERS

-a, --all

Show all services from all runlevels
-c, --crashed
List services that have crashed
-l, --list
List all defined runlevels
-m, --manual
List manually started services
-r, --runlevel
Display the current runlevel
-s, --servicelist
Display service list for specified runlevel
-S, --supervised
List supervised services
-u, --unused
List services not assigned to any runlevel

CAVEATS

Only available on systems using OpenRC as the init system (Gentoo, Alpine, Artix, etc.). Service status reflects the state according to OpenRC, which may differ from actual process state if services crash unexpectedly.

SEE ALSO

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community