| 1 |
<?xml version='1.0'?> <!--*-nxml-*--> |
| 2 |
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" |
| 3 |
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd"> |
| 4 |
<!-- SPDX-License-Identifier: LGPL-2.1-or-later --> |
| 5 |
|
| 6 |
<refentry id="systemd-mute-console" |
| 7 |
xmlns:xi="http://www.w3.org/2001/XInclude"> |
| 8 |
|
| 9 |
<refentryinfo> |
| 10 |
<title>systemd-mute-console</title> |
| 11 |
<productname>systemd</productname> |
| 12 |
</refentryinfo> |
| 13 |
|
| 14 |
<refmeta> |
| 15 |
<refentrytitle>systemd-mute-console</refentrytitle> |
| 16 |
<manvolnum>1</manvolnum> |
| 17 |
</refmeta> |
| 18 |
|
| 19 |
<refnamediv> |
| 20 |
<refname>systemd-mute-console</refname> |
| 21 |
<refname>[email protected]</refname> |
| 22 |
<refname>systemd-mute-console.socket</refname> |
| 23 |
<refpurpose>Temporarily mute kernel log output and service manager status output to the system console</refpurpose> |
| 24 |
</refnamediv> |
| 25 |
|
| 26 |
<refsynopsisdiv> |
| 27 |
<cmdsynopsis> |
| 28 |
<command>systemd-mute-console</command> |
| 29 |
<arg choice="opt" rep="repeat">OPTIONS</arg> |
| 30 |
</cmdsynopsis> |
| 31 |
|
| 32 |
<para><filename>[email protected]</filename></para> |
| 33 |
<para><filename>systemd-mute-console.socket</filename></para> |
| 34 |
</refsynopsisdiv> |
| 35 |
|
| 36 |
<refsect1> |
| 37 |
<title>Description</title> |
| 38 |
|
| 39 |
<para>The <command>systemd-mute-console</command> tool and service may be used to |
| 40 |
temporarily mute the log output of the kernel as well as the status output of the service manager to |
| 41 |
the system console. It may be used by tools running on the console to ensure their terminal output is not |
| 42 |
interrupted by unrelated messages.</para> |
| 43 |
|
| 44 |
<para>The tool can be invoked directly in which case it will mute the two outputs and then issue an |
| 45 |
<citerefentry><refentrytitle>sd_notify</refentrytitle><manvolnum>3</manvolnum></citerefentry> |
| 46 |
<literal>READY=1</literal> notification once that is completed. On <constant>SIGINT</constant> or |
| 47 |
<constant>SIGTERM</constant> output is unmuted again. Alternatively it can be invoked via Varlink |
| 48 |
IPC.</para> |
| 49 |
</refsect1> |
| 50 |
|
| 51 |
<refsect1> |
| 52 |
<title>Options</title> |
| 53 |
|
| 54 |
<para>The following options are understood:</para> |
| 55 |
|
| 56 |
<variablelist> |
| 57 |
<varlistentry> |
| 58 |
<term><option>--kernel=<replaceable>bool</replaceable></option></term> |
| 59 |
<term><option>--pid1=<replaceable>bool</replaceable></option></term> |
| 60 |
<listitem><para>Individually controls which output to mute. If true is specified the respective |
| 61 |
output is muted, if false the output is left as is. Defaults to true.</para> |
| 62 |
|
| 63 |
<xi:include href="version-info.xml" xpointer="v259"/></listitem> |
| 64 |
</varlistentry> |
| 65 |
|
| 66 |
<xi:include href="standard-options.xml" xpointer="help" /> |
| 67 |
<xi:include href="standard-options.xml" xpointer="version" /> |
| 68 |
</variablelist> |
| 69 |
</refsect1> |
| 70 |
|
| 71 |
<refsect1> |
| 72 |
<title>See Also</title> |
| 73 |
<para><simplelist type="inline"> |
| 74 |
<member><citerefentry><refentrytitle>systemd</refentrytitle><manvolnum>1</manvolnum></citerefentry></member> |
| 75 |
<member><citerefentry><refentrytitle>systemd-firstboot</refentrytitle><manvolnum>1</manvolnum></citerefentry></member> |
| 76 |
</simplelist></para> |
| 77 |
</refsect1> |
| 78 |
|
| 79 |
</refentry> |