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.2/docbookx.dtd">
4 <!-- SPDX-License-Identifier: LGPL-2.1-or-later -->
6 <refentry id=
"oomctl" conditional='ENABLE_OOMD'
7 xmlns:
xi=
"http://www.w3.org/2001/XInclude">
11 <productname>systemd
</productname>
15 <refentrytitle>oomctl
</refentrytitle>
16 <manvolnum>1</manvolnum>
20 <refname>oomctl
</refname>
21 <refpurpose>Analyze the state stored in
<command>systemd-oomd
</command></refpurpose>
26 <command>oomctl
</command>
27 <arg choice=
"opt" rep=
"repeat">OPTIONS
</arg>
28 <arg choice=
"req">COMMAND
</arg>
33 <title>Description
</title>
35 <para><command>oomctl
</command> may be used to get information about the various contexts read in by
36 the
<citerefentry><refentrytitle>systemd
</refentrytitle><manvolnum>1</manvolnum></citerefentry> userspace
37 out-of-memory (OOM) killer,
38 <citerefentry><refentrytitle>systemd-oomd
</refentrytitle><manvolnum>8</manvolnum></citerefentry>.
</para>
43 <title>Commands
</title>
45 <para>The following commands are understood:
</para>
49 <term><command>dump
</command></term>
51 <listitem><para>Show the current state of the cgroup(s) and system context(s) stored by
52 <command>systemd-oomd
</command>.
</para></listitem>
60 <title>Options
</title>
62 <para>The following options are understood:
</para>
65 <xi:include href=
"standard-options.xml" xpointer=
"help" />
66 <xi:include href=
"standard-options.xml" xpointer=
"version" />
67 <xi:include href=
"standard-options.xml" xpointer=
"no-pager" />
72 <title>Exit status
</title>
74 <para>On success,
0 is returned, a non-zero failure code otherwise.
</para>
78 <title>See Also
</title>
80 <citerefentry><refentrytitle>systemd
</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
81 <citerefentry><refentrytitle>systemd-oomd.service
</refentrytitle><manvolnum>8</manvolnum></citerefentry>,
82 <citerefentry><refentrytitle>oomd.conf
</refentrytitle><manvolnum>5</manvolnum></citerefentry>