X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=man%2Fsystemd.resource-control.xml;h=a51e600ebb38f9488e8c8495467d15c95eb23412;hb=9ea28c55a2488e6cd4a44ac5786f12b71ad5bc9f;hp=fcfe861256ce3ad584285fdf255b905c43dab564;hpb=72f4d9669c253d5bd7c126bf2e7a0db0198cf2eb;p=elogind.git diff --git a/man/systemd.resource-control.xml b/man/systemd.resource-control.xml index fcfe86125..a51e600eb 100644 --- a/man/systemd.resource-control.xml +++ b/man/systemd.resource-control.xml @@ -105,8 +105,11 @@ along with systemd; If not, see . Turn on CPU usage accounting for this unit. Takes a boolean argument. Note that turning on CPU accounting for one unit might also implicitly turn it on for all units - contained in the same slice and for all its parent slices and - the units contained therein. + contained in the same slice and for all its parent slices + and the units contained therein. The system default for this + setting maybe controlled with + DefaultCPUAccounting= in + systemd-system.conf5. @@ -132,8 +135,10 @@ along with systemd; If not, see . Turn on process and kernel memory accounting for this unit. Takes a boolean argument. Note that turning on memory accounting for one unit might also implicitly turn it on for - all units contained in the same slice and for all its parent - slices and the units contained therein. + all its parent slices. The system default for this setting + maybe controlled with + DefaultMemoryAccounting= in + systemd-system.conf5. @@ -164,8 +169,11 @@ along with systemd; If not, see . Turn on Block IO accounting for this unit. Takes a boolean argument. Note that turning on block IO accounting for one unit might also implicitly turn it on for all units - contained in the same slice and all for its parent slices and - the units contained therein. + contained in the same slice and all for its parent slices + and the units contained therein. The system default for this + setting maybe controlled with + DefaultBlockIOAccounting= in + systemd-system.conf5. @@ -226,14 +234,15 @@ along with systemd; If not, see . case the backing block device of the file system of the file is used. If the bandwidth is suffixed with K, M, G, or T, the specified bandwidth is parsed as Kilobytes, Megabytes, - Gigabytes, or Terabytes, respectively (Example: + Gigabytes, or Terabytes, respectively, to the base of + 1000. (Example: "/dev/disk/by-path/pci-0000:00:1f.2-scsi-0:0:0:0 5M"). This controls the blkio.read_bps_device and blkio.write_bps_device control group attributes. Use this option multiple times to set bandwidth limits for multiple devices. For details about these control - group attributes, see - blkio-controller.txt. + group attributes, see blkio-controller.txt. Implies @@ -247,17 +256,35 @@ along with systemd; If not, see . Control access to specific device nodes by the executed processes. Takes two space-separated strings: a - device node path (such as /dev/null) - followed by a combination of r, - w, m to control + device node specifier followed by a combination of + r, w, + m to control reading, writing, - or creation of the specific device node by the unit + or creation of the specific device node(s) by the unit (mknod), respectively. This controls the devices.allow and devices.deny control group - attributes. For details about these control group attributes, - see devices.txt. + + The device node specifier is either a path to a device + node in the file system, starting with + /dev/, or a string starting with either + char- or block- + followed by a device group name, as listed in + /proc/devices. The latter is useful to + whitelist all current and future devices belonging to a + specific device group at once. The device group is matched + according to file name globbing rules, you may hence use the + * and ? + wildcards. Examples: /dev/sda5 is a + path to a device node, referring to an ATA or SCSI block + device. char-pts and + char-alsa are specifiers for all pseudo + TTYs and all ALSA sound devices, + respectively. char-cpu/* is a specifier + matching all CPU related device groups.