systemd.resource-control.xml revision b9acccb3c9795c88f1eca003480035917ff3c896
f73f2c2fae0ded6c8273c28d025ba8aa8136a0fend<?xml-stylesheet type="text/xsl" href="http://docbook.sourceforge.net/release/xsl/current/xhtml/docbook.xsl"?>
f73f2c2fae0ded6c8273c28d025ba8aa8136a0fend<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
f73f2c2fae0ded6c8273c28d025ba8aa8136a0fendThis file is part of systemd.
f73f2c2fae0ded6c8273c28d025ba8aa8136a0fendCopyright 2013 Zbigniew Jędrzejewski-Szmek
f73f2c2fae0ded6c8273c28d025ba8aa8136a0fendsystemd is free software; you can redistribute it and/or modify it
909ce17e2bd0faef7b1c294f2307f009793fd493ndunder the terms of the GNU Lesser General Public License as published by
f73f2c2fae0ded6c8273c28d025ba8aa8136a0fendthe Free Software Foundation; either version 2.1 of the License, or
f73f2c2fae0ded6c8273c28d025ba8aa8136a0fend(at your option) any later version.
42af92a661a06b3cebc88d585aad75064a309d51ndsystemd is distributed in the hope that it will be useful, but
f73f2c2fae0ded6c8273c28d025ba8aa8136a0fendWITHOUT ANY WARRANTY; without even the implied warranty of
f73f2c2fae0ded6c8273c28d025ba8aa8136a0fendMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
f73f2c2fae0ded6c8273c28d025ba8aa8136a0fendLesser General Public License for more details.
f73f2c2fae0ded6c8273c28d025ba8aa8136a0fendYou should have received a copy of the GNU Lesser General Public License
f73f2c2fae0ded6c8273c28d025ba8aa8136a0fendalong with systemd; If not, see <http://www.gnu.org/licenses/>.
f73f2c2fae0ded6c8273c28d025ba8aa8136a0fend <refentryinfo>
f73f2c2fae0ded6c8273c28d025ba8aa8136a0fend <authorgroup>
f73f2c2fae0ded6c8273c28d025ba8aa8136a0fend </authorgroup>
f73f2c2fae0ded6c8273c28d025ba8aa8136a0fend </refentryinfo>
03a4ff9ac4c9b8009249010e7c53bb86ff05915and </refmeta>
f73f2c2fae0ded6c8273c28d025ba8aa8136a0fend <refnamediv>
f73f2c2fae0ded6c8273c28d025ba8aa8136a0fend </refnamediv>
f73f2c2fae0ded6c8273c28d025ba8aa8136a0fend <refsynopsisdiv>
d2b809e5d72658bff23819d8b77f20e4939af541nd <filename><replaceable>slice</replaceable>.slice</filename>,
f73f2c2fae0ded6c8273c28d025ba8aa8136a0fend <filename><replaceable>scope</replaceable>.scope</filename>,
f73f2c2fae0ded6c8273c28d025ba8aa8136a0fend <filename><replaceable>service</replaceable>.service</filename>,
f73f2c2fae0ded6c8273c28d025ba8aa8136a0fend <filename><replaceable>socket</replaceable>.socket</filename>,
f73f2c2fae0ded6c8273c28d025ba8aa8136a0fend <filename><replaceable>mount</replaceable>.mount</filename>,
f73f2c2fae0ded6c8273c28d025ba8aa8136a0fend <filename><replaceable>swap</replaceable>.swap</filename>
f73f2c2fae0ded6c8273c28d025ba8aa8136a0fend </refsynopsisdiv>
f73f2c2fae0ded6c8273c28d025ba8aa8136a0fend <para>Unit configuration files for services, slices, scopes,
f73f2c2fae0ded6c8273c28d025ba8aa8136a0fend sockets, mount points, and swap devices share a subset of
f73f2c2fae0ded6c8273c28d025ba8aa8136a0fend configuration options for resource control of spawned
f73f2c2fae0ded6c8273c28d025ba8aa8136a0fend processes. Internally, this relies on the Control Groups
f73f2c2fae0ded6c8273c28d025ba8aa8136a0fend kernel concept for organizing processes in a hierarchial tree of
0ce5630695a7aa568811a9dd0aceedd685f040dend named groups for the purpose of resource management.</para>
f73f2c2fae0ded6c8273c28d025ba8aa8136a0fend <para>This man page lists the configuration options shared by
f73f2c2fae0ded6c8273c28d025ba8aa8136a0fend those six unit types. See
f73f2c2fae0ded6c8273c28d025ba8aa8136a0fend <citerefentry><refentrytitle>systemd.unit</refentrytitle><manvolnum>5</manvolnum></citerefentry>
f73f2c2fae0ded6c8273c28d025ba8aa8136a0fend for the common options of all unit configuration files, and
03c25fb6f628ac81f2ecb637d1e7502dcee783f3nd <citerefentry><refentrytitle>systemd.slice</refentrytitle><manvolnum>5</manvolnum></citerefentry>,
f73f2c2fae0ded6c8273c28d025ba8aa8136a0fend <citerefentry><refentrytitle>systemd.scope</refentrytitle><manvolnum>5</manvolnum></citerefentry>,
f73f2c2fae0ded6c8273c28d025ba8aa8136a0fend <citerefentry><refentrytitle>systemd.service</refentrytitle><manvolnum>5</manvolnum></citerefentry>,
0ce5630695a7aa568811a9dd0aceedd685f040dend <citerefentry><refentrytitle>systemd.socket</refentrytitle><manvolnum>5</manvolnum></citerefentry>,
7fa75a06a4fee19e995c069ee00310455d1452e1pquerna <citerefentry><refentrytitle>systemd.mount</refentrytitle><manvolnum>5</manvolnum></citerefentry>,
f73f2c2fae0ded6c8273c28d025ba8aa8136a0fend <citerefentry><refentrytitle>systemd.swap</refentrytitle><manvolnum>5</manvolnum></citerefentry>
f73f2c2fae0ded6c8273c28d025ba8aa8136a0fend for more information on the specific unit configuration files. The
f73f2c2fae0ded6c8273c28d025ba8aa8136a0fend resource control configuration options are configured in the
f73f2c2fae0ded6c8273c28d025ba8aa8136a0fend [Slice], [Scope], [Service], [Socket], [Mount], or [Swap]
f73f2c2fae0ded6c8273c28d025ba8aa8136a0fend sections, depending on the unit type.</para>
f73f2c2fae0ded6c8273c28d025ba8aa8136a0fend url="http://www.freedesktop.org/wiki/Software/systemd/ControlGroupInterface/">New
<citerefentry><refentrytitle>systemd-system.conf</refentrytitle><manvolnum>5</manvolnum></citerefentry>.</para>
url="https://www.kernel.org/doc/Documentation/scheduler/sched-design-CFS.txt">sched-design-CFS.txt</ulink>.
url="https://www.kernel.org/doc/Documentation/scheduler/sched-design-CFS.txt">sched-design-CFS.txt</ulink>.</para>
<citerefentry><refentrytitle>systemd-system.conf</refentrytitle><manvolnum>5</manvolnum></citerefentry>.</para>
<citerefentry><refentrytitle>systemd-system.conf</refentrytitle><manvolnum>5</manvolnum></citerefentry>.</para>
url="https://www.kernel.org/doc/Documentation/cgroups/blkio-controller.txt">blkio-controller.txt</ulink>.
<term><varname>BlockIODeviceWeight=<replaceable>device</replaceable> <replaceable>weight</replaceable></varname></term>
url="https://www.kernel.org/doc/Documentation/cgroups/blkio-controller.txt">blkio-controller.txt</ulink>.</para>
<term><varname>BlockIOReadBandwidth=<replaceable>device</replaceable> <replaceable>bytes</replaceable></varname></term>
<term><varname>BlockIOWriteBandwidth=<replaceable>device</replaceable> <replaceable>bytes</replaceable></varname></term>
url="https://www.kernel.org/doc/Documentation/cgroups/blkio-controller.txt">blkio-controller.txt</ulink>.
<citerefentry><refentrytitle>systemd.service</refentrytitle><manvolnum>5</manvolnum></citerefentry>,
<citerefentry><refentrytitle>systemd.directives</refentrytitle><manvolnum>7</manvolnum></citerefentry>,
<citerefentry><refentrytitle>systemd.special</refentrytitle><manvolnum>7</manvolnum></citerefentry>,
<ulink url="https://www.kernel.org/doc/Documentation/cgroups/blkio-controller.txt">blkio-controller.txt</ulink>.