Editing Rc-status

Jump to: navigation, search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision Your text
Line 1: Line 1:
 
{{welcome}}
 
{{welcome}}
 
{{Navbar OpenRC}}
 
{{Navbar OpenRC}}
 
 
==Introduction==
 
==Introduction==
  
Line 8: Line 7:
 
All runlevels are represented as folders in ''/etc/runlevels/'' with symlinks to the actual service scripts.<br/>
 
All runlevels are represented as folders in ''/etc/runlevels/'' with symlinks to the actual service scripts.<br/>
 
All services must reside in the '''/etc/[[Init.d|init.d]]''' or '''/usr/[[Local/etc/init.d|local/etc/init.d]]''' directories. They must also conform to the '''OpenRC''' runscript standard.
 
All services must reside in the '''/etc/[[Init.d|init.d]]''' or '''/usr/[[Local/etc/init.d|local/etc/init.d]]''' directories. They must also conform to the '''OpenRC''' runscript standard.
 
==Manual==
 
 
NAME
 
    rc-status – show 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:
 
 
    -a, --all              Show all runlevels and their services.
 
 
    -c, --crashed          List all services that have crashed.
 
 
    -f, --format            Select a format for the output. Currently, the
 
                            only one that can be specified is ini, which
 
                            outputs in *.ini format.
 
 
    -l, --list              List all defined runlevels.
 
 
    -m, --manual            Show all manually started services.
 
 
    -r, --runlevel          Print the current runlevel name.
 
 
    -S, --supervised        Show all supervised services.
 
 
    -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.
 
 
  
 
===Example for Rc-status===
 
===Example for Rc-status===

Please note that all contributions to GhostBSD Wiki are considered to be released under the Creative Commons Attribution (see GhostBSD Wiki:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

To edit this page, please answer the question that appears below (more info):

Cancel | Editing help (opens in new window)

Templates used on this page: