← 返回命令列表

Linux command

rc-status 命令

文本

复制后可按需替换文件名、目录或参数。

常用示例

Show

rc-status

Include

rc-status -a

List

rc-status -c

List

rc-status -m

List

rc-status -S

Display

rc-status -r

List

rc-status -l

说明

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.

参数

-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

FAQ

What is the rc-status command used for?

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.

How do I run a basic rc-status example?

Run `rc-status` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does -a, --all do in rc-status?

Show all services from all runlevels