summaryrefslogtreecommitdiffstats
path: root/man/systemd-analyze.xml
diff options
context:
space:
mode:
authorJan Klötzke <Jan.Kloetzke@preh.de>2018-01-11 10:44:38 +0100
committerJan Klötzke <jan@kloetzke.net>2018-01-22 18:10:12 +0100
commit889d695d6c2772618a1018ee2f7e24021bcf9f57 (patch)
treeff79076eed1690fb1c91495e90006c1ceb9657ae /man/systemd-analyze.xml
parentpid1: add option to disable service watchdogs (diff)
downloadsystemd-889d695d6c2772618a1018ee2f7e24021bcf9f57.tar.xz
systemd-889d695d6c2772618a1018ee2f7e24021bcf9f57.zip
systemd-analyze: add service-watchdogs verb
New debug verb that enables or disables the service runtime watchdogs and emergency actions during runtime. This is the systemd-analyze version of the systemd.service_watchdogs command line option.
Diffstat (limited to 'man/systemd-analyze.xml')
-rw-r--r--man/systemd-analyze.xml18
1 files changed, 16 insertions, 2 deletions
diff --git a/man/systemd-analyze.xml b/man/systemd-analyze.xml
index 876f96d559..7e545316d8 100644
--- a/man/systemd-analyze.xml
+++ b/man/systemd-analyze.xml
@@ -53,7 +53,7 @@
<refnamediv>
<refname>systemd-analyze</refname>
- <refpurpose>Analyze system boot-up performance</refpurpose>
+ <refpurpose>Analyze and debug system manager</refpurpose>
</refnamediv>
<refsynopsisdiv>
@@ -131,6 +131,12 @@
<arg choice="plain">calendar</arg>
<arg choice="plain" rep="repeat"><replaceable>SPECS</replaceable></arg>
</cmdsynopsis>
+ <cmdsynopsis>
+ <command>systemd-analyze</command>
+ <arg choice="opt" rep="repeat">OPTIONS</arg>
+ <arg choice="plain">service-watchdogs</arg>
+ <arg choice="plain"><replaceable>STATE</replaceable></arg>
+ </cmdsynopsis>
</refsynopsisdiv>
<refsect1>
@@ -139,7 +145,8 @@
<para><command>systemd-analyze</command> may be used to determine
system boot-up performance statistics and retrieve other state and
tracing information from the system and service manager, and to
- verify the correctness of unit files.</para>
+ verify the correctness of unit files. It is also used to access
+ special functions useful for advanced system manager debugging.</para>
<para><command>systemd-analyze time</command> prints the time
spent in the kernel before userspace has been reached, the time
@@ -232,6 +239,13 @@
syntax described in
<citerefentry><refentrytitle>systemd.time</refentrytitle><manvolnum>7</manvolnum></citerefentry>.</para>
+ <para><command>systemd-analyze service-watchdogs
+ <replaceable>STATE</replaceable></command> globally enables or disables the service
+ runtime watchdogs (<option>WatchdogSec=</option>) and emergency actions (e.g.
+ <option>OnFailure=</option> or <option>StartLimitAction=</option>); see
+ <citerefentry><refentrytitle>systemd.service</refentrytitle><manvolnum>5</manvolnum></citerefentry>.
+ The hardware watchdog is not affected by this setting.</para>
+
<para>If no command is passed, <command>systemd-analyze
time</command> is implied.</para>