| 1 |
# SOME DESCRIPTIVE TITLE |
| 2 |
# Copyright (C) YEAR Free Software Foundation, Inc. |
| 3 |
# This file is distributed under the same license as the PACKAGE package. |
| 4 |
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. |
| 5 |
# |
| 6 |
#, fuzzy |
| 7 |
msgid "" |
| 8 |
msgstr "" |
| 9 |
"Project-Id-Version: PACKAGE VERSION\n" |
| 10 |
"POT-Creation-Date: 2026-06-05 06:20+0200\n" |
| 11 |
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" |
| 12 |
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" |
| 13 |
"Language-Team: LANGUAGE <[email protected]>\n" |
| 14 |
"Language: \n" |
| 15 |
"MIME-Version: 1.0\n" |
| 16 |
"Content-Type: text/plain; charset=UTF-8\n" |
| 17 |
"Content-Transfer-Encoding: 8bit\n" |
| 18 |
|
| 19 |
#. type: TH |
| 20 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 21 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 22 |
#, no-wrap |
| 23 |
msgid "cgroups" |
| 24 |
msgstr "" |
| 25 |
|
| 26 |
#. type: TH |
| 27 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 28 |
#: opensuse-tumbleweed |
| 29 |
#, no-wrap |
| 30 |
msgid "2026-02-08" |
| 31 |
msgstr "" |
| 32 |
|
| 33 |
#. type: TH |
| 34 |
#: archlinux debian-unstable |
| 35 |
#, no-wrap |
| 36 |
msgid "Linux man-pages 6.18" |
| 37 |
msgstr "" |
| 38 |
|
| 39 |
#. type: SH |
| 40 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 41 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 42 |
#, no-wrap |
| 43 |
msgid "NAME" |
| 44 |
msgstr "" |
| 45 |
|
| 46 |
#. type: Plain text |
| 47 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 48 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 49 |
msgid "cgroups - Linux control groups" |
| 50 |
msgstr "" |
| 51 |
|
| 52 |
#. type: SH |
| 53 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 54 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 55 |
#, no-wrap |
| 56 |
msgid "DESCRIPTION" |
| 57 |
msgstr "" |
| 58 |
|
| 59 |
#. type: Plain text |
| 60 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 61 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 62 |
msgid "" |
| 63 |
"Control groups, usually referred to as cgroups, are a Linux kernel feature " |
| 64 |
"which allow processes to be organized into hierarchical groups whose usage " |
| 65 |
"of various types of resources can then be limited and monitored. The " |
| 66 |
"kernel's cgroup interface is provided through a pseudo-filesystem called " |
| 67 |
"cgroupfs. Grouping is implemented in the core cgroup kernel code, while " |
| 68 |
"resource tracking and limits are implemented in a set of per-resource-type " |
| 69 |
"subsystems (memory, CPU, and so on)." |
| 70 |
msgstr "" |
| 71 |
|
| 72 |
#. type: SS |
| 73 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 74 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 75 |
#, no-wrap |
| 76 |
msgid "Terminology" |
| 77 |
msgstr "" |
| 78 |
|
| 79 |
#. type: Plain text |
| 80 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 81 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 82 |
msgid "" |
| 83 |
"A I<cgroup> is a collection of processes that are bound to a set of limits " |
| 84 |
"or parameters defined via the cgroup filesystem." |
| 85 |
msgstr "" |
| 86 |
|
| 87 |
#. type: Plain text |
| 88 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 89 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 90 |
msgid "" |
| 91 |
"A I<subsystem> is a kernel component that modifies the behavior of the " |
| 92 |
"processes in a cgroup. Various subsystems have been implemented, making it " |
| 93 |
"possible to do things such as limiting the amount of CPU time and memory " |
| 94 |
"available to a cgroup, accounting for the CPU time used by a cgroup, and " |
| 95 |
"freezing and resuming execution of the processes in a cgroup. Subsystems " |
| 96 |
"are sometimes also known as I<resource controllers> (or simply, controllers)." |
| 97 |
msgstr "" |
| 98 |
|
| 99 |
#. type: Plain text |
| 100 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 101 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 102 |
msgid "" |
| 103 |
"The cgroups for a controller are arranged in a I<hierarchy>. This hierarchy " |
| 104 |
"is defined by creating, removing, and renaming subdirectories within the " |
| 105 |
"cgroup filesystem. At each level of the hierarchy, attributes (e.g., " |
| 106 |
"limits) can be defined. The limits, control, and accounting provided by " |
| 107 |
"cgroups generally have effect throughout the subhierarchy underneath the " |
| 108 |
"cgroup where the attributes are defined. Thus, for example, the limits " |
| 109 |
"placed on a cgroup at a higher level in the hierarchy cannot be exceeded by " |
| 110 |
"descendant cgroups." |
| 111 |
msgstr "" |
| 112 |
|
| 113 |
#. type: SS |
| 114 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 115 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 116 |
#, no-wrap |
| 117 |
msgid "Cgroups version 1 and version 2" |
| 118 |
msgstr "" |
| 119 |
|
| 120 |
#. type: Plain text |
| 121 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 122 |
#: opensuse-tumbleweed |
| 123 |
msgid "" |
| 124 |
"The initial release of the cgroups implementation was in Linux 2.6.24. Over " |
| 125 |
"time, various cgroup controllers have been added to allow the management of " |
| 126 |
"various types of resources. However, the development of these controllers " |
| 127 |
"was largely uncoordinated, with the result that many inconsistencies arose " |
| 128 |
"between controllers and management of the cgroup hierarchies became rather " |
| 129 |
"complex. A longer description of these problems can be found in the kernel " |
| 130 |
"source file I<Documentation/admin-guide/cgroup-v2.rst> (or I<Documentation/" |
| 131 |
"cgroup-v2.rst> in Linux 4.17 and earlier)." |
| 132 |
msgstr "" |
| 133 |
|
| 134 |
#. type: Plain text |
| 135 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 136 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 137 |
msgid "" |
| 138 |
"Because of the problems with the initial cgroups implementation (cgroups " |
| 139 |
"version 1), starting in Linux 3.10, work began on a new, orthogonal " |
| 140 |
"implementation to remedy these problems. Initially marked experimental, and " |
| 141 |
"hidden behind the I<-o\\ __DEVEL__sane_behavior> mount option, the new " |
| 142 |
"version (cgroups version 2) was eventually made official with the release " |
| 143 |
"of Linux 4.5. Differences between the two versions are described in the " |
| 144 |
"text below. The file I<cgroup.sane_behavior>, present in cgroups v1, is a " |
| 145 |
"relic of this mount option. The file always reports \"0\" and is only " |
| 146 |
"retained for backward compatibility." |
| 147 |
msgstr "" |
| 148 |
|
| 149 |
#. type: Plain text |
| 150 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 151 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 152 |
msgid "" |
| 153 |
"Although cgroups v2 is intended as a replacement for cgroups v1, the older " |
| 154 |
"system continues to exist (and for compatibility reasons is unlikely to be " |
| 155 |
"removed). Currently, cgroups v2 implements only a subset of the controllers " |
| 156 |
"available in cgroups v1. The two systems are implemented so that both v1 " |
| 157 |
"controllers and v2 controllers can be mounted on the same system. Thus, for " |
| 158 |
"example, it is possible to use those controllers that are supported under " |
| 159 |
"version 2, while also using version 1 controllers where version 2 does not " |
| 160 |
"yet support those controllers. The only restriction here is that a " |
| 161 |
"controller can't be simultaneously employed in both a cgroups v1 hierarchy " |
| 162 |
"and in the cgroups v2 hierarchy." |
| 163 |
msgstr "" |
| 164 |
|
| 165 |
#. type: SH |
| 166 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 167 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 168 |
#, no-wrap |
| 169 |
msgid "CGROUPS VERSION 1" |
| 170 |
msgstr "" |
| 171 |
|
| 172 |
#. type: Plain text |
| 173 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 174 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 175 |
msgid "" |
| 176 |
"Under cgroups v1, each controller may be mounted against a separate cgroup " |
| 177 |
"filesystem that provides its own hierarchical organization of the processes " |
| 178 |
"on the system. It is also possible to comount multiple (or even all) " |
| 179 |
"cgroups v1 controllers against the same cgroup filesystem, meaning that the " |
| 180 |
"comounted controllers manage the same hierarchical organization of processes." |
| 181 |
msgstr "" |
| 182 |
|
| 183 |
#. type: Plain text |
| 184 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 185 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 186 |
msgid "" |
| 187 |
"For each mounted hierarchy, the directory tree mirrors the control group " |
| 188 |
"hierarchy. Each control group is represented by a directory, with each of " |
| 189 |
"its child control cgroups represented as a child directory. For instance, " |
| 190 |
"I</user/joe/1.session> represents control group I<1.session>, which is a " |
| 191 |
"child of cgroup I<joe>, which is a child of I</user>. Under each cgroup " |
| 192 |
"directory is a set of files which can be read or written to, reflecting " |
| 193 |
"resource limits and a few general cgroup properties." |
| 194 |
msgstr "" |
| 195 |
|
| 196 |
#. type: SS |
| 197 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 198 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 199 |
#, no-wrap |
| 200 |
msgid "Tasks (threads) versus processes" |
| 201 |
msgstr "" |
| 202 |
|
| 203 |
#. type: Plain text |
| 204 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 205 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 206 |
msgid "" |
| 207 |
"In cgroups v1, a distinction is drawn between I<processes> and I<tasks>. In " |
| 208 |
"this view, a process can consist of multiple tasks (more commonly called " |
| 209 |
"threads, from a user-space perspective, and called such in the remainder of " |
| 210 |
"this man page). In cgroups v1, it is possible to independently manipulate " |
| 211 |
"the cgroup memberships of the threads in a process." |
| 212 |
msgstr "" |
| 213 |
|
| 214 |
#. type: Plain text |
| 215 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 216 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 217 |
msgid "" |
| 218 |
"The cgroups v1 ability to split threads across different cgroups caused " |
| 219 |
"problems in some cases. For example, it made no sense for the I<memory> " |
| 220 |
"controller, since all of the threads of a process share a single address " |
| 221 |
"space. Because of these problems, the ability to independently manipulate " |
| 222 |
"the cgroup memberships of the threads in a process was removed in the " |
| 223 |
"initial cgroups v2 implementation, and subsequently restored in a more " |
| 224 |
"limited form (see the discussion of \"thread mode\" below)." |
| 225 |
msgstr "" |
| 226 |
|
| 227 |
#. type: SS |
| 228 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 229 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 230 |
#, no-wrap |
| 231 |
msgid "Mounting v1 controllers" |
| 232 |
msgstr "" |
| 233 |
|
| 234 |
#. type: Plain text |
| 235 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 236 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 237 |
msgid "" |
| 238 |
"The use of cgroups requires a kernel built with the B<CONFIG_CGROUP> " |
| 239 |
"option. In addition, each of the v1 controllers has an associated " |
| 240 |
"configuration option that must be set in order to employ that controller." |
| 241 |
msgstr "" |
| 242 |
|
| 243 |
#. type: Plain text |
| 244 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 245 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 246 |
msgid "" |
| 247 |
"In order to use a v1 controller, it must be mounted against a cgroup " |
| 248 |
"filesystem. The usual place for such mounts is under a B<tmpfs>(5) " |
| 249 |
"filesystem mounted at I</sys/fs/cgroup>. Thus, one might mount the I<cpu> " |
| 250 |
"controller as follows:" |
| 251 |
msgstr "" |
| 252 |
|
| 253 |
#. type: Plain text |
| 254 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 255 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 256 |
#, no-wrap |
| 257 |
msgid "mount -t cgroup -o cpu none /sys/fs/cgroup/cpu\n" |
| 258 |
msgstr "" |
| 259 |
|
| 260 |
#. type: Plain text |
| 261 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 262 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 263 |
msgid "" |
| 264 |
"It is possible to comount multiple controllers against the same hierarchy. " |
| 265 |
"For example, here the I<cpu> and I<cpuacct> controllers are comounted " |
| 266 |
"against a single hierarchy:" |
| 267 |
msgstr "" |
| 268 |
|
| 269 |
#. type: Plain text |
| 270 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 271 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 272 |
#, no-wrap |
| 273 |
msgid "mount -t cgroup -o cpu,cpuacct none /sys/fs/cgroup/cpu,cpuacct\n" |
| 274 |
msgstr "" |
| 275 |
|
| 276 |
#. type: Plain text |
| 277 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 278 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 279 |
msgid "" |
| 280 |
"Comounting controllers has the effect that a process is in the same cgroup " |
| 281 |
"for all of the comounted controllers. Separately mounting controllers " |
| 282 |
"allows a process to be in cgroup I</foo1> for one controller while being in " |
| 283 |
"I</foo2/foo3> for another." |
| 284 |
msgstr "" |
| 285 |
|
| 286 |
#. type: Plain text |
| 287 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 288 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 289 |
msgid "" |
| 290 |
"It is possible to comount all v1 controllers against the same hierarchy:" |
| 291 |
msgstr "" |
| 292 |
|
| 293 |
#. type: Plain text |
| 294 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 295 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 296 |
#, no-wrap |
| 297 |
msgid "mount -t cgroup -o all cgroup /sys/fs/cgroup\n" |
| 298 |
msgstr "" |
| 299 |
|
| 300 |
#. type: Plain text |
| 301 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 302 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 303 |
msgid "" |
| 304 |
"(One can achieve the same result by omitting I<-o all>, since it is the " |
| 305 |
"default if no controllers are explicitly specified.)" |
| 306 |
msgstr "" |
| 307 |
|
| 308 |
#. type: Plain text |
| 309 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 310 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 311 |
msgid "" |
| 312 |
"It is not possible to mount the same controller against multiple cgroup " |
| 313 |
"hierarchies. For example, it is not possible to mount both the I<cpu> and " |
| 314 |
"I<cpuacct> controllers against one hierarchy, and to mount the I<cpu> " |
| 315 |
"controller alone against another hierarchy. It is possible to create " |
| 316 |
"multiple mounts with exactly the same set of comounted controllers. " |
| 317 |
"However, in this case all that results is multiple mount points providing a " |
| 318 |
"view of the same hierarchy." |
| 319 |
msgstr "" |
| 320 |
|
| 321 |
#. type: Plain text |
| 322 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 323 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 324 |
msgid "" |
| 325 |
"Note that on many systems, the v1 controllers are automatically mounted " |
| 326 |
"under I</sys/fs/cgroup>; in particular, B<systemd>(1) automatically creates " |
| 327 |
"such mounts." |
| 328 |
msgstr "" |
| 329 |
|
| 330 |
#. type: SS |
| 331 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 332 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 333 |
#, no-wrap |
| 334 |
msgid "Unmounting v1 controllers" |
| 335 |
msgstr "" |
| 336 |
|
| 337 |
#. type: Plain text |
| 338 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 339 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 340 |
msgid "" |
| 341 |
"A mounted cgroup filesystem can be unmounted using the B<umount>(8) " |
| 342 |
"command, as in the following example:" |
| 343 |
msgstr "" |
| 344 |
|
| 345 |
#. type: Plain text |
| 346 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 347 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 348 |
#, no-wrap |
| 349 |
msgid "umount /sys/fs/cgroup/pids\n" |
| 350 |
msgstr "" |
| 351 |
|
| 352 |
#. type: Plain text |
| 353 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 354 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 355 |
msgid "" |
| 356 |
"I<But note well>: a cgroup filesystem is unmounted only if it is not busy, " |
| 357 |
"that is, it has no child cgroups. If this is not the case, then the only " |
| 358 |
"effect of the B<umount>(8) is to make the mount invisible. Thus, to ensure " |
| 359 |
"that the mount is really removed, one must first remove all child cgroups, " |
| 360 |
"which in turn can be done only after all member processes have been moved " |
| 361 |
"from those cgroups to the root cgroup." |
| 362 |
msgstr "" |
| 363 |
|
| 364 |
#. type: SS |
| 365 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 366 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 367 |
#, no-wrap |
| 368 |
msgid "Cgroups version 1 controllers" |
| 369 |
msgstr "" |
| 370 |
|
| 371 |
#. type: Plain text |
| 372 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 373 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 374 |
msgid "" |
| 375 |
"Each of the cgroups version 1 controllers is governed by a kernel " |
| 376 |
"configuration option (listed below). Additionally, the availability of the " |
| 377 |
"cgroups feature is governed by the B<CONFIG_CGROUPS> kernel configuration " |
| 378 |
"option." |
| 379 |
msgstr "" |
| 380 |
|
| 381 |
#. type: TP |
| 382 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 383 |
#: opensuse-tumbleweed |
| 384 |
#, no-wrap |
| 385 |
msgid "I<cpu> (since Linux 2.6.24; \\f[B]CONFIG_CGROUP_SCHED\\fR)" |
| 386 |
msgstr "" |
| 387 |
|
| 388 |
#. type: Plain text |
| 389 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 390 |
#: opensuse-tumbleweed |
| 391 |
msgid "" |
| 392 |
"Cgroups can be guaranteed a minimum number of \"CPU shares\" when a system " |
| 393 |
"is busy. This does not limit a cgroup's CPU usage if the CPUs are not " |
| 394 |
"busy. For further information, see I<Documentation/scheduler/sched-design-" |
| 395 |
"CFS.rst>." |
| 396 |
msgstr "" |
| 397 |
|
| 398 |
#. type: Plain text |
| 399 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 400 |
#: opensuse-tumbleweed |
| 401 |
msgid "" |
| 402 |
"In Linux 3.2, this controller was extended to provide CPU \"bandwidth\" " |
| 403 |
"control. If the kernel is configured with B<CONFIG_CFS_BANDWIDTH>, then " |
| 404 |
"within each scheduling period (defined via a file in the cgroup directory), " |
| 405 |
"it is possible to define an upper limit on the CPU time allocated to the " |
| 406 |
"processes in a cgroup. This upper limit applies even if there is no other " |
| 407 |
"competition for the CPU. Further information can be found in the kernel " |
| 408 |
"source file I<Documentation/scheduler/sched-bwc.rst>." |
| 409 |
msgstr "" |
| 410 |
|
| 411 |
#. type: TP |
| 412 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 413 |
#: opensuse-tumbleweed |
| 414 |
#, no-wrap |
| 415 |
msgid "I<cpuacct> (since Linux 2.6.24; \\f[B]CONFIG_CGROUP_CPUACCT\\fR)" |
| 416 |
msgstr "" |
| 417 |
|
| 418 |
#. type: Plain text |
| 419 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 420 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 421 |
msgid "This provides accounting for CPU usage by groups of processes." |
| 422 |
msgstr "" |
| 423 |
|
| 424 |
#. type: Plain text |
| 425 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 426 |
#: opensuse-tumbleweed |
| 427 |
msgid "" |
| 428 |
"Further information can be found in the kernel source file I<Documentation/" |
| 429 |
"admin-guide/cgroup-v1/cpuacct.rst>." |
| 430 |
msgstr "" |
| 431 |
|
| 432 |
#. type: TP |
| 433 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 434 |
#: opensuse-tumbleweed |
| 435 |
#, no-wrap |
| 436 |
msgid "I<cpuset> (since Linux 2.6.24; \\f[B]CONFIG_CPUSETS\\fR)" |
| 437 |
msgstr "" |
| 438 |
|
| 439 |
#. type: Plain text |
| 440 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 441 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 442 |
msgid "" |
| 443 |
"This cgroup can be used to bind the processes in a cgroup to a specified set " |
| 444 |
"of CPUs and NUMA nodes." |
| 445 |
msgstr "" |
| 446 |
|
| 447 |
#. type: Plain text |
| 448 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 449 |
#: opensuse-tumbleweed |
| 450 |
msgid "" |
| 451 |
"Further information can be found in the kernel source file I<Documentation/" |
| 452 |
"admin-guide/cgroup-v1/cpusets.rst>." |
| 453 |
msgstr "" |
| 454 |
|
| 455 |
#. type: TP |
| 456 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 457 |
#: opensuse-tumbleweed |
| 458 |
#, no-wrap |
| 459 |
msgid "I<memory> (since Linux 2.6.25; \\f[B]CONFIG_MEMCG\\fR)" |
| 460 |
msgstr "" |
| 461 |
|
| 462 |
#. type: Plain text |
| 463 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 464 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 465 |
msgid "" |
| 466 |
"The memory controller supports reporting and limiting of process memory, " |
| 467 |
"kernel memory, and swap used by cgroups." |
| 468 |
msgstr "" |
| 469 |
|
| 470 |
#. type: Plain text |
| 471 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 472 |
#: opensuse-tumbleweed |
| 473 |
msgid "" |
| 474 |
"Further information can be found in the kernel source file I<Documentation/" |
| 475 |
"admin-guide/cgroup-v1/memory.rst>." |
| 476 |
msgstr "" |
| 477 |
|
| 478 |
#. type: TP |
| 479 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 480 |
#: opensuse-tumbleweed |
| 481 |
#, no-wrap |
| 482 |
msgid "I<devices> (since Linux 2.6.26; \\f[B]CONFIG_CGROUP_DEVICE\\fR)" |
| 483 |
msgstr "" |
| 484 |
|
| 485 |
#. type: Plain text |
| 486 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 487 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 488 |
msgid "" |
| 489 |
"This supports controlling which processes may create (mknod) devices as well " |
| 490 |
"as open them for reading or writing. The policies may be specified as allow-" |
| 491 |
"lists and deny-lists. Hierarchy is enforced, so new rules must not violate " |
| 492 |
"existing rules for the target or ancestor cgroups." |
| 493 |
msgstr "" |
| 494 |
|
| 495 |
#. type: Plain text |
| 496 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 497 |
#: opensuse-tumbleweed |
| 498 |
msgid "" |
| 499 |
"Further information can be found in the kernel source file I<Documentation/" |
| 500 |
"admin-guide/cgroup-v1/devices.rst>." |
| 501 |
msgstr "" |
| 502 |
|
| 503 |
#. type: TP |
| 504 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 505 |
#: opensuse-tumbleweed |
| 506 |
#, no-wrap |
| 507 |
msgid "I<freezer> (since Linux 2.6.28; \\f[B]CONFIG_CGROUP_FREEZER\\fR)" |
| 508 |
msgstr "" |
| 509 |
|
| 510 |
#. type: Plain text |
| 511 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 512 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 513 |
msgid "" |
| 514 |
"The I<freezer> cgroup can suspend and restore (resume) all processes in a " |
| 515 |
"cgroup. Freezing a cgroup I</A> also causes its children, for example, " |
| 516 |
"processes in I</A/B>, to be frozen." |
| 517 |
msgstr "" |
| 518 |
|
| 519 |
#. type: Plain text |
| 520 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 521 |
#: opensuse-tumbleweed |
| 522 |
msgid "" |
| 523 |
"Further information can be found in the kernel source file I<Documentation/" |
| 524 |
"admin-guide/cgroup-v1/freezer-subsystem.rst>." |
| 525 |
msgstr "" |
| 526 |
|
| 527 |
#. type: TP |
| 528 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 529 |
#: opensuse-tumbleweed |
| 530 |
#, no-wrap |
| 531 |
msgid "I<net_cls> (since Linux 2.6.29; \\f[B]CONFIG_CGROUP_NET_CLASSID\\fR)" |
| 532 |
msgstr "" |
| 533 |
|
| 534 |
#. type: Plain text |
| 535 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 536 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 537 |
msgid "" |
| 538 |
"This places a classid, specified for the cgroup, on network packets created " |
| 539 |
"by a cgroup. These classids can then be used in firewall rules, as well as " |
| 540 |
"used to shape traffic using B<tc>(8). This applies only to packets leaving " |
| 541 |
"the cgroup, not to traffic arriving at the cgroup." |
| 542 |
msgstr "" |
| 543 |
|
| 544 |
#. type: Plain text |
| 545 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 546 |
#: opensuse-tumbleweed |
| 547 |
msgid "" |
| 548 |
"Further information can be found in the kernel source file I<Documentation/" |
| 549 |
"admin-guide/cgroup-v1/net_cls.rst>." |
| 550 |
msgstr "" |
| 551 |
|
| 552 |
#. type: TP |
| 553 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 554 |
#: opensuse-tumbleweed |
| 555 |
#, no-wrap |
| 556 |
msgid "I<blkio> (since Linux 2.6.33; \\f[B]CONFIG_BLK_CGROUP\\fR)" |
| 557 |
msgstr "" |
| 558 |
|
| 559 |
#. type: Plain text |
| 560 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 561 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 562 |
msgid "" |
| 563 |
"The I<blkio> cgroup controls and limits access to specified block devices by " |
| 564 |
"applying IO control in the form of throttling and upper limits against leaf " |
| 565 |
"nodes and intermediate nodes in the storage hierarchy." |
| 566 |
msgstr "" |
| 567 |
|
| 568 |
#. type: Plain text |
| 569 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 570 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 571 |
msgid "" |
| 572 |
"Two policies are available. The first is a proportional-weight time-based " |
| 573 |
"division of disk implemented with CFQ. This is in effect for leaf nodes " |
| 574 |
"using CFQ. The second is a throttling policy which specifies upper I/O rate " |
| 575 |
"limits on a device." |
| 576 |
msgstr "" |
| 577 |
|
| 578 |
#. type: Plain text |
| 579 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 580 |
#: opensuse-tumbleweed |
| 581 |
msgid "" |
| 582 |
"Further information can be found in the kernel source file I<Documentation/" |
| 583 |
"admin-guide/cgroup-v1/blkio-controller.rst>." |
| 584 |
msgstr "" |
| 585 |
|
| 586 |
#. type: TP |
| 587 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 588 |
#: opensuse-tumbleweed |
| 589 |
#, no-wrap |
| 590 |
msgid "I<perf_event> (since Linux 2.6.39; \\f[B]CONFIG_CGROUP_PERF\\fR)" |
| 591 |
msgstr "" |
| 592 |
|
| 593 |
#. type: Plain text |
| 594 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 595 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 596 |
msgid "" |
| 597 |
"This controller allows I<perf> monitoring of the set of processes grouped in " |
| 598 |
"a cgroup." |
| 599 |
msgstr "" |
| 600 |
|
| 601 |
#. type: Plain text |
| 602 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 603 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 604 |
msgid "Further information can be found in the kernel source files" |
| 605 |
msgstr "" |
| 606 |
|
| 607 |
#. type: TP |
| 608 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 609 |
#: opensuse-tumbleweed |
| 610 |
#, no-wrap |
| 611 |
msgid "I<net_prio> (since Linux 3.3; \\f[B]CONFIG_CGROUP_NET_PRIO\\fR)" |
| 612 |
msgstr "" |
| 613 |
|
| 614 |
#. type: Plain text |
| 615 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 616 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 617 |
msgid "" |
| 618 |
"This allows priorities to be specified, per network interface, for cgroups." |
| 619 |
msgstr "" |
| 620 |
|
| 621 |
#. type: Plain text |
| 622 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 623 |
#: opensuse-tumbleweed |
| 624 |
msgid "" |
| 625 |
"Further information can be found in the kernel source file I<Documentation/" |
| 626 |
"admin-guide/cgroup-v1/net_prio.rst>." |
| 627 |
msgstr "" |
| 628 |
|
| 629 |
#. type: TP |
| 630 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 631 |
#: opensuse-tumbleweed |
| 632 |
#, no-wrap |
| 633 |
msgid "I<hugetlb> (since Linux 3.5; \\f[B]CONFIG_CGROUP_HUGETLB\\fR)" |
| 634 |
msgstr "" |
| 635 |
|
| 636 |
#. type: Plain text |
| 637 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 638 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 639 |
msgid "This supports limiting the use of huge pages by cgroups." |
| 640 |
msgstr "" |
| 641 |
|
| 642 |
#. type: Plain text |
| 643 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 644 |
#: opensuse-tumbleweed |
| 645 |
msgid "" |
| 646 |
"Further information can be found in the kernel source file I<Documentation/" |
| 647 |
"admin-guide/cgroup-v1/hugetlb.rst>." |
| 648 |
msgstr "" |
| 649 |
|
| 650 |
#. type: TP |
| 651 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 652 |
#: opensuse-tumbleweed |
| 653 |
#, no-wrap |
| 654 |
msgid "I<pids> (since Linux 4.3; \\f[B]CONFIG_CGROUP_PIDS\\fR)" |
| 655 |
msgstr "" |
| 656 |
|
| 657 |
#. type: Plain text |
| 658 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 659 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 660 |
msgid "" |
| 661 |
"This controller permits limiting the number of process that may be created " |
| 662 |
"in a cgroup (and its descendants)." |
| 663 |
msgstr "" |
| 664 |
|
| 665 |
#. type: Plain text |
| 666 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 667 |
#: opensuse-tumbleweed |
| 668 |
msgid "" |
| 669 |
"Further information can be found in the kernel source file I<Documentation/" |
| 670 |
"admin-guide/cgroup-v1/pids.rst>." |
| 671 |
msgstr "" |
| 672 |
|
| 673 |
#. type: TP |
| 674 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 675 |
#: opensuse-tumbleweed |
| 676 |
#, no-wrap |
| 677 |
msgid "I<rdma> (since Linux 4.11; \\f[B]CONFIG_CGROUP_RDMA\\fR)" |
| 678 |
msgstr "" |
| 679 |
|
| 680 |
#. type: Plain text |
| 681 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 682 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 683 |
msgid "" |
| 684 |
"The RDMA controller permits limiting the use of RDMA/IB-specific resources " |
| 685 |
"per cgroup." |
| 686 |
msgstr "" |
| 687 |
|
| 688 |
#. type: Plain text |
| 689 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 690 |
#: opensuse-tumbleweed |
| 691 |
msgid "" |
| 692 |
"Further information can be found in the kernel source file I<Documentation/" |
| 693 |
"admin-guide/cgroup-v1/rdma.rst>." |
| 694 |
msgstr "" |
| 695 |
|
| 696 |
#. type: SS |
| 697 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 698 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 699 |
#, no-wrap |
| 700 |
msgid "Creating cgroups and moving processes" |
| 701 |
msgstr "" |
| 702 |
|
| 703 |
#. type: Plain text |
| 704 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 705 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 706 |
msgid "" |
| 707 |
"A cgroup filesystem initially contains a single root cgroup, '/', which all " |
| 708 |
"processes belong to. A new cgroup is created by creating a directory in the " |
| 709 |
"cgroup filesystem:" |
| 710 |
msgstr "" |
| 711 |
|
| 712 |
#. type: Plain text |
| 713 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 714 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 715 |
#, no-wrap |
| 716 |
msgid "mkdir /sys/fs/cgroup/cpu/cg1\n" |
| 717 |
msgstr "" |
| 718 |
|
| 719 |
#. type: Plain text |
| 720 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 721 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 722 |
msgid "This creates a new empty cgroup." |
| 723 |
msgstr "" |
| 724 |
|
| 725 |
#. type: Plain text |
| 726 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 727 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 728 |
msgid "" |
| 729 |
"A process may be moved to this cgroup by writing its PID into the cgroup's " |
| 730 |
"I<cgroup.procs> file:" |
| 731 |
msgstr "" |
| 732 |
|
| 733 |
#. type: Plain text |
| 734 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 735 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 736 |
#, no-wrap |
| 737 |
msgid "echo $$ E<gt> /sys/fs/cgroup/cpu/cg1/cgroup.procs\n" |
| 738 |
msgstr "" |
| 739 |
|
| 740 |
#. type: Plain text |
| 741 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 742 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 743 |
msgid "Only one PID at a time should be written to this file." |
| 744 |
msgstr "" |
| 745 |
|
| 746 |
#. type: Plain text |
| 747 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 748 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 749 |
msgid "" |
| 750 |
"Writing the value 0 to a I<cgroup.procs> file causes the writing process to " |
| 751 |
"be moved to the corresponding cgroup." |
| 752 |
msgstr "" |
| 753 |
|
| 754 |
#. type: Plain text |
| 755 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 756 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 757 |
msgid "" |
| 758 |
"When writing a PID into the I<cgroup.procs>, all threads in the process are " |
| 759 |
"moved into the new cgroup at once." |
| 760 |
msgstr "" |
| 761 |
|
| 762 |
#. type: Plain text |
| 763 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 764 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 765 |
msgid "" |
| 766 |
"Within a hierarchy, a process can be a member of exactly one cgroup. " |
| 767 |
"Writing a process's PID to a I<cgroup.procs> file automatically removes it " |
| 768 |
"from the cgroup of which it was previously a member." |
| 769 |
msgstr "" |
| 770 |
|
| 771 |
#. type: Plain text |
| 772 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 773 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 774 |
msgid "" |
| 775 |
"The I<cgroup.procs> file can be read to obtain a list of the processes that " |
| 776 |
"are members of a cgroup. The returned list of PIDs is not guaranteed to be " |
| 777 |
"in order. Nor is it guaranteed to be free of duplicates. (For example, a " |
| 778 |
"PID may be recycled while reading from the list.)" |
| 779 |
msgstr "" |
| 780 |
|
| 781 |
#. type: Plain text |
| 782 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 783 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 784 |
msgid "" |
| 785 |
"In cgroups v1, an individual thread can be moved to another cgroup by " |
| 786 |
"writing its thread ID (i.e., the kernel thread ID returned by B<clone>(2) " |
| 787 |
"and B<gettid>(2)) to the I<tasks> file in a cgroup directory. This file " |
| 788 |
"can be read to discover the set of threads that are members of the cgroup." |
| 789 |
msgstr "" |
| 790 |
|
| 791 |
#. type: SS |
| 792 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 793 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 794 |
#, no-wrap |
| 795 |
msgid "Removing cgroups" |
| 796 |
msgstr "" |
| 797 |
|
| 798 |
#. type: Plain text |
| 799 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 800 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 801 |
msgid "" |
| 802 |
"To remove a cgroup, it must first have no child cgroups and contain no " |
| 803 |
"(nonzombie) processes. So long as that is the case, one can simply remove " |
| 804 |
"the corresponding directory pathname. Note that files in a cgroup directory " |
| 805 |
"cannot and need not be removed." |
| 806 |
msgstr "" |
| 807 |
|
| 808 |
#. type: SS |
| 809 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 810 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 811 |
#, no-wrap |
| 812 |
msgid "Cgroups v1 release notification" |
| 813 |
msgstr "" |
| 814 |
|
| 815 |
#. type: Plain text |
| 816 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 817 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 818 |
msgid "" |
| 819 |
"Two files can be used to determine whether the kernel provides notifications " |
| 820 |
"when a cgroup becomes empty. A cgroup is considered to be empty when it " |
| 821 |
"contains no child cgroups and no member processes." |
| 822 |
msgstr "" |
| 823 |
|
| 824 |
#. type: Plain text |
| 825 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 826 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 827 |
msgid "" |
| 828 |
"A special file in the root directory of each cgroup hierarchy, " |
| 829 |
"I<release_agent>, can be used to register the pathname of a program that may " |
| 830 |
"be invoked when a cgroup in the hierarchy becomes empty. The pathname of " |
| 831 |
"the newly empty cgroup (relative to the cgroup mount point) is provided as " |
| 832 |
"the sole command-line argument when the I<release_agent> program is " |
| 833 |
"invoked. The I<release_agent> program might remove the cgroup directory, or " |
| 834 |
"perhaps repopulate it with a process." |
| 835 |
msgstr "" |
| 836 |
|
| 837 |
#. type: Plain text |
| 838 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 839 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 840 |
msgid "" |
| 841 |
"The default value of the I<release_agent> file is empty, meaning that no " |
| 842 |
"release agent is invoked." |
| 843 |
msgstr "" |
| 844 |
|
| 845 |
#. type: Plain text |
| 846 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 847 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 848 |
msgid "" |
| 849 |
"The content of the I<release_agent> file can also be specified via a mount " |
| 850 |
"option when the cgroup filesystem is mounted:" |
| 851 |
msgstr "" |
| 852 |
|
| 853 |
#. type: Plain text |
| 854 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 855 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 856 |
#, no-wrap |
| 857 |
msgid "mount -o release_agent=pathname ...\n" |
| 858 |
msgstr "" |
| 859 |
|
| 860 |
#. type: Plain text |
| 861 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 862 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 863 |
msgid "" |
| 864 |
"Whether or not the I<release_agent> program is invoked when a particular " |
| 865 |
"cgroup becomes empty is determined by the value in the I<notify_on_release> " |
| 866 |
"file in the corresponding cgroup directory. If this file contains the value " |
| 867 |
"0, then the I<release_agent> program is not invoked. If it contains the " |
| 868 |
"value 1, the I<release_agent> program is invoked. The default value for " |
| 869 |
"this file in the root cgroup is 0. At the time when a new cgroup is " |
| 870 |
"created, the value in this file is inherited from the corresponding file in " |
| 871 |
"the parent cgroup." |
| 872 |
msgstr "" |
| 873 |
|
| 874 |
#. type: SS |
| 875 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 876 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 877 |
#, no-wrap |
| 878 |
msgid "Cgroup v1 named hierarchies" |
| 879 |
msgstr "" |
| 880 |
|
| 881 |
#. type: Plain text |
| 882 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 883 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 884 |
msgid "" |
| 885 |
"In cgroups v1, it is possible to mount a cgroup hierarchy that has no " |
| 886 |
"attached controllers:" |
| 887 |
msgstr "" |
| 888 |
|
| 889 |
#. type: Plain text |
| 890 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 891 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 892 |
#, no-wrap |
| 893 |
msgid "mount -t cgroup -o none,name=somename none /some/mount/point\n" |
| 894 |
msgstr "" |
| 895 |
|
| 896 |
#. type: Plain text |
| 897 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 898 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 899 |
msgid "" |
| 900 |
"Multiple instances of such hierarchies can be mounted; each hierarchy must " |
| 901 |
"have a unique name. The only purpose of such hierarchies is to track " |
| 902 |
"processes. (See the discussion of release notification below.) An example " |
| 903 |
"of this is the I<name=systemd> cgroup hierarchy that is used by " |
| 904 |
"B<systemd>(1) to track services and user sessions." |
| 905 |
msgstr "" |
| 906 |
|
| 907 |
#. type: Plain text |
| 908 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 909 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 910 |
msgid "" |
| 911 |
"Since Linux 5.0, the I<cgroup_no_v1> kernel boot option (described below) " |
| 912 |
"can be used to disable cgroup v1 named hierarchies, by specifying " |
| 913 |
"I<cgroup_no_v1=named>." |
| 914 |
msgstr "" |
| 915 |
|
| 916 |
#. type: SH |
| 917 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 918 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 919 |
#, no-wrap |
| 920 |
msgid "CGROUPS VERSION 2" |
| 921 |
msgstr "" |
| 922 |
|
| 923 |
#. type: Plain text |
| 924 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 925 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 926 |
msgid "" |
| 927 |
"In cgroups v2, all mounted controllers reside in a single unified " |
| 928 |
"hierarchy. While (different) controllers may be simultaneously mounted " |
| 929 |
"under the v1 and v2 hierarchies, it is not possible to mount the same " |
| 930 |
"controller simultaneously under both the v1 and the v2 hierarchies." |
| 931 |
msgstr "" |
| 932 |
|
| 933 |
#. type: Plain text |
| 934 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 935 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 936 |
msgid "" |
| 937 |
"The new behaviors in cgroups v2 are summarized here, and in some cases " |
| 938 |
"elaborated in the following subsections." |
| 939 |
msgstr "" |
| 940 |
|
| 941 |
#. type: IP |
| 942 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 943 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 944 |
#, no-wrap |
| 945 |
msgid "\\[bu]" |
| 946 |
msgstr "" |
| 947 |
|
| 948 |
#. type: Plain text |
| 949 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 950 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 951 |
msgid "" |
| 952 |
"Cgroups v2 provides a unified hierarchy against which all controllers are " |
| 953 |
"mounted." |
| 954 |
msgstr "" |
| 955 |
|
| 956 |
#. type: Plain text |
| 957 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 958 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 959 |
msgid "" |
| 960 |
"\"Internal\" processes are not permitted. With the exception of the root " |
| 961 |
"cgroup, processes may reside only in leaf nodes (cgroups that do not " |
| 962 |
"themselves contain child cgroups). The details are somewhat more subtle " |
| 963 |
"than this, and are described below." |
| 964 |
msgstr "" |
| 965 |
|
| 966 |
#. type: Plain text |
| 967 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 968 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 969 |
msgid "" |
| 970 |
"Active cgroups must be specified via the files I<cgroup.controllers> and " |
| 971 |
"I<cgroup.subtree_control>." |
| 972 |
msgstr "" |
| 973 |
|
| 974 |
#. type: Plain text |
| 975 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 976 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 977 |
msgid "" |
| 978 |
"The I<tasks> file has been removed. In addition, the " |
| 979 |
"I<cgroup.clone_children> file that is employed by the I<cpuset> controller " |
| 980 |
"has been removed." |
| 981 |
msgstr "" |
| 982 |
|
| 983 |
#. type: Plain text |
| 984 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 985 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 986 |
msgid "" |
| 987 |
"An improved mechanism for notification of empty cgroups is provided by the " |
| 988 |
"I<cgroup.events> file." |
| 989 |
msgstr "" |
| 990 |
|
| 991 |
#. type: Plain text |
| 992 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 993 |
#: opensuse-tumbleweed |
| 994 |
msgid "" |
| 995 |
"For more changes, see the I<Documentation/admin-guide/cgroup-v2.rst> file in " |
| 996 |
"the kernel source." |
| 997 |
msgstr "" |
| 998 |
|
| 999 |
#. type: Plain text |
| 1000 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1001 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1002 |
msgid "" |
| 1003 |
"Some of the new behaviors listed above saw subsequent modification with the " |
| 1004 |
"addition in Linux 4.14 of \"thread mode\" (described below)." |
| 1005 |
msgstr "" |
| 1006 |
|
| 1007 |
#. type: SS |
| 1008 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1009 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1010 |
#, no-wrap |
| 1011 |
msgid "Cgroups v2 unified hierarchy" |
| 1012 |
msgstr "" |
| 1013 |
|
| 1014 |
#. type: Plain text |
| 1015 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1016 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1017 |
msgid "" |
| 1018 |
"In cgroups v1, the ability to mount different controllers against different " |
| 1019 |
"hierarchies was intended to allow great flexibility for application design. " |
| 1020 |
"In practice, though, the flexibility turned out to be less useful than " |
| 1021 |
"expected, and in many cases added complexity. Therefore, in cgroups v2, all " |
| 1022 |
"available controllers are mounted against a single hierarchy. The available " |
| 1023 |
"controllers are automatically mounted, meaning that it is not necessary (or " |
| 1024 |
"possible) to specify the controllers when mounting the cgroup v2 filesystem " |
| 1025 |
"using a command such as the following:" |
| 1026 |
msgstr "" |
| 1027 |
|
| 1028 |
#. type: Plain text |
| 1029 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1030 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1031 |
#, no-wrap |
| 1032 |
msgid "mount -t cgroup2 none /mnt/cgroup2\n" |
| 1033 |
msgstr "" |
| 1034 |
|
| 1035 |
#. type: Plain text |
| 1036 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1037 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1038 |
msgid "" |
| 1039 |
"A cgroup v2 controller is available only if it is not currently in use via a " |
| 1040 |
"mount against a cgroup v1 hierarchy. Or, to put things another way, it is " |
| 1041 |
"not possible to employ the same controller against both a v1 hierarchy and " |
| 1042 |
"the unified v2 hierarchy. This means that it may be necessary first to " |
| 1043 |
"unmount a v1 controller (as described above) before that controller is " |
| 1044 |
"available in v2. Since B<systemd>(1) makes heavy use of some v1 " |
| 1045 |
"controllers by default, it can in some cases be simpler to boot the system " |
| 1046 |
"with selected v1 controllers disabled. To do this, specify the " |
| 1047 |
"I<cgroup_no_v1=list> option on the kernel boot command line; I<list> is a " |
| 1048 |
"comma-separated list of the names of the controllers to disable, or the word " |
| 1049 |
"I<all> to disable all v1 controllers. (This situation is correctly handled " |
| 1050 |
"by B<systemd>(1), which falls back to operating without the specified " |
| 1051 |
"controllers.)" |
| 1052 |
msgstr "" |
| 1053 |
|
| 1054 |
#. type: Plain text |
| 1055 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1056 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1057 |
msgid "" |
| 1058 |
"Note that on many modern systems, B<systemd>(1) automatically mounts the " |
| 1059 |
"I<cgroup2> filesystem at I</sys/fs/cgroup/unified> during the boot process." |
| 1060 |
msgstr "" |
| 1061 |
|
| 1062 |
#. type: SS |
| 1063 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1064 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1065 |
#, no-wrap |
| 1066 |
msgid "Cgroups v2 mount options" |
| 1067 |
msgstr "" |
| 1068 |
|
| 1069 |
#. type: Plain text |
| 1070 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1071 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1072 |
msgid "" |
| 1073 |
"The following options (I<mount\\ -o>) can be specified when mounting the " |
| 1074 |
"group v2 filesystem:" |
| 1075 |
msgstr "" |
| 1076 |
|
| 1077 |
#. type: TP |
| 1078 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1079 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1080 |
#, no-wrap |
| 1081 |
msgid "I<nsdelegate> (since Linux 4.15)" |
| 1082 |
msgstr "" |
| 1083 |
|
| 1084 |
#. type: Plain text |
| 1085 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1086 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1087 |
msgid "" |
| 1088 |
"Treat cgroup namespaces as delegation boundaries. For details, see below." |
| 1089 |
msgstr "" |
| 1090 |
|
| 1091 |
#. type: TP |
| 1092 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1093 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1094 |
#, no-wrap |
| 1095 |
msgid "I<memory_localevents> (since Linux 5.2)" |
| 1096 |
msgstr "" |
| 1097 |
|
| 1098 |
#. commit 9852ae3fe5293264f01c49f2571ef7688f7823ce |
| 1099 |
#. type: Plain text |
| 1100 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 1101 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 1102 |
msgid "" |
| 1103 |
"The I<memory.events> should show statistics only for the cgroup itself, and " |
| 1104 |
"not for any descendant cgroups. This was the behavior before Linux 5.2. " |
| 1105 |
"Since Linux 5.2, the default behavior is to include statistics for " |
| 1106 |
"descendant cgroups in I<memory.events>, and this mount option can be used to " |
| 1107 |
"revert to the legacy behavior. This option is system wide and can be set on " |
| 1108 |
"mount or modified through remount only from the initial mount namespace; it " |
| 1109 |
"is silently ignored in noninitial namespaces." |
| 1110 |
msgstr "" |
| 1111 |
|
| 1112 |
#. type: SS |
| 1113 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1114 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1115 |
#, no-wrap |
| 1116 |
msgid "Cgroups v2 controllers" |
| 1117 |
msgstr "" |
| 1118 |
|
| 1119 |
#. type: Plain text |
| 1120 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 1121 |
#: opensuse-tumbleweed |
| 1122 |
msgid "" |
| 1123 |
"The following controllers, documented in the kernel source file " |
| 1124 |
"I<Documentation/admin-guide/cgroup-v2.rst>, are supported in cgroups version " |
| 1125 |
"2:" |
| 1126 |
msgstr "" |
| 1127 |
|
| 1128 |
#. type: TP |
| 1129 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1130 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1131 |
#, no-wrap |
| 1132 |
msgid "I<cpu> (since Linux 4.15)" |
| 1133 |
msgstr "" |
| 1134 |
|
| 1135 |
#. type: Plain text |
| 1136 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1137 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1138 |
msgid "" |
| 1139 |
"This is the successor to the version 1 I<cpu> and I<cpuacct> controllers." |
| 1140 |
msgstr "" |
| 1141 |
|
| 1142 |
#. type: TP |
| 1143 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1144 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1145 |
#, no-wrap |
| 1146 |
msgid "I<cpuset> (since Linux 5.0)" |
| 1147 |
msgstr "" |
| 1148 |
|
| 1149 |
#. type: Plain text |
| 1150 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1151 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1152 |
msgid "This is the successor of the version 1 I<cpuset> controller." |
| 1153 |
msgstr "" |
| 1154 |
|
| 1155 |
#. type: TP |
| 1156 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1157 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1158 |
#, no-wrap |
| 1159 |
msgid "I<freezer> (since Linux 5.2)" |
| 1160 |
msgstr "" |
| 1161 |
|
| 1162 |
#. commit 76f969e8948d82e78e1bc4beb6b9465908e74873 |
| 1163 |
#. type: Plain text |
| 1164 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1165 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1166 |
msgid "This is the successor of the version 1 I<freezer> controller." |
| 1167 |
msgstr "" |
| 1168 |
|
| 1169 |
#. type: TP |
| 1170 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1171 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1172 |
#, no-wrap |
| 1173 |
msgid "I<hugetlb> (since Linux 5.6)" |
| 1174 |
msgstr "" |
| 1175 |
|
| 1176 |
#. type: Plain text |
| 1177 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1178 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1179 |
msgid "This is the successor of the version 1 I<hugetlb> controller." |
| 1180 |
msgstr "" |
| 1181 |
|
| 1182 |
#. type: TP |
| 1183 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1184 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1185 |
#, no-wrap |
| 1186 |
msgid "I<io> (since Linux 4.5)" |
| 1187 |
msgstr "" |
| 1188 |
|
| 1189 |
#. type: Plain text |
| 1190 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1191 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1192 |
msgid "This is the successor of the version 1 I<blkio> controller." |
| 1193 |
msgstr "" |
| 1194 |
|
| 1195 |
#. type: TP |
| 1196 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1197 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1198 |
#, no-wrap |
| 1199 |
msgid "I<memory> (since Linux 4.5)" |
| 1200 |
msgstr "" |
| 1201 |
|
| 1202 |
#. type: Plain text |
| 1203 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1204 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1205 |
msgid "This is the successor of the version 1 I<memory> controller." |
| 1206 |
msgstr "" |
| 1207 |
|
| 1208 |
#. type: TP |
| 1209 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1210 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1211 |
#, no-wrap |
| 1212 |
msgid "I<perf_event> (since Linux 4.11)" |
| 1213 |
msgstr "" |
| 1214 |
|
| 1215 |
#. type: Plain text |
| 1216 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1217 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1218 |
msgid "This is the same as the version 1 I<perf_event> controller." |
| 1219 |
msgstr "" |
| 1220 |
|
| 1221 |
#. type: TP |
| 1222 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1223 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1224 |
#, no-wrap |
| 1225 |
msgid "I<pids> (since Linux 4.5)" |
| 1226 |
msgstr "" |
| 1227 |
|
| 1228 |
#. type: Plain text |
| 1229 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1230 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1231 |
msgid "This is the same as the version 1 I<pids> controller." |
| 1232 |
msgstr "" |
| 1233 |
|
| 1234 |
#. type: TP |
| 1235 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1236 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1237 |
#, no-wrap |
| 1238 |
msgid "I<rdma> (since Linux 4.11)" |
| 1239 |
msgstr "" |
| 1240 |
|
| 1241 |
#. type: Plain text |
| 1242 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1243 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1244 |
msgid "This is the same as the version 1 I<rdma> controller." |
| 1245 |
msgstr "" |
| 1246 |
|
| 1247 |
#. type: Plain text |
| 1248 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1249 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1250 |
msgid "" |
| 1251 |
"There is no direct equivalent of the I<net_cls> and I<net_prio> controllers " |
| 1252 |
"from cgroups version 1. Instead, support has been added to B<iptables>(8) " |
| 1253 |
"to allow eBPF filters that hook on cgroup v2 pathnames to make decisions " |
| 1254 |
"about network traffic on a per-cgroup basis." |
| 1255 |
msgstr "" |
| 1256 |
|
| 1257 |
#. type: Plain text |
| 1258 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1259 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1260 |
msgid "" |
| 1261 |
"The v2 I<devices> controller provides no interface files; instead, device " |
| 1262 |
"control is gated by attaching an eBPF (B<BPF_CGROUP_DEVICE>) program to a " |
| 1263 |
"v2 cgroup." |
| 1264 |
msgstr "" |
| 1265 |
|
| 1266 |
#. type: SS |
| 1267 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1268 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1269 |
#, no-wrap |
| 1270 |
msgid "Cgroups v2 subtree control" |
| 1271 |
msgstr "" |
| 1272 |
|
| 1273 |
#. type: Plain text |
| 1274 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1275 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1276 |
msgid "Each cgroup in the v2 hierarchy contains the following two files:" |
| 1277 |
msgstr "" |
| 1278 |
|
| 1279 |
#. type: TP |
| 1280 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1281 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1282 |
#, no-wrap |
| 1283 |
msgid "I<cgroup.controllers>" |
| 1284 |
msgstr "" |
| 1285 |
|
| 1286 |
#. type: Plain text |
| 1287 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1288 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1289 |
msgid "" |
| 1290 |
"This read-only file exposes a list of the controllers that are I<available> " |
| 1291 |
"in this cgroup. The contents of this file match the contents of the " |
| 1292 |
"I<cgroup.subtree_control> file in the parent cgroup." |
| 1293 |
msgstr "" |
| 1294 |
|
| 1295 |
#. type: TP |
| 1296 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1297 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1298 |
#, no-wrap |
| 1299 |
msgid "I<cgroup.subtree_control>" |
| 1300 |
msgstr "" |
| 1301 |
|
| 1302 |
#. type: Plain text |
| 1303 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1304 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1305 |
msgid "" |
| 1306 |
"This is a list of controllers that are I<active> (I<enabled>) in the " |
| 1307 |
"cgroup. The set of controllers in this file is a subset of the set in the " |
| 1308 |
"I<cgroup.controllers> of this cgroup. The set of active controllers is " |
| 1309 |
"modified by writing strings to this file containing space-delimited " |
| 1310 |
"controller names, each preceded by '+' (to enable a controller) or '-' (to " |
| 1311 |
"disable a controller), as in the following example:" |
| 1312 |
msgstr "" |
| 1313 |
|
| 1314 |
#. type: Plain text |
| 1315 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1316 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1317 |
#, no-wrap |
| 1318 |
msgid "echo \\[aq]+pids -memory\\[aq] E<gt> x/y/cgroup.subtree_control\n" |
| 1319 |
msgstr "" |
| 1320 |
|
| 1321 |
#. type: Plain text |
| 1322 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1323 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1324 |
msgid "" |
| 1325 |
"An attempt to enable a controller that is not present in " |
| 1326 |
"I<cgroup.controllers> leads to an B<ENOENT> error when writing to the " |
| 1327 |
"I<cgroup.subtree_control> file." |
| 1328 |
msgstr "" |
| 1329 |
|
| 1330 |
#. type: Plain text |
| 1331 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1332 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1333 |
msgid "" |
| 1334 |
"Because the list of controllers in I<cgroup.subtree_control> is a subset of " |
| 1335 |
"those I<cgroup.controllers>, a controller that has been disabled in one " |
| 1336 |
"cgroup in the hierarchy can never be re-enabled in the subtree below that " |
| 1337 |
"cgroup." |
| 1338 |
msgstr "" |
| 1339 |
|
| 1340 |
#. type: Plain text |
| 1341 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1342 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1343 |
msgid "" |
| 1344 |
"A cgroup's I<cgroup.subtree_control> file determines the set of controllers " |
| 1345 |
"that are exercised in the I<child> cgroups. When a controller (e.g., " |
| 1346 |
"I<pids>) is present in the I<cgroup.subtree_control> file of a parent " |
| 1347 |
"cgroup, then the corresponding controller-interface files (e.g., " |
| 1348 |
"I<pids.max>) are automatically created in the children of that cgroup and " |
| 1349 |
"can be used to exert resource control in the child cgroups." |
| 1350 |
msgstr "" |
| 1351 |
|
| 1352 |
#. type: SS |
| 1353 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1354 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1355 |
#, no-wrap |
| 1356 |
msgid "Cgroups v2 \\[dq]no internal processes\\[dq] rule" |
| 1357 |
msgstr "" |
| 1358 |
|
| 1359 |
#. type: Plain text |
| 1360 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1361 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1362 |
msgid "" |
| 1363 |
"Cgroups v2 enforces a so-called \"no internal processes\" rule. Roughly " |
| 1364 |
"speaking, this rule means that, with the exception of the root cgroup, " |
| 1365 |
"processes may reside only in leaf nodes (cgroups that do not themselves " |
| 1366 |
"contain child cgroups). This avoids the need to decide how to partition " |
| 1367 |
"resources between processes which are members of cgroup A and processes in " |
| 1368 |
"child cgroups of A." |
| 1369 |
msgstr "" |
| 1370 |
|
| 1371 |
#. type: Plain text |
| 1372 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1373 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1374 |
msgid "" |
| 1375 |
"For instance, if cgroup I</cg1/cg2> exists, then a process may reside in I</" |
| 1376 |
"cg1/cg2>, but not in I</cg1>. This is to avoid an ambiguity in cgroups v1 " |
| 1377 |
"with respect to the delegation of resources between processes in I</cg1> and " |
| 1378 |
"its child cgroups. The recommended approach in cgroups v2 is to create a " |
| 1379 |
"subdirectory called I<leaf> for any nonleaf cgroup which should contain " |
| 1380 |
"processes, but no child cgroups. Thus, processes which previously would " |
| 1381 |
"have gone into I</cg1> would now go into I</cg1/leaf>. This has the " |
| 1382 |
"advantage of making explicit the relationship between processes in I</cg1/" |
| 1383 |
"leaf> and I</cg1>'s other children." |
| 1384 |
msgstr "" |
| 1385 |
|
| 1386 |
#. type: Plain text |
| 1387 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1388 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1389 |
msgid "" |
| 1390 |
"The \"no internal processes\" rule is in fact more subtle than stated " |
| 1391 |
"above. More precisely, the rule is that a (nonroot) cgroup can't both (1) " |
| 1392 |
"have member processes, and (2) distribute resources into child cgroups\\" |
| 1393 |
"[em]that is, have a nonempty I<cgroup.subtree_control> file. Thus, it I<is> " |
| 1394 |
"possible for a cgroup to have both member processes and child cgroups, but " |
| 1395 |
"before controllers can be enabled for that cgroup, the member processes must " |
| 1396 |
"be moved out of the cgroup (e.g., perhaps into the child cgroups)." |
| 1397 |
msgstr "" |
| 1398 |
|
| 1399 |
#. type: Plain text |
| 1400 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1401 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1402 |
msgid "" |
| 1403 |
"With the Linux 4.14 addition of \"thread mode\" (described below), the \"no " |
| 1404 |
"internal processes\" rule has been relaxed in some cases." |
| 1405 |
msgstr "" |
| 1406 |
|
| 1407 |
#. type: SS |
| 1408 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1409 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1410 |
#, no-wrap |
| 1411 |
msgid "Cgroups v2 cgroup.events file" |
| 1412 |
msgstr "" |
| 1413 |
|
| 1414 |
#. type: Plain text |
| 1415 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1416 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1417 |
msgid "" |
| 1418 |
"Each nonroot cgroup in the v2 hierarchy contains a read-only file, " |
| 1419 |
"I<cgroup.events>, whose contents are key-value pairs (delimited by newline " |
| 1420 |
"characters, with the key and value separated by spaces) providing state " |
| 1421 |
"information about the cgroup:" |
| 1422 |
msgstr "" |
| 1423 |
|
| 1424 |
#. type: Plain text |
| 1425 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 1426 |
#: opensuse-tumbleweed |
| 1427 |
#, no-wrap |
| 1428 |
msgid "" |
| 1429 |
"$B< cat mygrp/cgroup.events>\n" |
| 1430 |
"populated 1\n" |
| 1431 |
"frozen 0\n" |
| 1432 |
msgstr "" |
| 1433 |
|
| 1434 |
#. type: Plain text |
| 1435 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1436 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1437 |
msgid "The following keys may appear in this file:" |
| 1438 |
msgstr "" |
| 1439 |
|
| 1440 |
#. type: TP |
| 1441 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1442 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1443 |
#, no-wrap |
| 1444 |
msgid "I<populated>" |
| 1445 |
msgstr "" |
| 1446 |
|
| 1447 |
#. type: Plain text |
| 1448 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1449 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1450 |
msgid "" |
| 1451 |
"The value of this key is either 1, if this cgroup or any of its descendants " |
| 1452 |
"has member processes, or otherwise 0." |
| 1453 |
msgstr "" |
| 1454 |
|
| 1455 |
#. type: TP |
| 1456 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1457 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1458 |
#, no-wrap |
| 1459 |
msgid "I<frozen> (since Linux 5.2)" |
| 1460 |
msgstr "" |
| 1461 |
|
| 1462 |
#. commit 76f969e8948d82e78e1bc4beb6b9465908e7487 |
| 1463 |
#. type: Plain text |
| 1464 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1465 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1466 |
msgid "" |
| 1467 |
"The value of this key is 1 if this cgroup is currently frozen, or 0 if it is " |
| 1468 |
"not." |
| 1469 |
msgstr "" |
| 1470 |
|
| 1471 |
#. type: Plain text |
| 1472 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1473 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1474 |
msgid "" |
| 1475 |
"The I<cgroup.events> file can be monitored, in order to receive notification " |
| 1476 |
"when the value of one of its keys changes. Such monitoring can be done " |
| 1477 |
"using B<inotify>(7), which notifies changes as B<IN_MODIFY> events, or " |
| 1478 |
"B<poll>(2), which notifies changes by returning the B<POLLPRI> and " |
| 1479 |
"B<POLLERR> bits in the I<revents> field." |
| 1480 |
msgstr "" |
| 1481 |
|
| 1482 |
#. type: SS |
| 1483 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1484 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1485 |
#, no-wrap |
| 1486 |
msgid "Cgroup v2 release notification" |
| 1487 |
msgstr "" |
| 1488 |
|
| 1489 |
#. type: Plain text |
| 1490 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1491 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1492 |
msgid "" |
| 1493 |
"Cgroups v2 provides a new mechanism for obtaining notification when a cgroup " |
| 1494 |
"becomes empty. The cgroups v1 I<release_agent> and I<notify_on_release> " |
| 1495 |
"files are removed, and replaced by the I<populated> key in the " |
| 1496 |
"I<cgroup.events> file. This key either has the value 0, meaning that the " |
| 1497 |
"cgroup (and its descendants) contain no (nonzombie) member processes, or 1, " |
| 1498 |
"meaning that the cgroup (or one of its descendants) contains member " |
| 1499 |
"processes." |
| 1500 |
msgstr "" |
| 1501 |
|
| 1502 |
#. type: Plain text |
| 1503 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1504 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1505 |
msgid "" |
| 1506 |
"The cgroups v2 release-notification mechanism offers the following " |
| 1507 |
"advantages over the cgroups v1 I<release_agent> mechanism:" |
| 1508 |
msgstr "" |
| 1509 |
|
| 1510 |
#. type: Plain text |
| 1511 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1512 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1513 |
msgid "" |
| 1514 |
"It allows for cheaper notification, since a single process can monitor " |
| 1515 |
"multiple I<cgroup.events> files (using the techniques described earlier). " |
| 1516 |
"By contrast, the cgroups v1 mechanism requires the expense of creating a " |
| 1517 |
"process for each notification." |
| 1518 |
msgstr "" |
| 1519 |
|
| 1520 |
#. type: Plain text |
| 1521 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1522 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1523 |
msgid "" |
| 1524 |
"Notification for different cgroup subhierarchies can be delegated to " |
| 1525 |
"different processes. By contrast, the cgroups v1 mechanism allows only one " |
| 1526 |
"release agent for an entire hierarchy." |
| 1527 |
msgstr "" |
| 1528 |
|
| 1529 |
#. type: SS |
| 1530 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1531 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1532 |
#, no-wrap |
| 1533 |
msgid "Cgroups v2 cgroup.stat file" |
| 1534 |
msgstr "" |
| 1535 |
|
| 1536 |
#. commit ec39225cca42c05ac36853d11d28f877fde5c42e |
| 1537 |
#. type: Plain text |
| 1538 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1539 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1540 |
msgid "" |
| 1541 |
"Each cgroup in the v2 hierarchy contains a read-only I<cgroup.stat> file " |
| 1542 |
"(first introduced in Linux 4.14) that consists of lines containing key-" |
| 1543 |
"value pairs. The following keys currently appear in this file:" |
| 1544 |
msgstr "" |
| 1545 |
|
| 1546 |
#. type: TP |
| 1547 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1548 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1549 |
#, no-wrap |
| 1550 |
msgid "I<nr_descendants>" |
| 1551 |
msgstr "" |
| 1552 |
|
| 1553 |
#. type: Plain text |
| 1554 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1555 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1556 |
msgid "" |
| 1557 |
"This is the total number of visible (i.e., living) descendant cgroups " |
| 1558 |
"underneath this cgroup." |
| 1559 |
msgstr "" |
| 1560 |
|
| 1561 |
#. type: TP |
| 1562 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1563 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1564 |
#, no-wrap |
| 1565 |
msgid "I<nr_dying_descendants>" |
| 1566 |
msgstr "" |
| 1567 |
|
| 1568 |
#. type: Plain text |
| 1569 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1570 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1571 |
msgid "" |
| 1572 |
"This is the total number of dying descendant cgroups underneath this " |
| 1573 |
"cgroup. A cgroup enters the dying state after being deleted. It remains in " |
| 1574 |
"that state for an undefined period (which will depend on system load) while " |
| 1575 |
"resources are freed before the cgroup is destroyed. Note that the presence " |
| 1576 |
"of some cgroups in the dying state is normal, and is not indicative of any " |
| 1577 |
"problem." |
| 1578 |
msgstr "" |
| 1579 |
|
| 1580 |
#. type: Plain text |
| 1581 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1582 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1583 |
msgid "" |
| 1584 |
"A process can't be made a member of a dying cgroup, and a dying cgroup can't " |
| 1585 |
"be brought back to life." |
| 1586 |
msgstr "" |
| 1587 |
|
| 1588 |
#. type: SS |
| 1589 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1590 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1591 |
#, no-wrap |
| 1592 |
msgid "Limiting the number of descendant cgroups" |
| 1593 |
msgstr "" |
| 1594 |
|
| 1595 |
#. type: Plain text |
| 1596 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1597 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1598 |
msgid "" |
| 1599 |
"Each cgroup in the v2 hierarchy contains the following files, which can be " |
| 1600 |
"used to view and set limits on the number of descendant cgroups under that " |
| 1601 |
"cgroup:" |
| 1602 |
msgstr "" |
| 1603 |
|
| 1604 |
#. type: TP |
| 1605 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1606 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1607 |
#, no-wrap |
| 1608 |
msgid "I<cgroup.max.depth> (since Linux 4.14)" |
| 1609 |
msgstr "" |
| 1610 |
|
| 1611 |
#. commit 1a926e0bbab83bae8207d05a533173425e0496d1 |
| 1612 |
#. type: Plain text |
| 1613 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1614 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1615 |
msgid "" |
| 1616 |
"This file defines a limit on the depth of nesting of descendant cgroups. A " |
| 1617 |
"value of 0 in this file means that no descendant cgroups can be created. An " |
| 1618 |
"attempt to create a descendant whose nesting level exceeds the limit fails " |
| 1619 |
"(I<mkdir>(2) fails with the error B<EAGAIN>)." |
| 1620 |
msgstr "" |
| 1621 |
|
| 1622 |
#. type: Plain text |
| 1623 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1624 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1625 |
msgid "" |
| 1626 |
"Writing the string I<\\[dq]max\\[dq]> to this file means that no limit is " |
| 1627 |
"imposed. The default value in this file is I<\\[dq]max\\[dq]>." |
| 1628 |
msgstr "" |
| 1629 |
|
| 1630 |
#. type: TP |
| 1631 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1632 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1633 |
#, no-wrap |
| 1634 |
msgid "I<cgroup.max.descendants> (since Linux 4.14)" |
| 1635 |
msgstr "" |
| 1636 |
|
| 1637 |
#. commit 1a926e0bbab83bae8207d05a533173425e0496d1 |
| 1638 |
#. type: Plain text |
| 1639 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1640 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1641 |
msgid "" |
| 1642 |
"This file defines a limit on the number of live descendant cgroups that this " |
| 1643 |
"cgroup may have. An attempt to create more descendants than allowed by the " |
| 1644 |
"limit fails (I<mkdir>(2) fails with the error B<EAGAIN>)." |
| 1645 |
msgstr "" |
| 1646 |
|
| 1647 |
#. type: SH |
| 1648 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1649 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1650 |
#, no-wrap |
| 1651 |
msgid "CGROUPS DELEGATION: DELEGATING A HIERARCHY TO A LESS PRIVILEGED USER" |
| 1652 |
msgstr "" |
| 1653 |
|
| 1654 |
#. type: Plain text |
| 1655 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1656 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1657 |
msgid "" |
| 1658 |
"In the context of cgroups, delegation means passing management of some " |
| 1659 |
"subtree of the cgroup hierarchy to a nonprivileged user. Cgroups v1 " |
| 1660 |
"provides support for delegation based on file permissions in the cgroup " |
| 1661 |
"hierarchy but with less strict containment rules than v2 (as noted below). " |
| 1662 |
"Cgroups v2 supports delegation with containment by explicit design. The " |
| 1663 |
"focus of the discussion in this section is on delegation in cgroups v2, with " |
| 1664 |
"some differences for cgroups v1 noted along the way." |
| 1665 |
msgstr "" |
| 1666 |
|
| 1667 |
#. type: Plain text |
| 1668 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1669 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1670 |
msgid "" |
| 1671 |
"Some terminology is required in order to describe delegation. A " |
| 1672 |
"I<delegater> is a privileged user (i.e., root) who owns a parent cgroup. A " |
| 1673 |
"I<delegatee> is a nonprivileged user who will be granted the permissions " |
| 1674 |
"needed to manage some subhierarchy under that parent cgroup, known as the " |
| 1675 |
"I<delegated subtree>." |
| 1676 |
msgstr "" |
| 1677 |
|
| 1678 |
#. type: Plain text |
| 1679 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1680 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1681 |
msgid "" |
| 1682 |
"To perform delegation, the delegater makes certain directories and files " |
| 1683 |
"writable by the delegatee, typically by changing the ownership of the " |
| 1684 |
"objects to be the user ID of the delegatee. Assuming that we want to " |
| 1685 |
"delegate the hierarchy rooted at (say) I</dlgt_grp> and that there are not " |
| 1686 |
"yet any child cgroups under that cgroup, the ownership of the following is " |
| 1687 |
"changed to the user ID of the delegatee:" |
| 1688 |
msgstr "" |
| 1689 |
|
| 1690 |
#. type: TP |
| 1691 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1692 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1693 |
#, no-wrap |
| 1694 |
msgid "I</dlgt_grp>" |
| 1695 |
msgstr "" |
| 1696 |
|
| 1697 |
#. type: Plain text |
| 1698 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1699 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1700 |
msgid "" |
| 1701 |
"Changing the ownership of the root of the subtree means that any new cgroups " |
| 1702 |
"created under the subtree (and the files they contain) will also be owned " |
| 1703 |
"by the delegatee." |
| 1704 |
msgstr "" |
| 1705 |
|
| 1706 |
#. type: TP |
| 1707 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1708 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1709 |
#, no-wrap |
| 1710 |
msgid "I</dlgt_grp/cgroup.procs>" |
| 1711 |
msgstr "" |
| 1712 |
|
| 1713 |
#. type: Plain text |
| 1714 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1715 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1716 |
msgid "" |
| 1717 |
"Changing the ownership of this file means that the delegatee can move " |
| 1718 |
"processes into the root of the delegated subtree." |
| 1719 |
msgstr "" |
| 1720 |
|
| 1721 |
#. type: TP |
| 1722 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1723 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1724 |
#, no-wrap |
| 1725 |
msgid "I</dlgt_grp/cgroup.subtree_control> (cgroups v2 only)" |
| 1726 |
msgstr "" |
| 1727 |
|
| 1728 |
#. type: Plain text |
| 1729 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1730 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1731 |
msgid "" |
| 1732 |
"Changing the ownership of this file means that the delegatee can enable " |
| 1733 |
"controllers (that are present in I</dlgt_grp/cgroup.controllers>) in order " |
| 1734 |
"to further redistribute resources at lower levels in the subtree. (As an " |
| 1735 |
"alternative to changing the ownership of this file, the delegater might " |
| 1736 |
"instead add selected controllers to this file.)" |
| 1737 |
msgstr "" |
| 1738 |
|
| 1739 |
#. type: TP |
| 1740 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1741 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1742 |
#, no-wrap |
| 1743 |
msgid "I</dlgt_grp/cgroup.threads> (cgroups v2 only)" |
| 1744 |
msgstr "" |
| 1745 |
|
| 1746 |
#. type: Plain text |
| 1747 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1748 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1749 |
msgid "" |
| 1750 |
"Changing the ownership of this file is necessary if a threaded subtree is " |
| 1751 |
"being delegated (see the description of \"thread mode\", below). This " |
| 1752 |
"permits the delegatee to write thread IDs to the file. (The ownership of " |
| 1753 |
"this file can also be changed when delegating a domain subtree, but " |
| 1754 |
"currently this serves no purpose, since, as described below, it is not " |
| 1755 |
"possible to move a thread between domain cgroups by writing its thread ID to " |
| 1756 |
"the I<cgroup.threads> file.)" |
| 1757 |
msgstr "" |
| 1758 |
|
| 1759 |
#. type: Plain text |
| 1760 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1761 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1762 |
msgid "" |
| 1763 |
"In cgroups v1, the corresponding file that should instead be delegated is " |
| 1764 |
"the I<tasks> file." |
| 1765 |
msgstr "" |
| 1766 |
|
| 1767 |
#. type: Plain text |
| 1768 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1769 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1770 |
msgid "" |
| 1771 |
"The delegater should I<not> change the ownership of any of the controller " |
| 1772 |
"interfaces files (e.g., I<pids.max>, I<memory.high>) in I<dlgt_grp>. Those " |
| 1773 |
"files are used from the next level above the delegated subtree in order to " |
| 1774 |
"distribute resources into the subtree, and the delegatee should not have " |
| 1775 |
"permission to change the resources that are distributed into the delegated " |
| 1776 |
"subtree." |
| 1777 |
msgstr "" |
| 1778 |
|
| 1779 |
#. type: Plain text |
| 1780 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1781 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1782 |
msgid "" |
| 1783 |
"See also the discussion of the I</sys/kernel/cgroup/delegate> file in NOTES " |
| 1784 |
"for information about further delegatable files in cgroups v2." |
| 1785 |
msgstr "" |
| 1786 |
|
| 1787 |
#. type: Plain text |
| 1788 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1789 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1790 |
msgid "" |
| 1791 |
"After the aforementioned steps have been performed, the delegatee can create " |
| 1792 |
"child cgroups within the delegated subtree (the cgroup subdirectories and " |
| 1793 |
"the files they contain will be owned by the delegatee) and move processes " |
| 1794 |
"between cgroups in the subtree. If some controllers are present in " |
| 1795 |
"I<dlgt_grp/cgroup.subtree_control>, or the ownership of that file was passed " |
| 1796 |
"to the delegatee, the delegatee can also control the further redistribution " |
| 1797 |
"of the corresponding resources into the delegated subtree." |
| 1798 |
msgstr "" |
| 1799 |
|
| 1800 |
#. type: SS |
| 1801 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1802 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1803 |
#, no-wrap |
| 1804 |
msgid "Cgroups v2 delegation: nsdelegate and cgroup namespaces" |
| 1805 |
msgstr "" |
| 1806 |
|
| 1807 |
#. commit 5136f6365ce3eace5a926e10f16ed2a233db5ba9 |
| 1808 |
#. type: Plain text |
| 1809 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1810 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1811 |
msgid "" |
| 1812 |
"Starting with Linux 4.13, there is a second way to perform cgroup delegation " |
| 1813 |
"in the cgroups v2 hierarchy. This is done by mounting or remounting the " |
| 1814 |
"cgroup v2 filesystem with the I<nsdelegate> mount option. For example, if " |
| 1815 |
"the cgroup v2 filesystem has already been mounted, we can remount it with " |
| 1816 |
"the I<nsdelegate> option as follows:" |
| 1817 |
msgstr "" |
| 1818 |
|
| 1819 |
#. type: Plain text |
| 1820 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1821 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1822 |
#, no-wrap |
| 1823 |
msgid "" |
| 1824 |
"mount -t cgroup2 -o remount,nsdelegate \\[rs]\n" |
| 1825 |
" none /sys/fs/cgroup/unified\n" |
| 1826 |
msgstr "" |
| 1827 |
|
| 1828 |
#. type: Plain text |
| 1829 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1830 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1831 |
msgid "" |
| 1832 |
"The effect of this mount option is to cause cgroup namespaces to " |
| 1833 |
"automatically become delegation boundaries. More specifically, the " |
| 1834 |
"following restrictions apply for processes inside the cgroup namespace:" |
| 1835 |
msgstr "" |
| 1836 |
|
| 1837 |
#. type: Plain text |
| 1838 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1839 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1840 |
msgid "" |
| 1841 |
"Writes to controller interface files in the root directory of the namespace " |
| 1842 |
"will fail with the error B<EPERM>. Processes inside the cgroup namespace " |
| 1843 |
"can still write to delegatable files in the root directory of the cgroup " |
| 1844 |
"namespace such as I<cgroup.procs> and I<cgroup.subtree_control>, and can " |
| 1845 |
"create subhierarchy underneath the root directory." |
| 1846 |
msgstr "" |
| 1847 |
|
| 1848 |
#. type: Plain text |
| 1849 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1850 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1851 |
msgid "" |
| 1852 |
"Attempts to migrate processes across the namespace boundary are denied (with " |
| 1853 |
"the error B<ENOENT>). Processes inside the cgroup namespace can still " |
| 1854 |
"(subject to the containment rules described below) move processes between " |
| 1855 |
"cgroups I<within> the subhierarchy under the namespace root." |
| 1856 |
msgstr "" |
| 1857 |
|
| 1858 |
#. type: Plain text |
| 1859 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1860 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1861 |
msgid "" |
| 1862 |
"The ability to define cgroup namespaces as delegation boundaries makes " |
| 1863 |
"cgroup namespaces more useful. To understand why, suppose that we already " |
| 1864 |
"have one cgroup hierarchy that has been delegated to a nonprivileged user, " |
| 1865 |
"I<cecilia>, using the older delegation technique described above. Suppose " |
| 1866 |
"further that I<cecilia> wanted to further delegate a subhierarchy under the " |
| 1867 |
"existing delegated hierarchy. (For example, the delegated hierarchy might " |
| 1868 |
"be associated with an unprivileged container run by I<cecilia>.) Even if a " |
| 1869 |
"cgroup namespace was employed, because both hierarchies are owned by the " |
| 1870 |
"unprivileged user I<cecilia>, the following illegitimate actions could be " |
| 1871 |
"performed:" |
| 1872 |
msgstr "" |
| 1873 |
|
| 1874 |
#. type: Plain text |
| 1875 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1876 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1877 |
msgid "" |
| 1878 |
"A process in the inferior hierarchy could change the resource controller " |
| 1879 |
"settings in the root directory of that hierarchy. (These resource " |
| 1880 |
"controller settings are intended to allow control to be exercised from the " |
| 1881 |
"I<parent> cgroup; a process inside the child cgroup should not be allowed to " |
| 1882 |
"modify them.)" |
| 1883 |
msgstr "" |
| 1884 |
|
| 1885 |
#. type: Plain text |
| 1886 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1887 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1888 |
msgid "" |
| 1889 |
"A process inside the inferior hierarchy could move processes into and out of " |
| 1890 |
"the inferior hierarchy if the cgroups in the superior hierarchy were somehow " |
| 1891 |
"visible." |
| 1892 |
msgstr "" |
| 1893 |
|
| 1894 |
#. type: Plain text |
| 1895 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1896 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1897 |
msgid "" |
| 1898 |
"Employing the I<nsdelegate> mount option prevents both of these " |
| 1899 |
"possibilities." |
| 1900 |
msgstr "" |
| 1901 |
|
| 1902 |
#. type: Plain text |
| 1903 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1904 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1905 |
msgid "" |
| 1906 |
"The I<nsdelegate> mount option only has an effect when performed in the " |
| 1907 |
"initial mount namespace; in other mount namespaces, the option is silently " |
| 1908 |
"ignored." |
| 1909 |
msgstr "" |
| 1910 |
|
| 1911 |
#. type: Plain text |
| 1912 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1913 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1914 |
msgid "" |
| 1915 |
"I<Note>: On some systems, B<systemd>(1) automatically mounts the cgroup v2 " |
| 1916 |
"filesystem. In order to experiment with the I<nsdelegate> operation, it may " |
| 1917 |
"be useful to boot the kernel with the following command-line options:" |
| 1918 |
msgstr "" |
| 1919 |
|
| 1920 |
#. type: Plain text |
| 1921 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1922 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1923 |
#, no-wrap |
| 1924 |
msgid "cgroup_no_v1=all systemd.legacy_systemd_cgroup_controller\n" |
| 1925 |
msgstr "" |
| 1926 |
|
| 1927 |
#. type: Plain text |
| 1928 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1929 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1930 |
msgid "" |
| 1931 |
"These options cause the kernel to boot with the cgroups v1 controllers " |
| 1932 |
"disabled (meaning that the controllers are available in the v2 hierarchy), " |
| 1933 |
"and tells B<systemd>(1) not to mount and use the cgroup v2 hierarchy, so " |
| 1934 |
"that the v2 hierarchy can be manually mounted with the desired options after " |
| 1935 |
"boot-up." |
| 1936 |
msgstr "" |
| 1937 |
|
| 1938 |
#. type: SS |
| 1939 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1940 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1941 |
#, no-wrap |
| 1942 |
msgid "Cgroup delegation containment rules" |
| 1943 |
msgstr "" |
| 1944 |
|
| 1945 |
#. type: Plain text |
| 1946 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1947 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1948 |
msgid "" |
| 1949 |
"Some delegation I<containment rules> ensure that the delegatee can move " |
| 1950 |
"processes between cgroups within the delegated subtree, but can't move " |
| 1951 |
"processes from outside the delegated subtree into the subtree or vice " |
| 1952 |
"versa. A nonprivileged process (i.e., the delegatee) can write the PID of a " |
| 1953 |
"\"target\" process into a I<cgroup.procs> file only if all of the following " |
| 1954 |
"are true:" |
| 1955 |
msgstr "" |
| 1956 |
|
| 1957 |
#. type: Plain text |
| 1958 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1959 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1960 |
msgid "" |
| 1961 |
"The writer has write permission on the I<cgroup.procs> file in the " |
| 1962 |
"destination cgroup." |
| 1963 |
msgstr "" |
| 1964 |
|
| 1965 |
#. type: Plain text |
| 1966 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1967 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1968 |
msgid "" |
| 1969 |
"The writer has write permission on the I<cgroup.procs> file in the nearest " |
| 1970 |
"common ancestor of the source and destination cgroups. Note that in some " |
| 1971 |
"cases, the nearest common ancestor may be the source or destination cgroup " |
| 1972 |
"itself. This requirement is not enforced for cgroups v1 hierarchies, with " |
| 1973 |
"the consequence that containment in v1 is less strict than in v2. (For " |
| 1974 |
"example, in cgroups v1 the user that owns two distinct delegated " |
| 1975 |
"subhierarchies can move a process between the hierarchies.)" |
| 1976 |
msgstr "" |
| 1977 |
|
| 1978 |
#. type: Plain text |
| 1979 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1980 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1981 |
msgid "" |
| 1982 |
"If the cgroup v2 filesystem was mounted with the I<nsdelegate> option, the " |
| 1983 |
"writer must be able to see the source and destination cgroups from its " |
| 1984 |
"cgroup namespace." |
| 1985 |
msgstr "" |
| 1986 |
|
| 1987 |
#. commit 576dd464505fc53d501bb94569db76f220104d28 |
| 1988 |
#. type: Plain text |
| 1989 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1990 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1991 |
msgid "" |
| 1992 |
"In cgroups v1: the effective UID of the writer (i.e., the delegatee) matches " |
| 1993 |
"the real user ID or the saved set-user-ID of the target process. Before " |
| 1994 |
"Linux 4.11, this requirement also applied in cgroups v2 (This was a " |
| 1995 |
"historical requirement inherited from cgroups v1 that was later deemed " |
| 1996 |
"unnecessary, since the other rules suffice for containment in cgroups v2.)" |
| 1997 |
msgstr "" |
| 1998 |
|
| 1999 |
#. type: Plain text |
| 2000 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2001 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2002 |
msgid "" |
| 2003 |
"I<Note>: one consequence of these delegation containment rules is that the " |
| 2004 |
"unprivileged delegatee can't place the first process into the delegated " |
| 2005 |
"subtree; instead, the delegater must place the first process (a process " |
| 2006 |
"owned by the delegatee) into the delegated subtree." |
| 2007 |
msgstr "" |
| 2008 |
|
| 2009 |
#. type: SH |
| 2010 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2011 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2012 |
#, no-wrap |
| 2013 |
msgid "CGROUPS VERSION 2 THREAD MODE" |
| 2014 |
msgstr "" |
| 2015 |
|
| 2016 |
#. type: Plain text |
| 2017 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2018 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2019 |
msgid "" |
| 2020 |
"Among the restrictions imposed by cgroups v2 that were not present in " |
| 2021 |
"cgroups v1 are the following:" |
| 2022 |
msgstr "" |
| 2023 |
|
| 2024 |
#. type: Plain text |
| 2025 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2026 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2027 |
msgid "" |
| 2028 |
"I<No thread-granularity control>: all of the threads of a process must be in " |
| 2029 |
"the same cgroup." |
| 2030 |
msgstr "" |
| 2031 |
|
| 2032 |
#. type: Plain text |
| 2033 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2034 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2035 |
msgid "" |
| 2036 |
"I<No internal processes>: a cgroup can't both have member processes and " |
| 2037 |
"exercise controllers on child cgroups." |
| 2038 |
msgstr "" |
| 2039 |
|
| 2040 |
#. type: Plain text |
| 2041 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2042 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2043 |
msgid "" |
| 2044 |
"Both of these restrictions were added because the lack of these restrictions " |
| 2045 |
"had caused problems in cgroups v1. In particular, the cgroups v1 ability to " |
| 2046 |
"allow thread-level granularity for cgroup membership made no sense for some " |
| 2047 |
"controllers. (A notable example was the I<memory> controller: since threads " |
| 2048 |
"share an address space, it made no sense to split threads across different " |
| 2049 |
"I<memory> cgroups.)" |
| 2050 |
msgstr "" |
| 2051 |
|
| 2052 |
#. type: Plain text |
| 2053 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2054 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2055 |
msgid "" |
| 2056 |
"Notwithstanding the initial design decision in cgroups v2, there were use " |
| 2057 |
"cases for certain controllers, notably the I<cpu> controller, for which " |
| 2058 |
"thread-level granularity of control was meaningful and useful. To " |
| 2059 |
"accommodate such use cases, Linux 4.14 added I<thread mode> for cgroups v2." |
| 2060 |
msgstr "" |
| 2061 |
|
| 2062 |
#. type: Plain text |
| 2063 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2064 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2065 |
msgid "Thread mode allows the following:" |
| 2066 |
msgstr "" |
| 2067 |
|
| 2068 |
#. type: Plain text |
| 2069 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2070 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2071 |
msgid "" |
| 2072 |
"The creation of I<threaded subtrees> in which the threads of a process may " |
| 2073 |
"be spread across cgroups inside the tree. (A threaded subtree may contain " |
| 2074 |
"multiple multithreaded processes.)" |
| 2075 |
msgstr "" |
| 2076 |
|
| 2077 |
#. type: Plain text |
| 2078 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2079 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2080 |
msgid "" |
| 2081 |
"The concept of I<threaded controllers>, which can distribute resources " |
| 2082 |
"across the cgroups in a threaded subtree." |
| 2083 |
msgstr "" |
| 2084 |
|
| 2085 |
#. type: Plain text |
| 2086 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2087 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2088 |
msgid "" |
| 2089 |
"A relaxation of the \"no internal processes rule\", so that, within a " |
| 2090 |
"threaded subtree, a cgroup can both contain member threads and exercise " |
| 2091 |
"resource control over child cgroups." |
| 2092 |
msgstr "" |
| 2093 |
|
| 2094 |
#. type: Plain text |
| 2095 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2096 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2097 |
msgid "" |
| 2098 |
"With the addition of thread mode, each nonroot cgroup now contains a new " |
| 2099 |
"file, I<cgroup.type>, that exposes, and in some circumstances can be used to " |
| 2100 |
"change, the \"type\" of a cgroup. This file contains one of the following " |
| 2101 |
"type values:" |
| 2102 |
msgstr "" |
| 2103 |
|
| 2104 |
#. type: TP |
| 2105 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2106 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2107 |
#, no-wrap |
| 2108 |
msgid "I<domain>" |
| 2109 |
msgstr "" |
| 2110 |
|
| 2111 |
#. type: Plain text |
| 2112 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2113 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2114 |
msgid "" |
| 2115 |
"This is a normal v2 cgroup that provides process-granularity control. If a " |
| 2116 |
"process is a member of this cgroup, then all threads of the process are (by " |
| 2117 |
"definition) in the same cgroup. This is the default cgroup type, and " |
| 2118 |
"provides the same behavior that was provided for cgroups in the initial " |
| 2119 |
"cgroups v2 implementation." |
| 2120 |
msgstr "" |
| 2121 |
|
| 2122 |
#. type: TP |
| 2123 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2124 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2125 |
#, no-wrap |
| 2126 |
msgid "I<threaded>" |
| 2127 |
msgstr "" |
| 2128 |
|
| 2129 |
#. type: Plain text |
| 2130 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2131 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2132 |
msgid "" |
| 2133 |
"This cgroup is a member of a threaded subtree. Threads can be added to this " |
| 2134 |
"cgroup, and controllers can be enabled for the cgroup." |
| 2135 |
msgstr "" |
| 2136 |
|
| 2137 |
#. type: TP |
| 2138 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2139 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2140 |
#, no-wrap |
| 2141 |
msgid "I<domain threaded>" |
| 2142 |
msgstr "" |
| 2143 |
|
| 2144 |
#. type: Plain text |
| 2145 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2146 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2147 |
msgid "" |
| 2148 |
"This is a domain cgroup that serves as the root of a threaded subtree. This " |
| 2149 |
"cgroup type is also known as \"threaded root\"." |
| 2150 |
msgstr "" |
| 2151 |
|
| 2152 |
#. type: TP |
| 2153 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2154 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2155 |
#, no-wrap |
| 2156 |
msgid "I<domain invalid>" |
| 2157 |
msgstr "" |
| 2158 |
|
| 2159 |
#. type: Plain text |
| 2160 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2161 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2162 |
msgid "" |
| 2163 |
"This is a cgroup inside a threaded subtree that is in an \"invalid\" state. " |
| 2164 |
"Processes can't be added to the cgroup, and controllers can't be enabled for " |
| 2165 |
"the cgroup. The only thing that can be done with this cgroup (other than " |
| 2166 |
"deleting it) is to convert it to a I<threaded> cgroup by writing the string " |
| 2167 |
"I<\\[dq]threaded\\[dq]> to the I<cgroup.type> file." |
| 2168 |
msgstr "" |
| 2169 |
|
| 2170 |
#. type: Plain text |
| 2171 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2172 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2173 |
msgid "" |
| 2174 |
"The rationale for the existence of this \"interim\" type during the creation " |
| 2175 |
"of a threaded subtree (rather than the kernel simply immediately converting " |
| 2176 |
"all cgroups under the threaded root to the type I<threaded>) is to allow " |
| 2177 |
"for possible future extensions to the thread mode model" |
| 2178 |
msgstr "" |
| 2179 |
|
| 2180 |
#. type: SS |
| 2181 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2182 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2183 |
#, no-wrap |
| 2184 |
msgid "Threaded versus domain controllers" |
| 2185 |
msgstr "" |
| 2186 |
|
| 2187 |
#. type: Plain text |
| 2188 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2189 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2190 |
msgid "" |
| 2191 |
"With the addition of threads mode, cgroups v2 now distinguishes two types of " |
| 2192 |
"resource controllers:" |
| 2193 |
msgstr "" |
| 2194 |
|
| 2195 |
#. In the kernel source, look for ".threaded[ \t]*= true" in |
| 2196 |
#. initializations of struct cgroup_subsys |
| 2197 |
#. type: Plain text |
| 2198 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2199 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2200 |
msgid "" |
| 2201 |
"I<Threaded> controllers: these controllers support thread-granularity for " |
| 2202 |
"resource control and can be enabled inside threaded subtrees, with the " |
| 2203 |
"result that the corresponding controller-interface files appear inside the " |
| 2204 |
"cgroups in the threaded subtree. As at Linux 4.19, the following " |
| 2205 |
"controllers are threaded: I<cpu>, I<perf_event>, and I<pids>." |
| 2206 |
msgstr "" |
| 2207 |
|
| 2208 |
#. type: Plain text |
| 2209 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2210 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2211 |
msgid "" |
| 2212 |
"I<Domain> controllers: these controllers support only process granularity " |
| 2213 |
"for resource control. From the perspective of a domain controller, all " |
| 2214 |
"threads of a process are always in the same cgroup. Domain controllers " |
| 2215 |
"can't be enabled inside a threaded subtree." |
| 2216 |
msgstr "" |
| 2217 |
|
| 2218 |
#. type: SS |
| 2219 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2220 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2221 |
#, no-wrap |
| 2222 |
msgid "Creating a threaded subtree" |
| 2223 |
msgstr "" |
| 2224 |
|
| 2225 |
#. type: Plain text |
| 2226 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2227 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2228 |
msgid "" |
| 2229 |
"There are two pathways that lead to the creation of a threaded subtree. The " |
| 2230 |
"first pathway proceeds as follows:" |
| 2231 |
msgstr "" |
| 2232 |
|
| 2233 |
#. type: IP |
| 2234 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2235 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2236 |
#, no-wrap |
| 2237 |
msgid "(1)" |
| 2238 |
msgstr "" |
| 2239 |
|
| 2240 |
#. type: Plain text |
| 2241 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2242 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2243 |
msgid "" |
| 2244 |
"We write the string I<\\[dq]threaded\\[dq]> to the I<cgroup.type> file of a " |
| 2245 |
"cgroup I<y/z> that currently has the type I<domain>. This has the following " |
| 2246 |
"effects:" |
| 2247 |
msgstr "" |
| 2248 |
|
| 2249 |
#. type: Plain text |
| 2250 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2251 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2252 |
msgid "The type of the cgroup I<y/z> becomes I<threaded>." |
| 2253 |
msgstr "" |
| 2254 |
|
| 2255 |
#. type: Plain text |
| 2256 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2257 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2258 |
msgid "" |
| 2259 |
"The type of the parent cgroup, I<y>, becomes I<domain threaded>. The parent " |
| 2260 |
"cgroup is the root of a threaded subtree (also known as the \"threaded " |
| 2261 |
"root\")." |
| 2262 |
msgstr "" |
| 2263 |
|
| 2264 |
#. type: Plain text |
| 2265 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2266 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2267 |
msgid "" |
| 2268 |
"All other cgroups under I<y> that were not already of type I<threaded> " |
| 2269 |
"(because they were inside already existing threaded subtrees under the new " |
| 2270 |
"threaded root) are converted to type I<domain invalid>. Any subsequently " |
| 2271 |
"created cgroups under I<y> will also have the type I<domain invalid>." |
| 2272 |
msgstr "" |
| 2273 |
|
| 2274 |
#. type: IP |
| 2275 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2276 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2277 |
#, no-wrap |
| 2278 |
msgid "(2)" |
| 2279 |
msgstr "" |
| 2280 |
|
| 2281 |
#. type: Plain text |
| 2282 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2283 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2284 |
msgid "" |
| 2285 |
"We write the string I<\\[dq]threaded\\[dq]> to each of the I<domain invalid> " |
| 2286 |
"cgroups under I<y>, in order to convert them to the type I<threaded>. As a " |
| 2287 |
"consequence of this step, all threads under the threaded root now have the " |
| 2288 |
"type I<threaded> and the threaded subtree is now fully usable. The " |
| 2289 |
"requirement to write I<\\[dq]threaded\\[dq]> to each of these cgroups is " |
| 2290 |
"somewhat cumbersome, but allows for possible future extensions to the thread-" |
| 2291 |
"mode model." |
| 2292 |
msgstr "" |
| 2293 |
|
| 2294 |
#. type: Plain text |
| 2295 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2296 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2297 |
msgid "The second way of creating a threaded subtree is as follows:" |
| 2298 |
msgstr "" |
| 2299 |
|
| 2300 |
#. type: Plain text |
| 2301 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2302 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2303 |
msgid "" |
| 2304 |
"In an existing cgroup, I<z>, that currently has the type I<domain>, we (1.1) " |
| 2305 |
"enable one or more threaded controllers and (1.2) make a process a member of " |
| 2306 |
"I<z>. (These two steps can be done in either order.) This has the " |
| 2307 |
"following consequences:" |
| 2308 |
msgstr "" |
| 2309 |
|
| 2310 |
#. type: Plain text |
| 2311 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2312 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2313 |
msgid "The type of I<z> becomes I<domain threaded>." |
| 2314 |
msgstr "" |
| 2315 |
|
| 2316 |
#. type: Plain text |
| 2317 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2318 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2319 |
msgid "" |
| 2320 |
"All of the descendant cgroups of I<z> that were not already of type " |
| 2321 |
"I<threaded> are converted to type I<domain invalid>." |
| 2322 |
msgstr "" |
| 2323 |
|
| 2324 |
#. type: Plain text |
| 2325 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2326 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2327 |
msgid "" |
| 2328 |
"As before, we make the threaded subtree usable by writing the string I<\\" |
| 2329 |
"[dq]threaded\\[dq]> to each of the I<domain invalid> cgroups under I<z>, in " |
| 2330 |
"order to convert them to the type I<threaded>." |
| 2331 |
msgstr "" |
| 2332 |
|
| 2333 |
#. type: Plain text |
| 2334 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 2335 |
#: opensuse-tumbleweed |
| 2336 |
msgid "" |
| 2337 |
"One of the consequences of the above pathways to creating a threaded subtree " |
| 2338 |
"is that the threaded root cgroup can be a parent only to I<threaded> (and " |
| 2339 |
"I<domain invalid>) cgroups. The threaded root cgroup can't be a parent of " |
| 2340 |
"a I<domain> cgroup, and a I<threaded> cgroup can't have a sibling that is a " |
| 2341 |
"I<domain> cgroup." |
| 2342 |
msgstr "" |
| 2343 |
|
| 2344 |
#. type: SS |
| 2345 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2346 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2347 |
#, no-wrap |
| 2348 |
msgid "Using a threaded subtree" |
| 2349 |
msgstr "" |
| 2350 |
|
| 2351 |
#. type: Plain text |
| 2352 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2353 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2354 |
msgid "" |
| 2355 |
"Within a threaded subtree, threaded controllers can be enabled in each " |
| 2356 |
"subgroup whose type has been changed to I<threaded>; upon doing so, the " |
| 2357 |
"corresponding controller interface files appear in the children of that " |
| 2358 |
"cgroup." |
| 2359 |
msgstr "" |
| 2360 |
|
| 2361 |
#. type: Plain text |
| 2362 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2363 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2364 |
msgid "" |
| 2365 |
"A process can be moved into a threaded subtree by writing its PID to the " |
| 2366 |
"I<cgroup.procs> file in one of the cgroups inside the tree. This has the " |
| 2367 |
"effect of making all of the threads in the process members of the " |
| 2368 |
"corresponding cgroup and makes the process a member of the threaded " |
| 2369 |
"subtree. The threads of the process can then be spread across the threaded " |
| 2370 |
"subtree by writing their thread IDs (see B<gettid>(2)) to the " |
| 2371 |
"I<cgroup.threads> files in different cgroups inside the subtree. The " |
| 2372 |
"threads of a process must all reside in the same threaded subtree." |
| 2373 |
msgstr "" |
| 2374 |
|
| 2375 |
#. type: Plain text |
| 2376 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2377 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2378 |
msgid "" |
| 2379 |
"As with writing to I<cgroup.procs>, some containment rules apply when " |
| 2380 |
"writing to the I<cgroup.threads> file:" |
| 2381 |
msgstr "" |
| 2382 |
|
| 2383 |
#. type: Plain text |
| 2384 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2385 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2386 |
msgid "" |
| 2387 |
"The writer must have write permission on the cgroup.threads file in the " |
| 2388 |
"destination cgroup." |
| 2389 |
msgstr "" |
| 2390 |
|
| 2391 |
#. type: Plain text |
| 2392 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2393 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2394 |
msgid "" |
| 2395 |
"The writer must have write permission on the I<cgroup.procs> file in the " |
| 2396 |
"common ancestor of the source and destination cgroups. (In some cases, the " |
| 2397 |
"common ancestor may be the source or destination cgroup itself.)" |
| 2398 |
msgstr "" |
| 2399 |
|
| 2400 |
#. type: Plain text |
| 2401 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2402 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2403 |
msgid "" |
| 2404 |
"The source and destination cgroups must be in the same threaded subtree. " |
| 2405 |
"(Outside a threaded subtree, an attempt to move a thread by writing its " |
| 2406 |
"thread ID to the I<cgroup.threads> file in a different I<domain> cgroup " |
| 2407 |
"fails with the error B<EOPNOTSUPP>.)" |
| 2408 |
msgstr "" |
| 2409 |
|
| 2410 |
#. type: Plain text |
| 2411 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2412 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2413 |
msgid "" |
| 2414 |
"The I<cgroup.threads> file is present in each cgroup (including I<domain> " |
| 2415 |
"cgroups) and can be read in order to discover the set of threads that is " |
| 2416 |
"present in the cgroup. The set of thread IDs obtained when reading this " |
| 2417 |
"file is not guaranteed to be ordered or free of duplicates." |
| 2418 |
msgstr "" |
| 2419 |
|
| 2420 |
#. type: Plain text |
| 2421 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2422 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2423 |
msgid "" |
| 2424 |
"The I<cgroup.procs> file in the threaded root shows the PIDs of all " |
| 2425 |
"processes that are members of the threaded subtree. The I<cgroup.procs> " |
| 2426 |
"files in the other cgroups in the subtree are not readable." |
| 2427 |
msgstr "" |
| 2428 |
|
| 2429 |
#. type: Plain text |
| 2430 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2431 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2432 |
msgid "" |
| 2433 |
"Domain controllers can't be enabled in a threaded subtree; no controller-" |
| 2434 |
"interface files appear inside the cgroups underneath the threaded root. " |
| 2435 |
"From the point of view of a domain controller, threaded subtrees are " |
| 2436 |
"invisible: a multithreaded process inside a threaded subtree appears to a " |
| 2437 |
"domain controller as a process that resides in the threaded root cgroup." |
| 2438 |
msgstr "" |
| 2439 |
|
| 2440 |
#. type: Plain text |
| 2441 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2442 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2443 |
msgid "" |
| 2444 |
"Within a threaded subtree, the \"no internal processes\" rule does not " |
| 2445 |
"apply: a cgroup can both contain member processes (or thread) and exercise " |
| 2446 |
"controllers on child cgroups." |
| 2447 |
msgstr "" |
| 2448 |
|
| 2449 |
#. type: SS |
| 2450 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2451 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2452 |
#, no-wrap |
| 2453 |
msgid "Rules for writing to cgroup.type and creating threaded subtrees" |
| 2454 |
msgstr "" |
| 2455 |
|
| 2456 |
#. type: Plain text |
| 2457 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2458 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2459 |
msgid "A number of rules apply when writing to the I<cgroup.type> file:" |
| 2460 |
msgstr "" |
| 2461 |
|
| 2462 |
#. type: Plain text |
| 2463 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2464 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2465 |
msgid "" |
| 2466 |
"Only the string I<\\[dq]threaded\\[dq]> may be written. In other words, the " |
| 2467 |
"only explicit transition that is possible is to convert a I<domain> cgroup " |
| 2468 |
"to type I<threaded>." |
| 2469 |
msgstr "" |
| 2470 |
|
| 2471 |
#. type: Plain text |
| 2472 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2473 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2474 |
msgid "" |
| 2475 |
"The effect of writing I<\\[dq]threaded\\[dq]> depends on the current value " |
| 2476 |
"in I<cgroup.type>, as follows:" |
| 2477 |
msgstr "" |
| 2478 |
|
| 2479 |
#. type: Plain text |
| 2480 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2481 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2482 |
msgid "" |
| 2483 |
"I<domain> or I<domain threaded>: start the creation of a threaded subtree " |
| 2484 |
"(whose root is the parent of this cgroup) via the first of the pathways " |
| 2485 |
"described above;" |
| 2486 |
msgstr "" |
| 2487 |
|
| 2488 |
#. type: Plain text |
| 2489 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2490 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2491 |
msgid "" |
| 2492 |
"I<domain\\ invalid>: convert this cgroup (which is inside a threaded " |
| 2493 |
"subtree) to a usable (i.e., I<threaded>) state;" |
| 2494 |
msgstr "" |
| 2495 |
|
| 2496 |
#. type: Plain text |
| 2497 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2498 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2499 |
msgid "I<threaded>: no effect (a \"no-op\")." |
| 2500 |
msgstr "" |
| 2501 |
|
| 2502 |
#. type: Plain text |
| 2503 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2504 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2505 |
msgid "" |
| 2506 |
"We can't write to a I<cgroup.type> file if the parent's type is I<domain " |
| 2507 |
"invalid>. In other words, the cgroups of a threaded subtree must be " |
| 2508 |
"converted to the I<threaded> state in a top-down manner." |
| 2509 |
msgstr "" |
| 2510 |
|
| 2511 |
#. type: Plain text |
| 2512 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2513 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2514 |
msgid "" |
| 2515 |
"There are also some constraints that must be satisfied in order to create a " |
| 2516 |
"threaded subtree rooted at the cgroup I<x>:" |
| 2517 |
msgstr "" |
| 2518 |
|
| 2519 |
#. type: Plain text |
| 2520 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2521 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2522 |
msgid "" |
| 2523 |
"There can be no member processes in the descendant cgroups of I<x>. (The " |
| 2524 |
"cgroup I<x> can itself have member processes.)" |
| 2525 |
msgstr "" |
| 2526 |
|
| 2527 |
#. type: Plain text |
| 2528 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2529 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2530 |
msgid "" |
| 2531 |
"No domain controllers may be enabled in I<x>'s I<cgroup.subtree_control> " |
| 2532 |
"file." |
| 2533 |
msgstr "" |
| 2534 |
|
| 2535 |
#. type: Plain text |
| 2536 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2537 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2538 |
msgid "" |
| 2539 |
"If any of the above constraints is violated, then an attempt to write I<\\" |
| 2540 |
"[dq]threaded\\[dq]> to a I<cgroup.type> file fails with the error B<ENOTSUP>." |
| 2541 |
msgstr "" |
| 2542 |
|
| 2543 |
#. type: SS |
| 2544 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2545 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2546 |
#, no-wrap |
| 2547 |
msgid "The \\[dq]domain threaded\\[dq] cgroup type" |
| 2548 |
msgstr "" |
| 2549 |
|
| 2550 |
#. type: Plain text |
| 2551 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2552 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2553 |
msgid "" |
| 2554 |
"According to the pathways described above, the type of a cgroup can change " |
| 2555 |
"to I<domain threaded> in either of the following cases:" |
| 2556 |
msgstr "" |
| 2557 |
|
| 2558 |
#. type: Plain text |
| 2559 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2560 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2561 |
msgid "The string I<\\[dq]threaded\\[dq]> is written to a child cgroup." |
| 2562 |
msgstr "" |
| 2563 |
|
| 2564 |
#. type: Plain text |
| 2565 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2566 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2567 |
msgid "" |
| 2568 |
"A threaded controller is enabled inside the cgroup and a process is made a " |
| 2569 |
"member of the cgroup." |
| 2570 |
msgstr "" |
| 2571 |
|
| 2572 |
#. type: Plain text |
| 2573 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2574 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2575 |
msgid "" |
| 2576 |
"A I<domain threaded> cgroup, I<x>, can revert to the type I<domain> if the " |
| 2577 |
"above conditions no longer hold true\\[em]that is, if all I<threaded> child " |
| 2578 |
"cgroups of I<x> are removed and either I<x> no longer has threaded " |
| 2579 |
"controllers enabled or no longer has member processes." |
| 2580 |
msgstr "" |
| 2581 |
|
| 2582 |
#. type: Plain text |
| 2583 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2584 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2585 |
msgid "When a I<domain threaded> cgroup I<x> reverts to the type I<domain>:" |
| 2586 |
msgstr "" |
| 2587 |
|
| 2588 |
#. type: Plain text |
| 2589 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2590 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2591 |
msgid "" |
| 2592 |
"All I<domain invalid> descendants of I<x> that are not in lower-level " |
| 2593 |
"threaded subtrees revert to the type I<domain>." |
| 2594 |
msgstr "" |
| 2595 |
|
| 2596 |
#. type: Plain text |
| 2597 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2598 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2599 |
msgid "" |
| 2600 |
"The root cgroups in any lower-level threaded subtrees revert to the type " |
| 2601 |
"I<domain threaded>." |
| 2602 |
msgstr "" |
| 2603 |
|
| 2604 |
#. type: SS |
| 2605 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2606 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2607 |
#, no-wrap |
| 2608 |
msgid "Exceptions for the root cgroup" |
| 2609 |
msgstr "" |
| 2610 |
|
| 2611 |
#. type: Plain text |
| 2612 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2613 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2614 |
msgid "" |
| 2615 |
"The root cgroup of the v2 hierarchy is treated exceptionally: it can be the " |
| 2616 |
"parent of both I<domain> and I<threaded> cgroups. If the string I<\\" |
| 2617 |
"[dq]threaded\\[dq]> is written to the I<cgroup.type> file of one of the " |
| 2618 |
"children of the root cgroup, then" |
| 2619 |
msgstr "" |
| 2620 |
|
| 2621 |
#. type: Plain text |
| 2622 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2623 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2624 |
msgid "The type of that cgroup becomes I<threaded>." |
| 2625 |
msgstr "" |
| 2626 |
|
| 2627 |
#. type: Plain text |
| 2628 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2629 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2630 |
msgid "" |
| 2631 |
"The type of any descendants of that cgroup that are not part of lower-level " |
| 2632 |
"threaded subtrees changes to I<domain invalid>." |
| 2633 |
msgstr "" |
| 2634 |
|
| 2635 |
#. type: Plain text |
| 2636 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2637 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2638 |
msgid "" |
| 2639 |
"Note that in this case, there is no cgroup whose type becomes I<domain " |
| 2640 |
"threaded>. (Notionally, the root cgroup can be considered as the threaded " |
| 2641 |
"root for the cgroup whose type was changed to I<threaded>.)" |
| 2642 |
msgstr "" |
| 2643 |
|
| 2644 |
#. type: Plain text |
| 2645 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2646 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2647 |
msgid "" |
| 2648 |
"The aim of this exceptional treatment for the root cgroup is to allow a " |
| 2649 |
"threaded cgroup that employs the I<cpu> controller to be placed as high as " |
| 2650 |
"possible in the hierarchy, so as to minimize the (small) cost of traversing " |
| 2651 |
"the cgroup hierarchy." |
| 2652 |
msgstr "" |
| 2653 |
|
| 2654 |
#. type: SS |
| 2655 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2656 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2657 |
#, no-wrap |
| 2658 |
msgid "The cgroups v2 \\[dq]cpu\\[dq] controller and realtime threads" |
| 2659 |
msgstr "" |
| 2660 |
|
| 2661 |
#. type: Plain text |
| 2662 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2663 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2664 |
msgid "" |
| 2665 |
"As at Linux 4.19, the cgroups v2 I<cpu> controller does not support control " |
| 2666 |
"of realtime threads (specifically threads scheduled under any of the " |
| 2667 |
"policies B<SCHED_FIFO>, B<SCHED_RR>, described B<SCHED_DEADLINE>; see " |
| 2668 |
"B<sched>(7)). Therefore, the I<cpu> controller can be enabled in the root " |
| 2669 |
"cgroup only if all realtime threads are in the root cgroup. (If there are " |
| 2670 |
"realtime threads in nonroot cgroups, then a B<write>(2) of the string I<\\" |
| 2671 |
"[dq]+cpu\\[dq]> to the I<cgroup.subtree_control> file fails with the error " |
| 2672 |
"B<EINVAL>.)" |
| 2673 |
msgstr "" |
| 2674 |
|
| 2675 |
#. type: Plain text |
| 2676 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2677 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2678 |
msgid "" |
| 2679 |
"On some systems, B<systemd>(1) places certain realtime threads in nonroot " |
| 2680 |
"cgroups in the v2 hierarchy. On such systems, these threads must first be " |
| 2681 |
"moved to the root cgroup before the I<cpu> controller can be enabled." |
| 2682 |
msgstr "" |
| 2683 |
|
| 2684 |
#. type: SH |
| 2685 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2686 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2687 |
#, no-wrap |
| 2688 |
msgid "ERRORS" |
| 2689 |
msgstr "" |
| 2690 |
|
| 2691 |
#. type: Plain text |
| 2692 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2693 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2694 |
msgid "The following errors can occur for B<mount>(2):" |
| 2695 |
msgstr "" |
| 2696 |
|
| 2697 |
#. type: TP |
| 2698 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2699 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2700 |
#, no-wrap |
| 2701 |
msgid "B<EBUSY>" |
| 2702 |
msgstr "" |
| 2703 |
|
| 2704 |
#. type: Plain text |
| 2705 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2706 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2707 |
msgid "" |
| 2708 |
"An attempt to mount a cgroup version 1 filesystem specified neither the " |
| 2709 |
"I<name=> option (to mount a named hierarchy) nor a controller name (or " |
| 2710 |
"I<all>)." |
| 2711 |
msgstr "" |
| 2712 |
|
| 2713 |
#. type: SH |
| 2714 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2715 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2716 |
#, no-wrap |
| 2717 |
msgid "NOTES" |
| 2718 |
msgstr "" |
| 2719 |
|
| 2720 |
#. type: Plain text |
| 2721 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2722 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2723 |
msgid "" |
| 2724 |
"A child process created via B<fork>(2) inherits its parent's cgroup " |
| 2725 |
"memberships. A process's cgroup memberships are preserved across " |
| 2726 |
"B<execve>(2)." |
| 2727 |
msgstr "" |
| 2728 |
|
| 2729 |
#. type: Plain text |
| 2730 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2731 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2732 |
msgid "" |
| 2733 |
"The B<clone3>(2) B<CLONE_INTO_CGROUP> flag can be used to create a child " |
| 2734 |
"process that begins its life in a different version 2 cgroup from the parent " |
| 2735 |
"process." |
| 2736 |
msgstr "" |
| 2737 |
|
| 2738 |
#. type: SS |
| 2739 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2740 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2741 |
#, no-wrap |
| 2742 |
msgid "/proc files" |
| 2743 |
msgstr "" |
| 2744 |
|
| 2745 |
#. type: TP |
| 2746 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2747 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2748 |
#, no-wrap |
| 2749 |
msgid "I</proc/cgroups> (since Linux 2.6.24)" |
| 2750 |
msgstr "" |
| 2751 |
|
| 2752 |
#. type: Plain text |
| 2753 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2754 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2755 |
msgid "" |
| 2756 |
"This file contains information about the controllers that are compiled into " |
| 2757 |
"the kernel. An example of the contents of this file (reformatted for " |
| 2758 |
"readability) is the following:" |
| 2759 |
msgstr "" |
| 2760 |
|
| 2761 |
#. type: Plain text |
| 2762 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2763 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2764 |
#, no-wrap |
| 2765 |
msgid "" |
| 2766 |
"#subsys_name hierarchy num_cgroups enabled\n" |
| 2767 |
"cpuset 4 1 1\n" |
| 2768 |
"cpu 8 1 1\n" |
| 2769 |
"cpuacct 8 1 1\n" |
| 2770 |
"blkio 6 1 1\n" |
| 2771 |
"memory 3 1 1\n" |
| 2772 |
"devices 10 84 1\n" |
| 2773 |
"freezer 7 1 1\n" |
| 2774 |
"net_cls 9 1 1\n" |
| 2775 |
"perf_event 5 1 1\n" |
| 2776 |
"net_prio 9 1 1\n" |
| 2777 |
"hugetlb 0 1 0\n" |
| 2778 |
"pids 2 1 1\n" |
| 2779 |
msgstr "" |
| 2780 |
|
| 2781 |
#. type: Plain text |
| 2782 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2783 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2784 |
msgid "The fields in this file are, from left to right:" |
| 2785 |
msgstr "" |
| 2786 |
|
| 2787 |
#. type: IP |
| 2788 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2789 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2790 |
#, no-wrap |
| 2791 |
msgid "[1]" |
| 2792 |
msgstr "" |
| 2793 |
|
| 2794 |
#. type: Plain text |
| 2795 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2796 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2797 |
msgid "The name of the controller." |
| 2798 |
msgstr "" |
| 2799 |
|
| 2800 |
#. type: IP |
| 2801 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2802 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2803 |
#, no-wrap |
| 2804 |
msgid "[2]" |
| 2805 |
msgstr "" |
| 2806 |
|
| 2807 |
#. type: Plain text |
| 2808 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2809 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2810 |
msgid "" |
| 2811 |
"The unique ID of the cgroup hierarchy on which this controller is mounted. " |
| 2812 |
"If multiple cgroups v1 controllers are bound to the same hierarchy, then " |
| 2813 |
"each will show the same hierarchy ID in this field. The value in this field " |
| 2814 |
"will be 0 if:" |
| 2815 |
msgstr "" |
| 2816 |
|
| 2817 |
#. type: Plain text |
| 2818 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2819 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2820 |
msgid "the controller is not mounted on a cgroups v1 hierarchy;" |
| 2821 |
msgstr "" |
| 2822 |
|
| 2823 |
#. type: Plain text |
| 2824 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2825 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2826 |
msgid "the controller is bound to the cgroups v2 single unified hierarchy; or" |
| 2827 |
msgstr "" |
| 2828 |
|
| 2829 |
#. type: Plain text |
| 2830 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2831 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2832 |
msgid "the controller is disabled (see below)." |
| 2833 |
msgstr "" |
| 2834 |
|
| 2835 |
#. type: IP |
| 2836 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2837 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2838 |
#, no-wrap |
| 2839 |
msgid "[3]" |
| 2840 |
msgstr "" |
| 2841 |
|
| 2842 |
#. type: Plain text |
| 2843 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2844 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2845 |
msgid "The number of control groups in this hierarchy using this controller." |
| 2846 |
msgstr "" |
| 2847 |
|
| 2848 |
#. type: IP |
| 2849 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2850 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2851 |
#, no-wrap |
| 2852 |
msgid "[4]" |
| 2853 |
msgstr "" |
| 2854 |
|
| 2855 |
#. type: Plain text |
| 2856 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2857 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2858 |
msgid "" |
| 2859 |
"This field contains the value 1 if this controller is enabled, or 0 if it " |
| 2860 |
"has been disabled (via the I<cgroup_disable> kernel command-line boot " |
| 2861 |
"parameter)." |
| 2862 |
msgstr "" |
| 2863 |
|
| 2864 |
#. type: TP |
| 2865 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2866 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2867 |
#, no-wrap |
| 2868 |
msgid "I</proc/>pidI</cgroup> (since Linux 2.6.24)" |
| 2869 |
msgstr "" |
| 2870 |
|
| 2871 |
#. type: Plain text |
| 2872 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2873 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2874 |
msgid "" |
| 2875 |
"This file describes control groups to which the process with the " |
| 2876 |
"corresponding PID belongs. The displayed information differs for cgroups " |
| 2877 |
"version 1 and version 2 hierarchies." |
| 2878 |
msgstr "" |
| 2879 |
|
| 2880 |
#. type: Plain text |
| 2881 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2882 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2883 |
msgid "" |
| 2884 |
"For each cgroup hierarchy of which the process is a member, there is one " |
| 2885 |
"entry containing three colon-separated fields:" |
| 2886 |
msgstr "" |
| 2887 |
|
| 2888 |
#. type: Plain text |
| 2889 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2890 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2891 |
#, no-wrap |
| 2892 |
msgid "hierarchy-ID:controller-list:cgroup-path\n" |
| 2893 |
msgstr "" |
| 2894 |
|
| 2895 |
#. type: Plain text |
| 2896 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2897 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2898 |
msgid "For example:" |
| 2899 |
msgstr "" |
| 2900 |
|
| 2901 |
#. type: Plain text |
| 2902 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2903 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2904 |
#, no-wrap |
| 2905 |
msgid "5:cpuacct,cpu,cpuset:/daemons\n" |
| 2906 |
msgstr "" |
| 2907 |
|
| 2908 |
#. type: Plain text |
| 2909 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2910 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2911 |
msgid "The colon-separated fields are, from left to right:" |
| 2912 |
msgstr "" |
| 2913 |
|
| 2914 |
#. type: Plain text |
| 2915 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2916 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2917 |
msgid "" |
| 2918 |
"For cgroups version 1 hierarchies, this field contains a unique hierarchy ID " |
| 2919 |
"number that can be matched to a hierarchy ID in I</proc/cgroups>. For the " |
| 2920 |
"cgroups version 2 hierarchy, this field contains the value 0." |
| 2921 |
msgstr "" |
| 2922 |
|
| 2923 |
#. type: Plain text |
| 2924 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2925 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2926 |
msgid "" |
| 2927 |
"For cgroups version 1 hierarchies, this field contains a comma-separated " |
| 2928 |
"list of the controllers bound to the hierarchy. For the cgroups version 2 " |
| 2929 |
"hierarchy, this field is empty." |
| 2930 |
msgstr "" |
| 2931 |
|
| 2932 |
#. type: Plain text |
| 2933 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2934 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2935 |
msgid "" |
| 2936 |
"This field contains the pathname of the control group in the hierarchy to " |
| 2937 |
"which the process belongs. This pathname is relative to the mount point of " |
| 2938 |
"the hierarchy." |
| 2939 |
msgstr "" |
| 2940 |
|
| 2941 |
#. type: SS |
| 2942 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2943 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2944 |
#, no-wrap |
| 2945 |
msgid "/sys/kernel/cgroup files" |
| 2946 |
msgstr "" |
| 2947 |
|
| 2948 |
#. type: TP |
| 2949 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2950 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2951 |
#, no-wrap |
| 2952 |
msgid "I</sys/kernel/cgroup/delegate> (since Linux 4.15)" |
| 2953 |
msgstr "" |
| 2954 |
|
| 2955 |
#. commit 01ee6cfb1483fe57c9cbd8e73817dfbf9bacffd3 |
| 2956 |
#. type: Plain text |
| 2957 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2958 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2959 |
msgid "" |
| 2960 |
"This file exports a list of the cgroups v2 files (one per line) that are " |
| 2961 |
"delegatable (i.e., whose ownership should be changed to the user ID of the " |
| 2962 |
"delegatee). In the future, the set of delegatable files may change or grow, " |
| 2963 |
"and this file provides a way for the kernel to inform user-space " |
| 2964 |
"applications of which files must be delegated. As at Linux 4.15, one sees " |
| 2965 |
"the following when inspecting this file:" |
| 2966 |
msgstr "" |
| 2967 |
|
| 2968 |
#. type: Plain text |
| 2969 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 2970 |
#: opensuse-tumbleweed |
| 2971 |
#, no-wrap |
| 2972 |
msgid "" |
| 2973 |
"$B< cat /sys/kernel/cgroup/delegate>\n" |
| 2974 |
"cgroup.procs\n" |
| 2975 |
"cgroup.subtree_control\n" |
| 2976 |
"cgroup.threads\n" |
| 2977 |
msgstr "" |
| 2978 |
|
| 2979 |
#. type: TP |
| 2980 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2981 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2982 |
#, no-wrap |
| 2983 |
msgid "I</sys/kernel/cgroup/features> (since Linux 4.15)" |
| 2984 |
msgstr "" |
| 2985 |
|
| 2986 |
#. commit 5f2e673405b742be64e7c3604ed4ed3ac14f35ce |
| 2987 |
#. type: Plain text |
| 2988 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2989 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2990 |
msgid "" |
| 2991 |
"Over time, the set of cgroups v2 features that are provided by the kernel " |
| 2992 |
"may change or grow, or some features may not be enabled by default. This " |
| 2993 |
"file provides a way for user-space applications to discover what features " |
| 2994 |
"the running kernel supports and has enabled. Features are listed one per " |
| 2995 |
"line:" |
| 2996 |
msgstr "" |
| 2997 |
|
| 2998 |
#. type: Plain text |
| 2999 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 3000 |
#: opensuse-tumbleweed |
| 3001 |
#, no-wrap |
| 3002 |
msgid "" |
| 3003 |
"$B< cat /sys/kernel/cgroup/features>\n" |
| 3004 |
"nsdelegate\n" |
| 3005 |
"memory_localevents\n" |
| 3006 |
msgstr "" |
| 3007 |
|
| 3008 |
#. type: Plain text |
| 3009 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3010 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3011 |
msgid "The entries that can appear in this file are:" |
| 3012 |
msgstr "" |
| 3013 |
|
| 3014 |
#. type: Plain text |
| 3015 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3016 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3017 |
msgid "The kernel supports the I<memory_localevents> mount option." |
| 3018 |
msgstr "" |
| 3019 |
|
| 3020 |
#. type: Plain text |
| 3021 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3022 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3023 |
msgid "The kernel supports the I<nsdelegate> mount option." |
| 3024 |
msgstr "" |
| 3025 |
|
| 3026 |
#. type: TP |
| 3027 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3028 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3029 |
#, no-wrap |
| 3030 |
msgid "I<memory_recursiveprot> (since Linux 5.7)" |
| 3031 |
msgstr "" |
| 3032 |
|
| 3033 |
#. commit 8a931f801340c2be10552c7b5622d5f4852f3a36 |
| 3034 |
#. type: Plain text |
| 3035 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3036 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3037 |
msgid "The kernel supports the I<memory_recursiveprot> mount option." |
| 3038 |
msgstr "" |
| 3039 |
|
| 3040 |
#. type: SH |
| 3041 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3042 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3043 |
#, no-wrap |
| 3044 |
msgid "SEE ALSO" |
| 3045 |
msgstr "" |
| 3046 |
|
| 3047 |
#. type: Plain text |
| 3048 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3049 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3050 |
msgid "" |
| 3051 |
"B<prlimit>(1), B<systemd>(1), B<systemd-cgls>(1), B<systemd-cgtop>(1), " |
| 3052 |
"B<clone>(2), B<ioprio_set>(2), B<perf_event_open>(2), B<setrlimit>(2), " |
| 3053 |
"B<cgroup_namespaces>(7), B<cpuset>(7), B<namespaces>(7), B<sched>(7), " |
| 3054 |
"B<user_namespaces>(7)" |
| 3055 |
msgstr "" |
| 3056 |
|
| 3057 |
#. type: Plain text |
| 3058 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3059 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3060 |
msgid "The kernel source file I<Documentation/admin-guide/cgroup-v2.rst>." |
| 3061 |
msgstr "" |
| 3062 |
|
| 3063 |
#. type: TH |
| 3064 |
#: debian-trixie |
| 3065 |
#, no-wrap |
| 3066 |
msgid "2024-06-15" |
| 3067 |
msgstr "" |
| 3068 |
|
| 3069 |
#. type: TH |
| 3070 |
#: debian-trixie |
| 3071 |
#, no-wrap |
| 3072 |
msgid "Linux man-pages 6.9.1" |
| 3073 |
msgstr "" |
| 3074 |
|
| 3075 |
#. type: Plain text |
| 3076 |
#: debian-trixie fedora-44 fedora-rawhide |
| 3077 |
msgid "" |
| 3078 |
"The initial release of the cgroups implementation was in Linux 2.6.24. Over " |
| 3079 |
"time, various cgroup controllers have been added to allow the management of " |
| 3080 |
"various types of resources. However, the development of these controllers " |
| 3081 |
"was largely uncoordinated, with the result that many inconsistencies arose " |
| 3082 |
"between controllers and management of the cgroup hierarchies became rather " |
| 3083 |
"complex. A longer description of these problems can be found in the kernel " |
| 3084 |
"source file I<Documentation/admin-guide/cgroup-v2.rst> (or I<Documentation/" |
| 3085 |
"cgroup-v2.txt> in Linux 4.17 and earlier)." |
| 3086 |
msgstr "" |
| 3087 |
|
| 3088 |
#. type: Plain text |
| 3089 |
#: debian-trixie |
| 3090 |
msgid "" |
| 3091 |
"It is not possible to mount the same controller against multiple cgroup " |
| 3092 |
"hierarchies. For example, it is not possible to mount both the I<cpu> and " |
| 3093 |
"I<cpuacct> controllers against one hierarchy, and to mount the I<cpu> " |
| 3094 |
"controller alone against another hierarchy. It is possible to create " |
| 3095 |
"multiple mount with exactly the same set of comounted controllers. However, " |
| 3096 |
"in this case all that results is multiple mount points providing a view of " |
| 3097 |
"the same hierarchy." |
| 3098 |
msgstr "" |
| 3099 |
|
| 3100 |
#. type: TP |
| 3101 |
#: debian-trixie fedora-44 fedora-rawhide |
| 3102 |
#, no-wrap |
| 3103 |
msgid "I<cpu> (since Linux 2.6.24; B<CONFIG_CGROUP_SCHED>)" |
| 3104 |
msgstr "" |
| 3105 |
|
| 3106 |
#. type: Plain text |
| 3107 |
#: debian-trixie fedora-44 fedora-rawhide |
| 3108 |
msgid "" |
| 3109 |
"Cgroups can be guaranteed a minimum number of \"CPU shares\" when a system " |
| 3110 |
"is busy. This does not limit a cgroup's CPU usage if the CPUs are not " |
| 3111 |
"busy. For further information, see I<Documentation/scheduler/sched-design-" |
| 3112 |
"CFS.rst> (or I<Documentation/scheduler/sched-design-CFS.txt> in Linux 5.2 " |
| 3113 |
"and earlier)." |
| 3114 |
msgstr "" |
| 3115 |
|
| 3116 |
#. type: Plain text |
| 3117 |
#: debian-trixie fedora-44 fedora-rawhide |
| 3118 |
msgid "" |
| 3119 |
"In Linux 3.2, this controller was extended to provide CPU \"bandwidth\" " |
| 3120 |
"control. If the kernel is configured with B<CONFIG_CFS_BANDWIDTH>, then " |
| 3121 |
"within each scheduling period (defined via a file in the cgroup directory), " |
| 3122 |
"it is possible to define an upper limit on the CPU time allocated to the " |
| 3123 |
"processes in a cgroup. This upper limit applies even if there is no other " |
| 3124 |
"competition for the CPU. Further information can be found in the kernel " |
| 3125 |
"source file I<Documentation/scheduler/sched-bwc.rst> (or I<Documentation/" |
| 3126 |
"scheduler/sched-bwc.txt> in Linux 5.2 and earlier)." |
| 3127 |
msgstr "" |
| 3128 |
|
| 3129 |
#. type: TP |
| 3130 |
#: debian-trixie fedora-44 fedora-rawhide |
| 3131 |
#, no-wrap |
| 3132 |
msgid "I<cpuacct> (since Linux 2.6.24; B<CONFIG_CGROUP_CPUACCT>)" |
| 3133 |
msgstr "" |
| 3134 |
|
| 3135 |
#. type: Plain text |
| 3136 |
#: debian-trixie fedora-44 fedora-rawhide |
| 3137 |
msgid "" |
| 3138 |
"Further information can be found in the kernel source file I<Documentation/" |
| 3139 |
"admin-guide/cgroup-v1/cpuacct.rst> (or I<Documentation/cgroup-v1/" |
| 3140 |
"cpuacct.txt> in Linux 5.2 and earlier)." |
| 3141 |
msgstr "" |
| 3142 |
|
| 3143 |
#. type: TP |
| 3144 |
#: debian-trixie fedora-44 fedora-rawhide |
| 3145 |
#, no-wrap |
| 3146 |
msgid "I<cpuset> (since Linux 2.6.24; B<CONFIG_CPUSETS>)" |
| 3147 |
msgstr "" |
| 3148 |
|
| 3149 |
#. type: Plain text |
| 3150 |
#: debian-trixie fedora-44 fedora-rawhide |
| 3151 |
msgid "" |
| 3152 |
"Further information can be found in the kernel source file I<Documentation/" |
| 3153 |
"admin-guide/cgroup-v1/cpusets.rst> (or I<Documentation/cgroup-v1/" |
| 3154 |
"cpusets.txt> in Linux 5.2 and earlier)." |
| 3155 |
msgstr "" |
| 3156 |
|
| 3157 |
#. type: TP |
| 3158 |
#: debian-trixie fedora-44 fedora-rawhide |
| 3159 |
#, no-wrap |
| 3160 |
msgid "I<memory> (since Linux 2.6.25; B<CONFIG_MEMCG>)" |
| 3161 |
msgstr "" |
| 3162 |
|
| 3163 |
#. type: Plain text |
| 3164 |
#: debian-trixie fedora-44 fedora-rawhide |
| 3165 |
msgid "" |
| 3166 |
"Further information can be found in the kernel source file I<Documentation/" |
| 3167 |
"admin-guide/cgroup-v1/memory.rst> (or I<Documentation/cgroup-v1/memory.txt> " |
| 3168 |
"in Linux 5.2 and earlier)." |
| 3169 |
msgstr "" |
| 3170 |
|
| 3171 |
#. type: TP |
| 3172 |
#: debian-trixie fedora-44 fedora-rawhide |
| 3173 |
#, no-wrap |
| 3174 |
msgid "I<devices> (since Linux 2.6.26; B<CONFIG_CGROUP_DEVICE>)" |
| 3175 |
msgstr "" |
| 3176 |
|
| 3177 |
#. type: Plain text |
| 3178 |
#: debian-trixie fedora-44 fedora-rawhide |
| 3179 |
msgid "" |
| 3180 |
"Further information can be found in the kernel source file I<Documentation/" |
| 3181 |
"admin-guide/cgroup-v1/devices.rst> (or I<Documentation/cgroup-v1/" |
| 3182 |
"devices.txt> in Linux 5.2 and earlier)." |
| 3183 |
msgstr "" |
| 3184 |
|
| 3185 |
#. type: TP |
| 3186 |
#: debian-trixie fedora-44 fedora-rawhide |
| 3187 |
#, no-wrap |
| 3188 |
msgid "I<freezer> (since Linux 2.6.28; B<CONFIG_CGROUP_FREEZER>)" |
| 3189 |
msgstr "" |
| 3190 |
|
| 3191 |
#. type: Plain text |
| 3192 |
#: debian-trixie fedora-44 fedora-rawhide |
| 3193 |
msgid "" |
| 3194 |
"Further information can be found in the kernel source file I<Documentation/" |
| 3195 |
"admin-guide/cgroup-v1/freezer-subsystem.rst> (or I<Documentation/cgroup-v1/" |
| 3196 |
"freezer-subsystem.txt> in Linux 5.2 and earlier)." |
| 3197 |
msgstr "" |
| 3198 |
|
| 3199 |
#. type: TP |
| 3200 |
#: debian-trixie fedora-44 fedora-rawhide |
| 3201 |
#, no-wrap |
| 3202 |
msgid "I<net_cls> (since Linux 2.6.29; B<CONFIG_CGROUP_NET_CLASSID>)" |
| 3203 |
msgstr "" |
| 3204 |
|
| 3205 |
#. type: Plain text |
| 3206 |
#: debian-trixie fedora-44 fedora-rawhide |
| 3207 |
msgid "" |
| 3208 |
"Further information can be found in the kernel source file I<Documentation/" |
| 3209 |
"admin-guide/cgroup-v1/net_cls.rst> (or I<Documentation/cgroup-v1/" |
| 3210 |
"net_cls.txt> in Linux 5.2 and earlier)." |
| 3211 |
msgstr "" |
| 3212 |
|
| 3213 |
#. type: TP |
| 3214 |
#: debian-trixie fedora-44 fedora-rawhide |
| 3215 |
#, no-wrap |
| 3216 |
msgid "I<blkio> (since Linux 2.6.33; B<CONFIG_BLK_CGROUP>)" |
| 3217 |
msgstr "" |
| 3218 |
|
| 3219 |
#. type: Plain text |
| 3220 |
#: debian-trixie fedora-44 fedora-rawhide |
| 3221 |
msgid "" |
| 3222 |
"Further information can be found in the kernel source file I<Documentation/" |
| 3223 |
"admin-guide/cgroup-v1/blkio-controller.rst> (or I<Documentation/cgroup-v1/" |
| 3224 |
"blkio-controller.txt> in Linux 5.2 and earlier)." |
| 3225 |
msgstr "" |
| 3226 |
|
| 3227 |
#. type: TP |
| 3228 |
#: debian-trixie fedora-44 fedora-rawhide |
| 3229 |
#, no-wrap |
| 3230 |
msgid "I<perf_event> (since Linux 2.6.39; B<CONFIG_CGROUP_PERF>)" |
| 3231 |
msgstr "" |
| 3232 |
|
| 3233 |
#. type: TP |
| 3234 |
#: debian-trixie fedora-44 fedora-rawhide |
| 3235 |
#, no-wrap |
| 3236 |
msgid "I<net_prio> (since Linux 3.3; B<CONFIG_CGROUP_NET_PRIO>)" |
| 3237 |
msgstr "" |
| 3238 |
|
| 3239 |
#. type: Plain text |
| 3240 |
#: debian-trixie fedora-44 fedora-rawhide |
| 3241 |
msgid "" |
| 3242 |
"Further information can be found in the kernel source file I<Documentation/" |
| 3243 |
"admin-guide/cgroup-v1/net_prio.rst> (or I<Documentation/cgroup-v1/" |
| 3244 |
"net_prio.txt> in Linux 5.2 and earlier)." |
| 3245 |
msgstr "" |
| 3246 |
|
| 3247 |
#. type: TP |
| 3248 |
#: debian-trixie fedora-44 fedora-rawhide |
| 3249 |
#, no-wrap |
| 3250 |
msgid "I<hugetlb> (since Linux 3.5; B<CONFIG_CGROUP_HUGETLB>)" |
| 3251 |
msgstr "" |
| 3252 |
|
| 3253 |
#. type: Plain text |
| 3254 |
#: debian-trixie fedora-44 fedora-rawhide |
| 3255 |
msgid "" |
| 3256 |
"Further information can be found in the kernel source file I<Documentation/" |
| 3257 |
"admin-guide/cgroup-v1/hugetlb.rst> (or I<Documentation/cgroup-v1/" |
| 3258 |
"hugetlb.txt> in Linux 5.2 and earlier)." |
| 3259 |
msgstr "" |
| 3260 |
|
| 3261 |
#. type: TP |
| 3262 |
#: debian-trixie fedora-44 fedora-rawhide |
| 3263 |
#, no-wrap |
| 3264 |
msgid "I<pids> (since Linux 4.3; B<CONFIG_CGROUP_PIDS>)" |
| 3265 |
msgstr "" |
| 3266 |
|
| 3267 |
#. type: Plain text |
| 3268 |
#: debian-trixie fedora-44 fedora-rawhide |
| 3269 |
msgid "" |
| 3270 |
"Further information can be found in the kernel source file I<Documentation/" |
| 3271 |
"admin-guide/cgroup-v1/pids.rst> (or I<Documentation/cgroup-v1/pids.txt> in " |
| 3272 |
"Linux 5.2 and earlier)." |
| 3273 |
msgstr "" |
| 3274 |
|
| 3275 |
#. type: TP |
| 3276 |
#: debian-trixie fedora-44 fedora-rawhide |
| 3277 |
#, no-wrap |
| 3278 |
msgid "I<rdma> (since Linux 4.11; B<CONFIG_CGROUP_RDMA>)" |
| 3279 |
msgstr "" |
| 3280 |
|
| 3281 |
#. type: Plain text |
| 3282 |
#: debian-trixie fedora-44 fedora-rawhide |
| 3283 |
msgid "" |
| 3284 |
"Further information can be found in the kernel source file I<Documentation/" |
| 3285 |
"admin-guide/cgroup-v1/rdma.rst> (or I<Documentation/cgroup-v1/rdma.txt> in " |
| 3286 |
"Linux 5.2 and earlier)." |
| 3287 |
msgstr "" |
| 3288 |
|
| 3289 |
#. type: Plain text |
| 3290 |
#: debian-trixie fedora-44 fedora-rawhide |
| 3291 |
msgid "" |
| 3292 |
"For more changes, see the I<Documentation/admin-guide/cgroup-v2.rst> file in " |
| 3293 |
"the kernel source (or I<Documentation/cgroup-v2.txt> in Linux 4.17 and " |
| 3294 |
"earlier)." |
| 3295 |
msgstr "" |
| 3296 |
|
| 3297 |
#. commit 9852ae3fe5293264f01c49f2571ef7688f7823ce |
| 3298 |
#. type: Plain text |
| 3299 |
#: debian-trixie |
| 3300 |
msgid "" |
| 3301 |
"The I<memory.events> should show statistics only for the cgroup itself, and " |
| 3302 |
"not for any descendant cgroups. This was the behavior before Linux 5.2. " |
| 3303 |
"Starting in Linux 5.2, the default behavior is to include statistics for " |
| 3304 |
"descendant cgroups in I<memory.events>, and this mount option can be used to " |
| 3305 |
"revert to the legacy behavior. This option is system wide and can be set on " |
| 3306 |
"mount or modified through remount only from the initial mount namespace; it " |
| 3307 |
"is silently ignored in noninitial namespaces." |
| 3308 |
msgstr "" |
| 3309 |
|
| 3310 |
#. type: Plain text |
| 3311 |
#: debian-trixie fedora-44 fedora-rawhide |
| 3312 |
msgid "" |
| 3313 |
"The following controllers, documented in the kernel source file " |
| 3314 |
"I<Documentation/admin-guide/cgroup-v2.rst> (or I<Documentation/cgroup-" |
| 3315 |
"v2.txt> in Linux 4.17 and earlier), are supported in cgroups version 2:" |
| 3316 |
msgstr "" |
| 3317 |
|
| 3318 |
#. type: Plain text |
| 3319 |
#: debian-trixie fedora-44 fedora-rawhide |
| 3320 |
#, no-wrap |
| 3321 |
msgid "" |
| 3322 |
"$ B<cat mygrp/cgroup.events>\n" |
| 3323 |
"populated 1\n" |
| 3324 |
"frozen 0\n" |
| 3325 |
msgstr "" |
| 3326 |
|
| 3327 |
#. type: Plain text |
| 3328 |
#: debian-trixie fedora-44 fedora-rawhide |
| 3329 |
msgid "" |
| 3330 |
"One of the consequences of the above pathways to creating a threaded subtree " |
| 3331 |
"is that the threaded root cgroup can be a parent only to I<threaded> (and " |
| 3332 |
"I<domain invalid>) cgroups. The threaded root cgroup can't be a parent of " |
| 3333 |
"a I<domain> cgroups, and a I<threaded> cgroup can't have a sibling that is a " |
| 3334 |
"I<domain> cgroup." |
| 3335 |
msgstr "" |
| 3336 |
|
| 3337 |
#. type: Plain text |
| 3338 |
#: debian-trixie fedora-44 fedora-rawhide |
| 3339 |
#, no-wrap |
| 3340 |
msgid "" |
| 3341 |
"$ B<cat /sys/kernel/cgroup/delegate>\n" |
| 3342 |
"cgroup.procs\n" |
| 3343 |
"cgroup.subtree_control\n" |
| 3344 |
"cgroup.threads\n" |
| 3345 |
msgstr "" |
| 3346 |
|
| 3347 |
#. type: Plain text |
| 3348 |
#: debian-trixie fedora-44 fedora-rawhide |
| 3349 |
#, no-wrap |
| 3350 |
msgid "" |
| 3351 |
"$ B<cat /sys/kernel/cgroup/features>\n" |
| 3352 |
"nsdelegate\n" |
| 3353 |
"memory_localevents\n" |
| 3354 |
msgstr "" |
| 3355 |
|
| 3356 |
#. type: TH |
| 3357 |
#: fedora-44 fedora-rawhide |
| 3358 |
#, no-wrap |
| 3359 |
msgid "2024-12-04" |
| 3360 |
msgstr "" |
| 3361 |
|
| 3362 |
#. type: TH |
| 3363 |
#: fedora-44 fedora-rawhide |
| 3364 |
#, no-wrap |
| 3365 |
msgid "Linux man-pages 6.13" |
| 3366 |
msgstr "" |
| 3367 |
|
| 3368 |
#. type: TH |
| 3369 |
#: mageia-cauldron |
| 3370 |
#, no-wrap |
| 3371 |
msgid "Linux man-pages 6.17" |
| 3372 |
msgstr "" |
| 3373 |
|
| 3374 |
#. type: TH |
| 3375 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 3376 |
#, no-wrap |
| 3377 |
msgid "Linux man-pages (unreleased)" |
| 3378 |
msgstr "" |