summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2013-07-26 16:59:55 +0200
committerLennart Poettering <lennart@poettering.net>2013-07-26 16:59:55 +0200
commita65615ca5d78be0dcd7d9c9b4a663fa75f758606 (patch)
treef131c490f08d7c4e28addeb0fcfbf85701db4005 /man
parent9ea9d4cf1656075559fcd6aeceb9530714c87d5b (diff)
systemctl: move set-log-level to systemd-analyze
"systemctl set-log-level" is a command for analysis and tracing hence "systemd-analyze" should be the better home for it, thus allowing us to make the overly large "systemctl" a bit smaller.
Diffstat (limited to 'man')
-rw-r--r--man/systemctl.xml13
-rw-r--r--man/systemd-analyze.xml20
2 files changed, 18 insertions, 15 deletions
diff --git a/man/systemctl.xml b/man/systemctl.xml
index 06c8c1846..45955da17 100644
--- a/man/systemctl.xml
+++ b/man/systemctl.xml
@@ -539,19 +539,6 @@ kobject-uevent 1 systemd-udevd-kernel.socket systemd-udevd.service
</listitem>
</varlistentry>
- <varlistentry>
- <term><command>set-log-level <replaceable>LEVEL</replaceable></command></term>
-
- <listitem>
- <para>Change current log level of the
- <command>systemd</command> daemon to
- <replaceable>LEVEL</replaceable> (accepts the same values
- as <option>--log-level=</option> described in
- <citerefentry><refentrytitle>systemd</refentrytitle><manvolnum>1</manvolnum></citerefentry>).
- </para>
- </listitem>
- </varlistentry>
-
<varlistentry>
<term><command>start <replaceable>NAME</replaceable>...</command></term>
diff --git a/man/systemd-analyze.xml b/man/systemd-analyze.xml
index 905b44b6d..a8adf8771 100644
--- a/man/systemd-analyze.xml
+++ b/man/systemd-analyze.xml
@@ -81,20 +81,28 @@
<arg choice="opt" rep="repeat">OPTIONS</arg>
<arg choice="plain">dot</arg>
<arg choice="opt" rep="repeat"><replaceable>PATTERN</replaceable></arg>
+ <arg choice="opt">&gt; file.dot</arg>
</cmdsynopsis>
<cmdsynopsis>
<command>systemd-analyze</command>
<arg choice="opt" rep="repeat">OPTIONS</arg>
<arg choice="plain">dump</arg>
</cmdsynopsis>
+ <cmdsynopsis>
+ <command>systemd-analyze</command>
+ <arg choice="opt" rep="repeat">OPTIONS</arg>
+ <arg choice="plain">set-log-level</arg>
+ <arg choice="opt"><replaceable>LEVEL</replaceable></arg>
+ </cmdsynopsis>
</refsynopsisdiv>
<refsect1>
<title>Description</title>
<para><command>systemd-analyze</command> may be used
- to determine system boot-up performance of the current
- boot.</para>
+ to determine system boot-up performance statistics and
+ retrieve other state and tracing information from the
+ system and service manager.</para>
<para><command>systemd-analyze time</command>
prints the time spent in the kernel before
@@ -154,6 +162,14 @@
change without notice and should not be parsed by
applications.</para>
+ <para><command>systemd-analyze set-log-level
+ <replaceable>LEVEL</replaceable></command> changes the
+ current log level of the <command>systemd</command>
+ daemon to <replaceable>LEVEL</replaceable> (accepts
+ the same values as <option>--log-level=</option>
+ described in
+ <citerefentry><refentrytitle>systemd</refentrytitle><manvolnum>1</manvolnum></citerefentry>).</para>
+
<para>If no command is passed, <command>systemd-analyze
time</command> is implied.</para>