diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2014-10-27 22:16:11 -0400 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2014-10-27 22:35:08 -0400 |
commit | 2de51fdc5218d6c4f148989f8907cf0fc842abea (patch) | |
tree | f29b208c6ca9a4cf23f628f9a4c4f22e6bcd2f5a | |
parent | shell-completion: systemctl set-default,get-default,is-system-running (diff) | |
download | systemd-2de51fdc5218d6c4f148989f8907cf0fc842abea.tar.gz systemd-2de51fdc5218d6c4f148989f8907cf0fc842abea.tar.bz2 systemd-2de51fdc5218d6c4f148989f8907cf0fc842abea.zip |
man: add table of manager states
-rw-r--r-- | man/systemctl.xml | 63 |
1 files changed, 56 insertions, 7 deletions
diff --git a/man/systemctl.xml b/man/systemctl.xml index 61a23de7d..a486c735e 100644 --- a/man/systemctl.xml +++ b/man/systemctl.xml @@ -1327,13 +1327,62 @@ kobject-uevent 1 systemd-udevd-kernel.socket systemd-udevd.service <term><command>is-system-running</command></term> <listitem> - <para>Checks whether the system is running. This returns - success when the system is fully up and running, meaning - not in startup, shutdown or maintenance mode. Failure is - returned otherwise. In addition, the current state is - printed in a short string to standard output. Use - <option>--quiet</option> to suppress output of this state - string.</para> + <para>Checks whether the system is operational. This + returns success when the system is fully up and running, + meaning not in startup, shutdown or maintenance + mode. Failure is returned otherwise. In addition, the + current state is printed in a short string to standard + output, see table below. Use <option>--quiet</option> to + suppress this output.</para> + + <table> + <title>Manager Operational States</title> + <tgroup cols='2'> + <colspec colname='name' /> + <colspec colname='description' /> + <thead> + <row> + <entry>Name</entry> + <entry>Description</entry> + </row> + </thead> + <tbody> + <row> + <entry><varname>initializing</varname></entry> + <entry><para>Early bootup, before + <filename>sysinit.target</filename> is reached + or <varname>maintenance</varname> state entered. + </para></entry> + </row> + <row> + <entry><varname>starting</varname></entry> + <entry><para>Late bootup, before the default + target or one of the rescue targets are + reached.</para></entry> + </row> + <row> + <entry><varname>running</varname></entry> + <entry><para>The system is fully + operational.</para></entry> + </row> + <row> + <entry><varname>degraded</varname></entry> + <entry><para>The system is operational but one or more + units failed.</para></entry> + </row> + <row> + <entry><varname>maintenance</varname></entry> + <entry><para>One of the rescue targets is + active.</para></entry> + </row> + <row> + <entry><varname>stopping</varname></entry> + <entry><para>The manager is shutting + down.</para></entry> + </row> + </tbody> + </tgroup> + </table> </listitem> </varlistentry> |