mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-24 06:51:59 +00:00
Update cheatsheets
This commit is contained in:
38
linux/rc-status
Normal file
38
linux/rc-status
Normal file
@@ -0,0 +1,38 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, linux]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# rc-status
|
||||
|
||||
> Show status info about runlevels.
|
||||
> See also `openrc`.
|
||||
> More information: <https://manned.org/rc-status>.
|
||||
|
||||
- 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`
|
||||
Reference in New Issue
Block a user