| 1 |
# Russian translation of manpages |
| 2 |
# This file is distributed under the same license as the manpages-l10n package. |
| 3 |
# Copyright © of this file: |
| 4 |
# Azamat Hackimov <[email protected]>, 2014. |
| 5 |
# Dmitriy S. Seregin <[email protected]>, 2013. |
| 6 |
# Dmitry Bolkhovskikh <[email protected]>, 2017. |
| 7 |
# Katrin Kutepova <[email protected]>, 2018. |
| 8 |
# Yuri Kozlov <[email protected]>, 2011-2019. |
| 9 |
# Иван Павлов <[email protected]>, 2017. |
| 10 |
msgid "" |
| 11 |
msgstr "" |
| 12 |
"Project-Id-Version: manpages-l10n\n" |
| 13 |
"POT-Creation-Date: 2026-06-05 06:20+0200\n" |
| 14 |
"PO-Revision-Date: 2024-12-21 19:50+0300\n" |
| 15 |
"Last-Translator: Yuri Kozlov <[email protected]>\n" |
| 16 |
"Language-Team: Russian <[email protected]>\n" |
| 17 |
"Language: ru\n" |
| 18 |
"MIME-Version: 1.0\n" |
| 19 |
"Content-Type: text/plain; charset=UTF-8\n" |
| 20 |
"Content-Transfer-Encoding: 8bit\n" |
| 21 |
"Plural-Forms: nplurals=4; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && " |
| 22 |
"n%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || " |
| 23 |
"(n%100>=11 && n%100<=14)? 2 : 3);\n" |
| 24 |
"X-Generator: Lokalize 2.0\n" |
| 25 |
|
| 26 |
#. type: TH |
| 27 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 28 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 29 |
#, fuzzy, no-wrap |
| 30 |
#| msgid "cgroup" |
| 31 |
msgid "cgroups" |
| 32 |
msgstr "cgroup" |
| 33 |
|
| 34 |
#. type: TH |
| 35 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 36 |
#: opensuse-tumbleweed |
| 37 |
#, no-wrap |
| 38 |
msgid "2026-02-08" |
| 39 |
msgstr "8 февраля 2026 г." |
| 40 |
|
| 41 |
#. type: TH |
| 42 |
#: archlinux debian-unstable |
| 43 |
#, fuzzy, no-wrap |
| 44 |
#| msgid "Linux man-pages 6.17" |
| 45 |
msgid "Linux man-pages 6.18" |
| 46 |
msgstr "Справочные страницы Linux 6.17" |
| 47 |
|
| 48 |
#. type: SH |
| 49 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 50 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 51 |
#, no-wrap |
| 52 |
msgid "NAME" |
| 53 |
msgstr "НАИМЕНОВАНИЕ" |
| 54 |
|
| 55 |
#. type: Plain text |
| 56 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 57 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 58 |
msgid "cgroups - Linux control groups" |
| 59 |
msgstr "cgroups - управляемые группы в Linux" |
| 60 |
|
| 61 |
#. type: SH |
| 62 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 63 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 64 |
#, no-wrap |
| 65 |
msgid "DESCRIPTION" |
| 66 |
msgstr "ОПИСАНИЕ" |
| 67 |
|
| 68 |
#. type: Plain text |
| 69 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 70 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 71 |
msgid "" |
| 72 |
"Control groups, usually referred to as cgroups, are a Linux kernel feature " |
| 73 |
"which allow processes to be organized into hierarchical groups whose usage " |
| 74 |
"of various types of resources can then be limited and monitored. The " |
| 75 |
"kernel's cgroup interface is provided through a pseudo-filesystem called " |
| 76 |
"cgroupfs. Grouping is implemented in the core cgroup kernel code, while " |
| 77 |
"resource tracking and limits are implemented in a set of per-resource-type " |
| 78 |
"subsystems (memory, CPU, and so on)." |
| 79 |
msgstr "" |
| 80 |
"Управляемые cgroup-ы, обычно называемые cgroups, это свойство ядра Linux, " |
| 81 |
"которое позволяет объединять процессы в иерархические группы, и в этих " |
| 82 |
"группах отслеживать и ограничивать разные типы ресурсов. Ядро предоставляет " |
| 83 |
"интерфейс работы с cgroup-ами через псевдо-файловую систему, называемую " |
| 84 |
"cgroupfs. Группировка реализована в базовой части ядра cgroup, а слежение за " |
| 85 |
"ресурсами и ограничениями — в подсистемах самих ресурсов (память, ЦП и т. " |
| 86 |
"п.)." |
| 87 |
|
| 88 |
#. type: SS |
| 89 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 90 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 91 |
#, no-wrap |
| 92 |
msgid "Terminology" |
| 93 |
msgstr "Терминология" |
| 94 |
|
| 95 |
#. type: Plain text |
| 96 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 97 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 98 |
msgid "" |
| 99 |
"A I<cgroup> is a collection of processes that are bound to a set of limits " |
| 100 |
"or parameters defined via the cgroup filesystem." |
| 101 |
msgstr "" |
| 102 |
"I<cgroup> — это набор процессов, которые связаны с набором ограничений или " |
| 103 |
"параметров, определяемых через файловую систему cgroup." |
| 104 |
|
| 105 |
#. type: Plain text |
| 106 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 107 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 108 |
msgid "" |
| 109 |
"A I<subsystem> is a kernel component that modifies the behavior of the " |
| 110 |
"processes in a cgroup. Various subsystems have been implemented, making it " |
| 111 |
"possible to do things such as limiting the amount of CPU time and memory " |
| 112 |
"available to a cgroup, accounting for the CPU time used by a cgroup, and " |
| 113 |
"freezing and resuming execution of the processes in a cgroup. Subsystems " |
| 114 |
"are sometimes also known as I<resource controllers> (or simply, controllers)." |
| 115 |
msgstr "" |
| 116 |
"I<subsystem> — компонент ядра, который изменяет поведение процессов в cgroup-" |
| 117 |
"у. Реализованы различные подсистемы, они позволяют делать разные вещи, " |
| 118 |
"например ограничивать количество времени ЦП и память доступную для cgroup-ы, " |
| 119 |
"подсчитывать время ЦП, используемое группой и останавливать и возобновлять " |
| 120 |
"выполнение процессов в cgroup-е. Подсистемы иногда также называют " |
| 121 |
"I<контроллерами ресурсов> (или просто, контроллерами)." |
| 122 |
|
| 123 |
#. type: Plain text |
| 124 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 125 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 126 |
msgid "" |
| 127 |
"The cgroups for a controller are arranged in a I<hierarchy>. This hierarchy " |
| 128 |
"is defined by creating, removing, and renaming subdirectories within the " |
| 129 |
"cgroup filesystem. At each level of the hierarchy, attributes (e.g., " |
| 130 |
"limits) can be defined. The limits, control, and accounting provided by " |
| 131 |
"cgroups generally have effect throughout the subhierarchy underneath the " |
| 132 |
"cgroup where the attributes are defined. Thus, for example, the limits " |
| 133 |
"placed on a cgroup at a higher level in the hierarchy cannot be exceeded by " |
| 134 |
"descendant cgroups." |
| 135 |
msgstr "" |
| 136 |
"Для контроллера cgroup-ы упорядочены в I<иерархию>. Иерархия определяется " |
| 137 |
"посредством создания, удаления и переименования подкаталогов в файловой " |
| 138 |
"системе cgroup. На каждом уровне иерархии можно задать атрибуты (например, " |
| 139 |
"ограничения). Если атрибуты назначены, то ограничение, контроль и учёт, " |
| 140 |
"предоставляемый cgroup-ами, обычно, распространяется в иерархии по всем " |
| 141 |
"нижестоящим элементам. То есть, например, ограничение, заданное на cgroup на " |
| 142 |
"высшем уровне иерархии не может быть превышено в дочерних cgroup-ах." |
| 143 |
|
| 144 |
#. type: SS |
| 145 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 146 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 147 |
#, no-wrap |
| 148 |
msgid "Cgroups version 1 and version 2" |
| 149 |
msgstr "Cgroups версии 1 и 2" |
| 150 |
|
| 151 |
#. type: Plain text |
| 152 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 153 |
#: opensuse-tumbleweed |
| 154 |
#, fuzzy |
| 155 |
#| msgid "" |
| 156 |
#| "The initial release of the cgroups implementation was in Linux 2.6.24. " |
| 157 |
#| "Over time, various cgroup controllers have been added to allow the " |
| 158 |
#| "management of various types of resources. However, the development of " |
| 159 |
#| "these controllers was largely uncoordinated, with the result that many " |
| 160 |
#| "inconsistencies arose between controllers and management of the cgroup " |
| 161 |
#| "hierarchies became rather complex. (A longer description of these " |
| 162 |
#| "problems can be found in the kernel source file I<Documentation/cgroup-" |
| 163 |
#| "v2.txt>.)" |
| 164 |
msgid "" |
| 165 |
"The initial release of the cgroups implementation was in Linux 2.6.24. Over " |
| 166 |
"time, various cgroup controllers have been added to allow the management of " |
| 167 |
"various types of resources. However, the development of these controllers " |
| 168 |
"was largely uncoordinated, with the result that many inconsistencies arose " |
| 169 |
"between controllers and management of the cgroup hierarchies became rather " |
| 170 |
"complex. A longer description of these problems can be found in the kernel " |
| 171 |
"source file I<Documentation/admin-guide/cgroup-v2.rst> (or I<Documentation/" |
| 172 |
"cgroup-v2.rst> in Linux 4.17 and earlier)." |
| 173 |
msgstr "" |
| 174 |
"Впервые реализация cgroup появилась в Linux 2.6.24. Постепенно добавлялись " |
| 175 |
"различные контроллеры cgroup, позволяющие управлять различными типами " |
| 176 |
"ресурсов. Однако, разработка этих контроллеров была, по большей части, не " |
| 177 |
"скоординированной, что привело к \tнесогласованности между контроллерами, и " |
| 178 |
"управление иерархиями cgroup стало очень сложным (расширенное описание " |
| 179 |
"проблем можно найти в файле исходного кода ядра I<Documentation/cgroup-" |
| 180 |
"v2.txt>)." |
| 181 |
|
| 182 |
#. type: Plain text |
| 183 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 184 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 185 |
#, fuzzy |
| 186 |
#| msgid "" |
| 187 |
#| "Because of the problems with the initial cgroups implementation (cgroups " |
| 188 |
#| "version 1), starting in Linux 3.10, work began on a new, orthogonal " |
| 189 |
#| "implementation to remedy these problems. Initially marked experimental, " |
| 190 |
#| "and hidden behind the I<-o\\ __DEVEL__sane_behavior> mount option, the " |
| 191 |
#| "new version (cgroups version 2) was eventually made official with the " |
| 192 |
#| "release of Linux 4.5. Differences between the two versions are described " |
| 193 |
#| "in the text below." |
| 194 |
msgid "" |
| 195 |
"Because of the problems with the initial cgroups implementation (cgroups " |
| 196 |
"version 1), starting in Linux 3.10, work began on a new, orthogonal " |
| 197 |
"implementation to remedy these problems. Initially marked experimental, and " |
| 198 |
"hidden behind the I<-o\\ __DEVEL__sane_behavior> mount option, the new " |
| 199 |
"version (cgroups version 2) was eventually made official with the release " |
| 200 |
"of Linux 4.5. Differences between the two versions are described in the " |
| 201 |
"text below. The file I<cgroup.sane_behavior>, present in cgroups v1, is a " |
| 202 |
"relic of this mount option. The file always reports \"0\" and is only " |
| 203 |
"retained for backward compatibility." |
| 204 |
msgstr "" |
| 205 |
"Вследствие проблем в первой реализации cgroup (cgroups версии 1), начиная с " |
| 206 |
"Linux 3.10 началась работа на новой независимой реализацией, учитывающей " |
| 207 |
"возникшие ошибки. Сначала помеченная как экспериментальная и скрытая " |
| 208 |
"параметром монтирования I<-o\\ __DEVEL__sane_behavior> новая версия (cgroups " |
| 209 |
"версии 2) в конце концов была добавлена в Linux 4.5. Различия между версиями " |
| 210 |
"описаны далее." |
| 211 |
|
| 212 |
#. type: Plain text |
| 213 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 214 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 215 |
msgid "" |
| 216 |
"Although cgroups v2 is intended as a replacement for cgroups v1, the older " |
| 217 |
"system continues to exist (and for compatibility reasons is unlikely to be " |
| 218 |
"removed). Currently, cgroups v2 implements only a subset of the controllers " |
| 219 |
"available in cgroups v1. The two systems are implemented so that both v1 " |
| 220 |
"controllers and v2 controllers can be mounted on the same system. Thus, for " |
| 221 |
"example, it is possible to use those controllers that are supported under " |
| 222 |
"version 2, while also using version 1 controllers where version 2 does not " |
| 223 |
"yet support those controllers. The only restriction here is that a " |
| 224 |
"controller can't be simultaneously employed in both a cgroups v1 hierarchy " |
| 225 |
"and in the cgroups v2 hierarchy." |
| 226 |
msgstr "" |
| 227 |
"Хотя cgroups v2 создавалась как замена cgroups v1, старая система всё ещё " |
| 228 |
"существует (и для обеспечения совместимости её не хотелось бы удалять). В " |
| 229 |
"настоящее время, в cgroups v2 реализованы не все контроллеры, доступные в " |
| 230 |
"cgroups v1. Эти две системы реализованы таким образом, что контроллеры v1 и " |
| 231 |
"v2 можно монтировать одновременно. То есть, например, можно не только " |
| 232 |
"использовать контроллеры, поддерживаемые версией 2, но и использовать " |
| 233 |
"контроллеры версии 1, которые пока не поддерживаются версией 2. Единственным " |
| 234 |
"ограничением является то, что один и тот же контроллер не может быть запущен " |
| 235 |
"одновременно в иерархии cgroups v1 и cgroups v2." |
| 236 |
|
| 237 |
#. type: SH |
| 238 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 239 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 240 |
#, no-wrap |
| 241 |
msgid "CGROUPS VERSION 1" |
| 242 |
msgstr "CGROUPS ВЕРСИИ 1" |
| 243 |
|
| 244 |
#. type: Plain text |
| 245 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 246 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 247 |
msgid "" |
| 248 |
"Under cgroups v1, each controller may be mounted against a separate cgroup " |
| 249 |
"filesystem that provides its own hierarchical organization of the processes " |
| 250 |
"on the system. It is also possible to comount multiple (or even all) " |
| 251 |
"cgroups v1 controllers against the same cgroup filesystem, meaning that the " |
| 252 |
"comounted controllers manage the same hierarchical organization of processes." |
| 253 |
msgstr "" |
| 254 |
"В cgroups v1 каждый контроллер можно смонтировать в отдельную файловую " |
| 255 |
"систему cgroup, которая представляет собой собственную иерархию процессов в " |
| 256 |
"системе. Также возможно совместное монтирование нескольких (или даже всех) " |
| 257 |
"контроллеров cgroups v1 в единую файловую систему cgroup, при этом совместно " |
| 258 |
"смонтированные контроллеры управляют одной иерархией процессов." |
| 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 |
"For each mounted hierarchy, the directory tree mirrors the control group " |
| 265 |
"hierarchy. Each control group is represented by a directory, with each of " |
| 266 |
"its child control cgroups represented as a child directory. For instance, " |
| 267 |
"I</user/joe/1.session> represents control group I<1.session>, which is a " |
| 268 |
"child of cgroup I<joe>, which is a child of I</user>. Under each cgroup " |
| 269 |
"directory is a set of files which can be read or written to, reflecting " |
| 270 |
"resource limits and a few general cgroup properties." |
| 271 |
msgstr "" |
| 272 |
"Для каждой смонтированной иерархии дерево каталогов отражает иерархию " |
| 273 |
"управляемой группы. Каждая управляемая группа представляется каталогом, " |
| 274 |
"каждый её потомок управляемой cgroups представляется дочерним каталогом. " |
| 275 |
"Например, I</user/joe/1.session> представляет управляемую группу " |
| 276 |
"I<1.session>, которая является потомком cgroup I<joe>, которая является " |
| 277 |
"потомком I</user>. В каждом каталоге cgroup есть набор файлов, доступных на " |
| 278 |
"чтение и запись, через которые доступны ограничения ресурсов и другие общие " |
| 279 |
"свойства cgroup." |
| 280 |
|
| 281 |
#. type: SS |
| 282 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 283 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 284 |
#, no-wrap |
| 285 |
msgid "Tasks (threads) versus processes" |
| 286 |
msgstr "Задачи (нити) и процессы" |
| 287 |
|
| 288 |
#. type: Plain text |
| 289 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 290 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 291 |
msgid "" |
| 292 |
"In cgroups v1, a distinction is drawn between I<processes> and I<tasks>. In " |
| 293 |
"this view, a process can consist of multiple tasks (more commonly called " |
| 294 |
"threads, from a user-space perspective, and called such in the remainder of " |
| 295 |
"this man page). In cgroups v1, it is possible to independently manipulate " |
| 296 |
"the cgroup memberships of the threads in a process." |
| 297 |
msgstr "" |
| 298 |
"В cgroups v1 I<процессы> и I<задачи> различаются. Процесс может состоять из " |
| 299 |
"нескольких задач (чаще всего называемых нитями, если смотреть из " |
| 300 |
"пользовательского пространства, и так они будут называться далее в этой " |
| 301 |
"справочной странице). В cgroups v1 возможно независимо управлять членством " |
| 302 |
"cgroup для нитей процесса." |
| 303 |
|
| 304 |
#. type: Plain text |
| 305 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 306 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 307 |
msgid "" |
| 308 |
"The cgroups v1 ability to split threads across different cgroups caused " |
| 309 |
"problems in some cases. For example, it made no sense for the I<memory> " |
| 310 |
"controller, since all of the threads of a process share a single address " |
| 311 |
"space. Because of these problems, the ability to independently manipulate " |
| 312 |
"the cgroup memberships of the threads in a process was removed in the " |
| 313 |
"initial cgroups v2 implementation, and subsequently restored in a more " |
| 314 |
"limited form (see the discussion of \"thread mode\" below)." |
| 315 |
msgstr "" |
| 316 |
"В некоторых случаях способность cgroups v1 разделять нити по разным cgroups " |
| 317 |
"вызывает проблемы. Например, это не имеет смысла для контроллера I<memory>, " |
| 318 |
"так как все нити процесса находятся в одном адресном пространстве. Из-за " |
| 319 |
"таких проблем способность независимого управления членством cgroup для нитей " |
| 320 |
"процесса была удалена в первой реализации cgroups v2, но позже восстановлена " |
| 321 |
"в более ограниченном виде (смотрите описание «режим нитей» ниже)." |
| 322 |
|
| 323 |
#. type: SS |
| 324 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 325 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 326 |
#, no-wrap |
| 327 |
msgid "Mounting v1 controllers" |
| 328 |
msgstr "Монтирование контроллеров v1" |
| 329 |
|
| 330 |
#. type: Plain text |
| 331 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 332 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 333 |
msgid "" |
| 334 |
"The use of cgroups requires a kernel built with the B<CONFIG_CGROUP> " |
| 335 |
"option. In addition, each of the v1 controllers has an associated " |
| 336 |
"configuration option that must be set in order to employ that controller." |
| 337 |
msgstr "" |
| 338 |
"Для использования cgroups требуется собрать ядро с параметром " |
| 339 |
"B<CONFIG_CGROUP>. Также с каждым контроллером v1 связан параметр настройки, " |
| 340 |
"который должен быть задан, если нужно работать с этим контроллером." |
| 341 |
|
| 342 |
#. type: Plain text |
| 343 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 344 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 345 |
msgid "" |
| 346 |
"In order to use a v1 controller, it must be mounted against a cgroup " |
| 347 |
"filesystem. The usual place for such mounts is under a B<tmpfs>(5) " |
| 348 |
"filesystem mounted at I</sys/fs/cgroup>. Thus, one might mount the I<cpu> " |
| 349 |
"controller as follows:" |
| 350 |
msgstr "" |
| 351 |
"Чтобы использовать контроллер a v1, его нужно смонтировать в файловую " |
| 352 |
"систему cgroup. Обычно для этого используют файловую систему B<tmpfs>(5), " |
| 353 |
"смонтированную в I</sys/fs/cgroup>. Таким образом, можно смонтировать " |
| 354 |
"контроллер I<cpu> следующим образом:" |
| 355 |
|
| 356 |
#. type: Plain text |
| 357 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 358 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 359 |
#, no-wrap |
| 360 |
msgid "mount -t cgroup -o cpu none /sys/fs/cgroup/cpu\n" |
| 361 |
msgstr "mount -t cgroup -o cpu none /sys/fs/cgroup/cpu\n" |
| 362 |
|
| 363 |
#. type: Plain text |
| 364 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 365 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 366 |
msgid "" |
| 367 |
"It is possible to comount multiple controllers against the same hierarchy. " |
| 368 |
"For example, here the I<cpu> and I<cpuacct> controllers are comounted " |
| 369 |
"against a single hierarchy:" |
| 370 |
msgstr "" |
| 371 |
"Можно смонтировать несколько контроллеров вместе в одной иерархии. Например, " |
| 372 |
"так контроллеры I<cpu> и I<cpuacct> одновременно монтируются в одной " |
| 373 |
"иерархии:" |
| 374 |
|
| 375 |
#. type: Plain text |
| 376 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 377 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 378 |
#, no-wrap |
| 379 |
msgid "mount -t cgroup -o cpu,cpuacct none /sys/fs/cgroup/cpu,cpuacct\n" |
| 380 |
msgstr "mount -t cgroup -o cpu,cpuacct none /sys/fs/cgroup/cpu,cpuacct\n" |
| 381 |
|
| 382 |
#. type: Plain text |
| 383 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 384 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 385 |
msgid "" |
| 386 |
"Comounting controllers has the effect that a process is in the same cgroup " |
| 387 |
"for all of the comounted controllers. Separately mounting controllers " |
| 388 |
"allows a process to be in cgroup I</foo1> for one controller while being in " |
| 389 |
"I</foo2/foo3> for another." |
| 390 |
msgstr "" |
| 391 |
"Для одновременно смонтированных контроллеров процесс находится в одной " |
| 392 |
"cgroup всех одновременно смонтированных контроллеров. Отдельно " |
| 393 |
"смонтированные контроллеры позволяют процессу находиться в cgroup I</foo1> " |
| 394 |
"одного контроллера и в I</foo2/foo3> другого." |
| 395 |
|
| 396 |
#. type: Plain text |
| 397 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 398 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 399 |
msgid "" |
| 400 |
"It is possible to comount all v1 controllers against the same hierarchy:" |
| 401 |
msgstr "Можно смонтировать все контроллеры v1 вместе в одной иерархии:" |
| 402 |
|
| 403 |
#. type: Plain text |
| 404 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 405 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 406 |
#, no-wrap |
| 407 |
msgid "mount -t cgroup -o all cgroup /sys/fs/cgroup\n" |
| 408 |
msgstr "mount -t cgroup -o all cgroup /sys/fs/cgroup\n" |
| 409 |
|
| 410 |
#. type: Plain text |
| 411 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 412 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 413 |
msgid "" |
| 414 |
"(One can achieve the same result by omitting I<-o all>, since it is the " |
| 415 |
"default if no controllers are explicitly specified.)" |
| 416 |
msgstr "" |
| 417 |
"(Параметр I<-o all> можно опустить, так как по умолчанию монтируются все " |
| 418 |
"контроллеры, если ни один не указан явно)" |
| 419 |
|
| 420 |
#. type: Plain text |
| 421 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 422 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 423 |
#, fuzzy |
| 424 |
#| msgid "" |
| 425 |
#| "It is not possible to mount the same controller against multiple cgroup " |
| 426 |
#| "hierarchies. For example, it is not possible to mount both the I<cpu> " |
| 427 |
#| "and I<cpuacct> controllers against one hierarchy, and to mount the I<cpu> " |
| 428 |
#| "controller alone against another hierarchy. It is possible to create " |
| 429 |
#| "multiple mount points with exactly the same set of comounted " |
| 430 |
#| "controllers. However, in this case all that results is multiple mount " |
| 431 |
#| "points providing a view of the same hierarchy." |
| 432 |
msgid "" |
| 433 |
"It is not possible to mount the same controller against multiple cgroup " |
| 434 |
"hierarchies. For example, it is not possible to mount both the I<cpu> and " |
| 435 |
"I<cpuacct> controllers against one hierarchy, and to mount the I<cpu> " |
| 436 |
"controller alone against another hierarchy. It is possible to create " |
| 437 |
"multiple mounts with exactly the same set of comounted controllers. " |
| 438 |
"However, in this case all that results is multiple mount points providing a " |
| 439 |
"view of the same hierarchy." |
| 440 |
msgstr "" |
| 441 |
"Невозможно смонтировать один и тот же контроллер в несколько иерархий " |
| 442 |
"cgroup. Например, невозможно смонтировать контроллеры I<cpu> и I<cpuacct> в " |
| 443 |
"одну иерархию и смонтировать только контроллер I<cpu> в другую. Возможно " |
| 444 |
"создать несколько точек монтирования с полностью одинаковым набором " |
| 445 |
"одновременно смонтированных контроллеров. Однако в этом случае получается " |
| 446 |
"только несколько точек монтирования, представляющих одну иерархию." |
| 447 |
|
| 448 |
#. type: Plain text |
| 449 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 450 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 451 |
#, fuzzy |
| 452 |
#| msgid "" |
| 453 |
#| "Note that on many systems, the v1 controllers are automatically mounted " |
| 454 |
#| "under I</sys/fs/cgroup>; in particular, B<systemd>(1) automatically " |
| 455 |
#| "creates such mount points." |
| 456 |
msgid "" |
| 457 |
"Note that on many systems, the v1 controllers are automatically mounted " |
| 458 |
"under I</sys/fs/cgroup>; in particular, B<systemd>(1) automatically creates " |
| 459 |
"such mounts." |
| 460 |
msgstr "" |
| 461 |
"Заметим, что на многих системах контроллеры v1 автоматически монтируется в " |
| 462 |
"I</sys/fs/cgroup>; в частности, такие точки монтирования автоматически " |
| 463 |
"создаёт B<systemd>(1)." |
| 464 |
|
| 465 |
#. type: SS |
| 466 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 467 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 468 |
#, no-wrap |
| 469 |
msgid "Unmounting v1 controllers" |
| 470 |
msgstr "Размонтирование контроллеров v1" |
| 471 |
|
| 472 |
#. type: Plain text |
| 473 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 474 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 475 |
msgid "" |
| 476 |
"A mounted cgroup filesystem can be unmounted using the B<umount>(8) " |
| 477 |
"command, as in the following example:" |
| 478 |
msgstr "" |
| 479 |
"Смонтированная файловая система cgroup может быть размонтирована с помощью " |
| 480 |
"команды B<umount>(8) как показано в этом примере:" |
| 481 |
|
| 482 |
#. type: Plain text |
| 483 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 484 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 485 |
#, no-wrap |
| 486 |
msgid "umount /sys/fs/cgroup/pids\n" |
| 487 |
msgstr "umount /sys/fs/cgroup/pids\n" |
| 488 |
|
| 489 |
#. type: Plain text |
| 490 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 491 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 492 |
#, fuzzy |
| 493 |
#| msgid "" |
| 494 |
#| "I<But note well>: a cgroup filesystem is unmounted only if it is not " |
| 495 |
#| "busy, that is, it has no child cgroups. If this is not the case, then " |
| 496 |
#| "the only effect of the B<umount>(8) is to make the mount invisible. " |
| 497 |
#| "Thus, to ensure that the mount point is really removed, one must first " |
| 498 |
#| "remove all child cgroups, which in turn can be done only after all member " |
| 499 |
#| "processes have been moved from those cgroups to the root cgroup." |
| 500 |
msgid "" |
| 501 |
"I<But note well>: a cgroup filesystem is unmounted only if it is not busy, " |
| 502 |
"that is, it has no child cgroups. If this is not the case, then the only " |
| 503 |
"effect of the B<umount>(8) is to make the mount invisible. Thus, to ensure " |
| 504 |
"that the mount is really removed, one must first remove all child cgroups, " |
| 505 |
"which in turn can be done only after all member processes have been moved " |
| 506 |
"from those cgroups to the root cgroup." |
| 507 |
msgstr "" |
| 508 |
"I<Но заметим>: файловая система cgroup размонтируется только, если она не " |
| 509 |
"занята, то есть не имеет дочерних cgroup. Если это не этот случай, то " |
| 510 |
"действием B<umount>(8) будет только сокрытие монтирования. То есть, чтобы " |
| 511 |
"действительно удалить точку монтирования, сначала нужно удалить все дочерние " |
| 512 |
"cgroup, что, в свою очередь, можно выполнить только после перемещения всех " |
| 513 |
"процессов-членов из этих cgroup в корневую cgroup." |
| 514 |
|
| 515 |
#. type: SS |
| 516 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 517 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 518 |
#, no-wrap |
| 519 |
msgid "Cgroups version 1 controllers" |
| 520 |
msgstr "Контроллеры cgroups версии 1" |
| 521 |
|
| 522 |
#. type: Plain text |
| 523 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 524 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 525 |
msgid "" |
| 526 |
"Each of the cgroups version 1 controllers is governed by a kernel " |
| 527 |
"configuration option (listed below). Additionally, the availability of the " |
| 528 |
"cgroups feature is governed by the B<CONFIG_CGROUPS> kernel configuration " |
| 529 |
"option." |
| 530 |
msgstr "" |
| 531 |
"Все контроллеры cgroups версии 1 управляются параметрами настройки ядра " |
| 532 |
"(список далее). Также, включение свойства cgroups управляется параметром " |
| 533 |
"настройки ядра B<CONFIG_CGROUPS>." |
| 534 |
|
| 535 |
#. type: TP |
| 536 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 537 |
#: opensuse-tumbleweed |
| 538 |
#, fuzzy, no-wrap |
| 539 |
#| msgid "I<cpu> (since Linux 2.6.24; B<CONFIG_CGROUP_SCHED>)" |
| 540 |
msgid "I<cpu> (since Linux 2.6.24; \\f[B]CONFIG_CGROUP_SCHED\\fR)" |
| 541 |
msgstr "I<cpu> (начиная с Linux 2.6.24; B<CONFIG_CGROUP_SCHED>)" |
| 542 |
|
| 543 |
#. type: Plain text |
| 544 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 545 |
#: opensuse-tumbleweed |
| 546 |
#, fuzzy |
| 547 |
#| msgid "" |
| 548 |
#| "Cgroups can be guaranteed a minimum number of \"CPU shares\" when a " |
| 549 |
#| "system is busy. This does not limit a cgroup's CPU usage if the CPUs are " |
| 550 |
#| "not busy. For further information, see I<Documentation/scheduler/sched-" |
| 551 |
#| "design-CFS.txt>." |
| 552 |
msgid "" |
| 553 |
"Cgroups can be guaranteed a minimum number of \"CPU shares\" when a system " |
| 554 |
"is busy. This does not limit a cgroup's CPU usage if the CPUs are not " |
| 555 |
"busy. For further information, see I<Documentation/scheduler/sched-design-" |
| 556 |
"CFS.rst>." |
| 557 |
msgstr "" |
| 558 |
"Cgroups может гарантироваться минимальное количество «общих ЦП» в занятой " |
| 559 |
"системе. Это значение не ограничивает использование ЦП cgroup, если ЦП не " |
| 560 |
"заняты. Дополнительную информацию смотрите в I<Documentation/scheduler/sched-" |
| 561 |
"design-CFS.txt>." |
| 562 |
|
| 563 |
#. type: Plain text |
| 564 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 565 |
#: opensuse-tumbleweed |
| 566 |
#, fuzzy |
| 567 |
#| msgid "" |
| 568 |
#| "In Linux 3.2, this controller was extended to provide CPU \"bandwidth\" " |
| 569 |
#| "control. If the kernel is configured with B<CONFIG_CFS_BANDWIDTH>, then " |
| 570 |
#| "within each scheduling period (defined via a file in the cgroup " |
| 571 |
#| "directory), it is possible to define an upper limit on the CPU time " |
| 572 |
#| "allocated to the processes in a cgroup. This upper limit applies even if " |
| 573 |
#| "there is no other competition for the CPU. Further information can be " |
| 574 |
#| "found in the kernel source file I<Documentation/scheduler/sched-bwc.txt>." |
| 575 |
msgid "" |
| 576 |
"In Linux 3.2, this controller was extended to provide CPU \"bandwidth\" " |
| 577 |
"control. If the kernel is configured with B<CONFIG_CFS_BANDWIDTH>, then " |
| 578 |
"within each scheduling period (defined via a file in the cgroup directory), " |
| 579 |
"it is possible to define an upper limit on the CPU time allocated to the " |
| 580 |
"processes in a cgroup. This upper limit applies even if there is no other " |
| 581 |
"competition for the CPU. Further information can be found in the kernel " |
| 582 |
"source file I<Documentation/scheduler/sched-bwc.rst>." |
| 583 |
msgstr "" |
| 584 |
"В Linux 3.2 в этот контроллер было добавлено управление «полосы пропускания» " |
| 585 |
"ЦП. Если ядро собрано с параметром B<CONFIG_CFS_BANDWIDTH>, то внутри " |
| 586 |
"каждого диапазона планирования (определяемого через файл в каталоге cgroup) " |
| 587 |
"процессам в cgroup возможно задать верхнее ограничение выделяемого времени " |
| 588 |
"ЦП. Данное ограничение учитывается даже, если ЦП не занят. Дополнительную " |
| 589 |
"информацию смотрите в файле исходного кода ядра I<Documentation/scheduler/" |
| 590 |
"sched-bwc.txt>." |
| 591 |
|
| 592 |
#. type: TP |
| 593 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 594 |
#: opensuse-tumbleweed |
| 595 |
#, fuzzy, no-wrap |
| 596 |
#| msgid "I<cpuacct> (since Linux 2.6.24; B<CONFIG_CGROUP_CPUACCT>)" |
| 597 |
msgid "I<cpuacct> (since Linux 2.6.24; \\f[B]CONFIG_CGROUP_CPUACCT\\fR)" |
| 598 |
msgstr "I<cpuacct> (начиная с Linux 2.6.24; B<CONFIG_CGROUP_CPUACCT>)" |
| 599 |
|
| 600 |
#. type: Plain text |
| 601 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 602 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 603 |
msgid "This provides accounting for CPU usage by groups of processes." |
| 604 |
msgstr "Включает учёт использования ЦП группами процессов." |
| 605 |
|
| 606 |
#. type: Plain text |
| 607 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 608 |
#: opensuse-tumbleweed |
| 609 |
#, fuzzy |
| 610 |
#| msgid "" |
| 611 |
#| "Further information can be found in the kernel source file " |
| 612 |
#| "I<Documentation/cgroup-v1/cpuacct.txt>." |
| 613 |
msgid "" |
| 614 |
"Further information can be found in the kernel source file I<Documentation/" |
| 615 |
"admin-guide/cgroup-v1/cpuacct.rst>." |
| 616 |
msgstr "" |
| 617 |
"Дополнительную информацию смотрите в файле исходного кода ядра " |
| 618 |
"I<Documentation/cgroup-v1/cpuacct.txt>." |
| 619 |
|
| 620 |
#. type: TP |
| 621 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 622 |
#: opensuse-tumbleweed |
| 623 |
#, fuzzy, no-wrap |
| 624 |
#| msgid "I<cpuset> (since Linux 2.6.24; B<CONFIG_CPUSETS>)" |
| 625 |
msgid "I<cpuset> (since Linux 2.6.24; \\f[B]CONFIG_CPUSETS\\fR)" |
| 626 |
msgstr "I<cpuset> (начиная с Linux 2.6.24; B<CONFIG_CPUSETS>)" |
| 627 |
|
| 628 |
#. type: Plain text |
| 629 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 630 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 631 |
msgid "" |
| 632 |
"This cgroup can be used to bind the processes in a cgroup to a specified set " |
| 633 |
"of CPUs and NUMA nodes." |
| 634 |
msgstr "" |
| 635 |
"Эту cgroup можно использовать для привязки процессов в cgroup к указанному " |
| 636 |
"набору ЦП и узлов NUMA." |
| 637 |
|
| 638 |
#. type: Plain text |
| 639 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 640 |
#: opensuse-tumbleweed |
| 641 |
#, fuzzy |
| 642 |
#| msgid "" |
| 643 |
#| "Further information can be found in the kernel source file " |
| 644 |
#| "I<Documentation/cgroup-v1/cpusets.txt>." |
| 645 |
msgid "" |
| 646 |
"Further information can be found in the kernel source file I<Documentation/" |
| 647 |
"admin-guide/cgroup-v1/cpusets.rst>." |
| 648 |
msgstr "" |
| 649 |
"Дополнительную информацию смотрите в файле исходного кода ядра " |
| 650 |
"I<Documentation/cgroup-v1/cpusets.txt>." |
| 651 |
|
| 652 |
#. type: TP |
| 653 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 654 |
#: opensuse-tumbleweed |
| 655 |
#, fuzzy, no-wrap |
| 656 |
#| msgid "I<memory> (since Linux 2.6.25; B<CONFIG_MEMCG>)" |
| 657 |
msgid "I<memory> (since Linux 2.6.25; \\f[B]CONFIG_MEMCG\\fR)" |
| 658 |
msgstr "I<memory> (начиная с Linux 2.6.25; B<CONFIG_MEMCG>)" |
| 659 |
|
| 660 |
#. type: Plain text |
| 661 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 662 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 663 |
msgid "" |
| 664 |
"The memory controller supports reporting and limiting of process memory, " |
| 665 |
"kernel memory, and swap used by cgroups." |
| 666 |
msgstr "" |
| 667 |
"Контроллер памяти поддерживает учёт и ограничение памяти процесса, памяти " |
| 668 |
"ядра и подкачки, используемой cgroups." |
| 669 |
|
| 670 |
#. type: Plain text |
| 671 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 672 |
#: opensuse-tumbleweed |
| 673 |
#, fuzzy |
| 674 |
#| msgid "" |
| 675 |
#| "Further information can be found in the kernel source file " |
| 676 |
#| "I<Documentation/cgroup-v1/memory.txt>." |
| 677 |
msgid "" |
| 678 |
"Further information can be found in the kernel source file I<Documentation/" |
| 679 |
"admin-guide/cgroup-v1/memory.rst>." |
| 680 |
msgstr "" |
| 681 |
"Дополнительную информацию смотрите в файле исходного кода ядра " |
| 682 |
"I<Documentation/cgroup-v1/memory.txt>." |
| 683 |
|
| 684 |
#. type: TP |
| 685 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 686 |
#: opensuse-tumbleweed |
| 687 |
#, fuzzy, no-wrap |
| 688 |
#| msgid "I<devices> (since Linux 2.6.26; B<CONFIG_CGROUP_DEVICE>)" |
| 689 |
msgid "I<devices> (since Linux 2.6.26; \\f[B]CONFIG_CGROUP_DEVICE\\fR)" |
| 690 |
msgstr "I<devices> (начиная с Linux 2.6.26; B<CONFIG_CGROUP_DEVICE>)" |
| 691 |
|
| 692 |
#. type: Plain text |
| 693 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 694 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 695 |
#, fuzzy |
| 696 |
#| msgid "" |
| 697 |
#| "This supports controlling which processes may create (mknod) devices as " |
| 698 |
#| "well as open them for reading or writing. The policies may be specified " |
| 699 |
#| "as whitelists and blacklists. Hierarchy is enforced, so new rules must " |
| 700 |
#| "not violate existing rules for the target or ancestor cgroups." |
| 701 |
msgid "" |
| 702 |
"This supports controlling which processes may create (mknod) devices as well " |
| 703 |
"as open them for reading or writing. The policies may be specified as allow-" |
| 704 |
"lists and deny-lists. Hierarchy is enforced, so new rules must not violate " |
| 705 |
"existing rules for the target or ancestor cgroups." |
| 706 |
msgstr "" |
| 707 |
"Позволяет контролировать какие процессы могут создавать (mknod) устройства, " |
| 708 |
"а также открывать их на чтение или запись. Правила можно задавать в виде " |
| 709 |
"чёрных и белых списков. Учитывает иерархия, поэтому новые правила не должны " |
| 710 |
"нарушать существующие у cgroups назначения или предков." |
| 711 |
|
| 712 |
#. type: Plain text |
| 713 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 714 |
#: opensuse-tumbleweed |
| 715 |
#, fuzzy |
| 716 |
#| msgid "" |
| 717 |
#| "Further information can be found in the kernel source file " |
| 718 |
#| "I<Documentation/cgroup-v1/devices.txt>." |
| 719 |
msgid "" |
| 720 |
"Further information can be found in the kernel source file I<Documentation/" |
| 721 |
"admin-guide/cgroup-v1/devices.rst>." |
| 722 |
msgstr "" |
| 723 |
"Дополнительную информацию смотрите в файле исходного кода ядра " |
| 724 |
"I<Documentation/cgroup-v1/devices.txt>." |
| 725 |
|
| 726 |
#. type: TP |
| 727 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 728 |
#: opensuse-tumbleweed |
| 729 |
#, fuzzy, no-wrap |
| 730 |
#| msgid "I<freezer> (since Linux 2.6.28; B<CONFIG_CGROUP_FREEZER>)" |
| 731 |
msgid "I<freezer> (since Linux 2.6.28; \\f[B]CONFIG_CGROUP_FREEZER\\fR)" |
| 732 |
msgstr "I<freezer> (начиная с Linux 2.6.28; B<CONFIG_CGROUP_FREEZER>)" |
| 733 |
|
| 734 |
#. type: Plain text |
| 735 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 736 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 737 |
msgid "" |
| 738 |
"The I<freezer> cgroup can suspend and restore (resume) all processes in a " |
| 739 |
"cgroup. Freezing a cgroup I</A> also causes its children, for example, " |
| 740 |
"processes in I</A/B>, to be frozen." |
| 741 |
msgstr "" |
| 742 |
"I<freezer> cgroup может приостанавливать и возобновлять работу всех " |
| 743 |
"процессов в cgroup. Заморозка cgroup I</A> также влияет на её потомков, " |
| 744 |
"например, процессы в I</A/B> тоже приостанавливаются." |
| 745 |
|
| 746 |
#. type: Plain text |
| 747 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 748 |
#: opensuse-tumbleweed |
| 749 |
#, fuzzy |
| 750 |
#| msgid "" |
| 751 |
#| "Further information can be found in the kernel source file " |
| 752 |
#| "I<Documentation/cgroup-v1/freezer-subsystem.txt>." |
| 753 |
msgid "" |
| 754 |
"Further information can be found in the kernel source file I<Documentation/" |
| 755 |
"admin-guide/cgroup-v1/freezer-subsystem.rst>." |
| 756 |
msgstr "" |
| 757 |
"Дополнительную информацию смотрите в файле исходного кода ядра " |
| 758 |
"I<Documentation/cgroup-v1/freezer-subsystem.txt>." |
| 759 |
|
| 760 |
#. type: TP |
| 761 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 762 |
#: opensuse-tumbleweed |
| 763 |
#, fuzzy, no-wrap |
| 764 |
#| msgid "I<net_cls> (since Linux 2.6.29; B<CONFIG_CGROUP_NET_CLASSID>)" |
| 765 |
msgid "I<net_cls> (since Linux 2.6.29; \\f[B]CONFIG_CGROUP_NET_CLASSID\\fR)" |
| 766 |
msgstr "I<net_cls> (начиная с Linux 2.6.29; B<CONFIG_CGROUP_NET_CLASSID>)" |
| 767 |
|
| 768 |
#. type: Plain text |
| 769 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 770 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 771 |
msgid "" |
| 772 |
"This places a classid, specified for the cgroup, on network packets created " |
| 773 |
"by a cgroup. These classids can then be used in firewall rules, as well as " |
| 774 |
"used to shape traffic using B<tc>(8). This applies only to packets leaving " |
| 775 |
"the cgroup, not to traffic arriving at the cgroup." |
| 776 |
msgstr "" |
| 777 |
"Помещает classid, задаваемые для cgroup, в сетевые пакеты, создаваемые " |
| 778 |
"cgroup. Эти classid затем можно использовать в правилах межсетевого экрана, " |
| 779 |
"а также для ограничения трафика с помощью B<tc>(8). Применяется только к " |
| 780 |
"пакетам, выходящим из cgroup, и не применяется к входящему трафику cgroup." |
| 781 |
|
| 782 |
#. type: Plain text |
| 783 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 784 |
#: opensuse-tumbleweed |
| 785 |
#, fuzzy |
| 786 |
#| msgid "" |
| 787 |
#| "Further information can be found in the kernel source file " |
| 788 |
#| "I<Documentation/cgroup-v1/net_cls.txt>." |
| 789 |
msgid "" |
| 790 |
"Further information can be found in the kernel source file I<Documentation/" |
| 791 |
"admin-guide/cgroup-v1/net_cls.rst>." |
| 792 |
msgstr "" |
| 793 |
"Дополнительную информацию смотрите в файле исходного кода ядра " |
| 794 |
"I<Documentation/cgroup-v1/net_cls.txt>." |
| 795 |
|
| 796 |
#. type: TP |
| 797 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 798 |
#: opensuse-tumbleweed |
| 799 |
#, fuzzy, no-wrap |
| 800 |
#| msgid "I<blkio> (since Linux 2.6.33; B<CONFIG_BLK_CGROUP>)" |
| 801 |
msgid "I<blkio> (since Linux 2.6.33; \\f[B]CONFIG_BLK_CGROUP\\fR)" |
| 802 |
msgstr "I<blkio> (начиная с Linux 2.6.33; B<CONFIG_BLK_CGROUP>)" |
| 803 |
|
| 804 |
#. type: Plain text |
| 805 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 806 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 807 |
msgid "" |
| 808 |
"The I<blkio> cgroup controls and limits access to specified block devices by " |
| 809 |
"applying IO control in the form of throttling and upper limits against leaf " |
| 810 |
"nodes and intermediate nodes in the storage hierarchy." |
| 811 |
msgstr "" |
| 812 |
"I<blkio> cgroup контролирует и ограничивает доступ к заданным блочным " |
| 813 |
"устройствам, применяет управление вводом-выводом посредством пропусков " |
| 814 |
"(throttling) и ограничения сверху листовых узлов и и промежуточных узлов в " |
| 815 |
"иерархии хранилища." |
| 816 |
|
| 817 |
#. type: Plain text |
| 818 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 819 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 820 |
msgid "" |
| 821 |
"Two policies are available. The first is a proportional-weight time-based " |
| 822 |
"division of disk implemented with CFQ. This is in effect for leaf nodes " |
| 823 |
"using CFQ. The second is a throttling policy which specifies upper I/O rate " |
| 824 |
"limits on a device." |
| 825 |
msgstr "" |
| 826 |
"Доступно две стратегии. Первая: пропорционально взвешенное повременное " |
| 827 |
"разделение диска, реализованная посредством CFQ. Влияет на листовые узлы с " |
| 828 |
"помощью CFQ. Вторая: стратегия пропусков, которая задаётся верхним " |
| 829 |
"ограничением скорости обмена с устройством." |
| 830 |
|
| 831 |
#. type: Plain text |
| 832 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 833 |
#: opensuse-tumbleweed |
| 834 |
#, fuzzy |
| 835 |
#| msgid "" |
| 836 |
#| "Further information can be found in the kernel source file " |
| 837 |
#| "I<Documentation/cgroup-v1/blkio-controller.txt>." |
| 838 |
msgid "" |
| 839 |
"Further information can be found in the kernel source file I<Documentation/" |
| 840 |
"admin-guide/cgroup-v1/blkio-controller.rst>." |
| 841 |
msgstr "" |
| 842 |
"Дополнительную информацию смотрите в файле исходного кода ядра " |
| 843 |
"I<Documentation/cgroup-v1/blkio-controller.txt>." |
| 844 |
|
| 845 |
#. type: TP |
| 846 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 847 |
#: opensuse-tumbleweed |
| 848 |
#, fuzzy, no-wrap |
| 849 |
#| msgid "I<perf_event> (since Linux 2.6.39; B<CONFIG_CGROUP_PERF>)" |
| 850 |
msgid "I<perf_event> (since Linux 2.6.39; \\f[B]CONFIG_CGROUP_PERF\\fR)" |
| 851 |
msgstr "I<perf_event> (начиная с Linux 2.6.39; B<CONFIG_CGROUP_PERF>)" |
| 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 |
msgid "" |
| 857 |
"This controller allows I<perf> monitoring of the set of processes grouped in " |
| 858 |
"a cgroup." |
| 859 |
msgstr "" |
| 860 |
"Этот контроллер позволяет выполнять слежение I<perf> за набором процессов, " |
| 861 |
"сгруппированных в cgroup." |
| 862 |
|
| 863 |
#. type: Plain text |
| 864 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 865 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 866 |
#, fuzzy |
| 867 |
#| msgid "" |
| 868 |
#| "Further information can be found in the kernel source file " |
| 869 |
#| "I<Documentation/cgroup-v1/pids.txt>." |
| 870 |
msgid "Further information can be found in the kernel source files" |
| 871 |
msgstr "" |
| 872 |
"Дополнительную информацию смотрите в файле исходного кода ядра " |
| 873 |
"I<Documentation/cgroup-v1/pids.txt>." |
| 874 |
|
| 875 |
#. type: TP |
| 876 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 877 |
#: opensuse-tumbleweed |
| 878 |
#, fuzzy, no-wrap |
| 879 |
#| msgid "I<net_prio> (since Linux 3.3; B<CONFIG_CGROUP_NET_PRIO>)" |
| 880 |
msgid "I<net_prio> (since Linux 3.3; \\f[B]CONFIG_CGROUP_NET_PRIO\\fR)" |
| 881 |
msgstr "I<net_prio> (начиная с Linux 3.3; B<CONFIG_CGROUP_NET_PRIO>)" |
| 882 |
|
| 883 |
#. type: Plain text |
| 884 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 885 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 886 |
msgid "" |
| 887 |
"This allows priorities to be specified, per network interface, for cgroups." |
| 888 |
msgstr "Позволяет для cgroups задавать свой приоритет на каждый интерфейс." |
| 889 |
|
| 890 |
#. type: Plain text |
| 891 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 892 |
#: opensuse-tumbleweed |
| 893 |
#, fuzzy |
| 894 |
#| msgid "" |
| 895 |
#| "Further information can be found in the kernel source file " |
| 896 |
#| "I<Documentation/cgroup-v1/net_prio.txt>." |
| 897 |
msgid "" |
| 898 |
"Further information can be found in the kernel source file I<Documentation/" |
| 899 |
"admin-guide/cgroup-v1/net_prio.rst>." |
| 900 |
msgstr "" |
| 901 |
"Дополнительную информацию смотрите в файле исходного кода ядра " |
| 902 |
"I<Documentation/cgroup-v1/net_prio.txt>." |
| 903 |
|
| 904 |
#. type: TP |
| 905 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 906 |
#: opensuse-tumbleweed |
| 907 |
#, fuzzy, no-wrap |
| 908 |
#| msgid "I<hugetlb> (since Linux 3.5; B<CONFIG_CGROUP_HUGETLB>)" |
| 909 |
msgid "I<hugetlb> (since Linux 3.5; \\f[B]CONFIG_CGROUP_HUGETLB\\fR)" |
| 910 |
msgstr "I<hugetlb> (начиная с Linux 3.5; B<CONFIG_CGROUP_HUGETLB>)" |
| 911 |
|
| 912 |
#. type: Plain text |
| 913 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 914 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 915 |
msgid "This supports limiting the use of huge pages by cgroups." |
| 916 |
msgstr "Поддерживает ограничение cgroups на использование огромных страниц." |
| 917 |
|
| 918 |
#. type: Plain text |
| 919 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 920 |
#: opensuse-tumbleweed |
| 921 |
#, fuzzy |
| 922 |
#| msgid "" |
| 923 |
#| "Further information can be found in the kernel source file " |
| 924 |
#| "I<Documentation/cgroup-v1/hugetlb.txt>." |
| 925 |
msgid "" |
| 926 |
"Further information can be found in the kernel source file I<Documentation/" |
| 927 |
"admin-guide/cgroup-v1/hugetlb.rst>." |
| 928 |
msgstr "" |
| 929 |
"Дополнительную информацию смотрите в файле исходного кода ядра " |
| 930 |
"I<Documentation/cgroup-v1/hugetlb.txt>." |
| 931 |
|
| 932 |
#. type: TP |
| 933 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 934 |
#: opensuse-tumbleweed |
| 935 |
#, fuzzy, no-wrap |
| 936 |
#| msgid "I<pids> (since Linux 4.3; B<CONFIG_CGROUP_PIDS>)" |
| 937 |
msgid "I<pids> (since Linux 4.3; \\f[B]CONFIG_CGROUP_PIDS\\fR)" |
| 938 |
msgstr "I<pids> (начиная с Linux 4.3; B<CONFIG_CGROUP_PIDS>)" |
| 939 |
|
| 940 |
#. type: Plain text |
| 941 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 942 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 943 |
msgid "" |
| 944 |
"This controller permits limiting the number of process that may be created " |
| 945 |
"in a cgroup (and its descendants)." |
| 946 |
msgstr "" |
| 947 |
"Этот контроллер позволяет ограничивать количество процессов, которые могут " |
| 948 |
"быть созданы в cgroup (и её потомках)." |
| 949 |
|
| 950 |
#. type: Plain text |
| 951 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 952 |
#: opensuse-tumbleweed |
| 953 |
#, fuzzy |
| 954 |
#| msgid "" |
| 955 |
#| "Further information can be found in the kernel source file " |
| 956 |
#| "I<Documentation/cgroup-v1/pids.txt>." |
| 957 |
msgid "" |
| 958 |
"Further information can be found in the kernel source file I<Documentation/" |
| 959 |
"admin-guide/cgroup-v1/pids.rst>." |
| 960 |
msgstr "" |
| 961 |
"Дополнительную информацию смотрите в файле исходного кода ядра " |
| 962 |
"I<Documentation/cgroup-v1/pids.txt>." |
| 963 |
|
| 964 |
#. type: TP |
| 965 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 966 |
#: opensuse-tumbleweed |
| 967 |
#, fuzzy, no-wrap |
| 968 |
#| msgid "I<rdma> (since Linux 4.11; B<CONFIG_CGROUP_RDMA>)" |
| 969 |
msgid "I<rdma> (since Linux 4.11; \\f[B]CONFIG_CGROUP_RDMA\\fR)" |
| 970 |
msgstr "I<rdma> (начиная с Linux 4.11; B<CONFIG_CGROUP_RDMA>)" |
| 971 |
|
| 972 |
#. type: Plain text |
| 973 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 974 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 975 |
msgid "" |
| 976 |
"The RDMA controller permits limiting the use of RDMA/IB-specific resources " |
| 977 |
"per cgroup." |
| 978 |
msgstr "" |
| 979 |
"Контроллер RDMA позволяет ограничивать использование ресурсов RDMA/IB " |
| 980 |
"определённой cgroup." |
| 981 |
|
| 982 |
#. type: Plain text |
| 983 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 984 |
#: opensuse-tumbleweed |
| 985 |
#, fuzzy |
| 986 |
#| msgid "" |
| 987 |
#| "Further information can be found in the kernel source file " |
| 988 |
#| "I<Documentation/cgroup-v1/rdma.txt>." |
| 989 |
msgid "" |
| 990 |
"Further information can be found in the kernel source file I<Documentation/" |
| 991 |
"admin-guide/cgroup-v1/rdma.rst>." |
| 992 |
msgstr "" |
| 993 |
"Дополнительную информацию смотрите в файле исходного кода ядра " |
| 994 |
"I<Documentation/cgroup-v1/rdma.txt>." |
| 995 |
|
| 996 |
#. type: SS |
| 997 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 998 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 999 |
#, no-wrap |
| 1000 |
msgid "Creating cgroups and moving processes" |
| 1001 |
msgstr "Создание cgroups и перемещение процессов" |
| 1002 |
|
| 1003 |
#. type: Plain text |
| 1004 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1005 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1006 |
msgid "" |
| 1007 |
"A cgroup filesystem initially contains a single root cgroup, '/', which all " |
| 1008 |
"processes belong to. A new cgroup is created by creating a directory in the " |
| 1009 |
"cgroup filesystem:" |
| 1010 |
msgstr "" |
| 1011 |
"Первоначально, в файловой системе cgroup содержится только корневая cgroup, " |
| 1012 |
"«/», которой принадлежат все процессы. Новая cgroup создаётся посредством " |
| 1013 |
"создания каталога в файловой системе cgroup:" |
| 1014 |
|
| 1015 |
#. type: Plain text |
| 1016 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1017 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1018 |
#, no-wrap |
| 1019 |
msgid "mkdir /sys/fs/cgroup/cpu/cg1\n" |
| 1020 |
msgstr "mkdir /sys/fs/cgroup/cpu/cg1\n" |
| 1021 |
|
| 1022 |
#. type: Plain text |
| 1023 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1024 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1025 |
msgid "This creates a new empty cgroup." |
| 1026 |
msgstr "Данная команда создаёт новую пустую cgroup." |
| 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 |
msgid "" |
| 1032 |
"A process may be moved to this cgroup by writing its PID into the cgroup's " |
| 1033 |
"I<cgroup.procs> file:" |
| 1034 |
msgstr "" |
| 1035 |
"Помещение процесса в эту cgroup выполняется с помощью записи его PID в файл " |
| 1036 |
"cgroup I<cgroup.procs>:" |
| 1037 |
|
| 1038 |
#. type: Plain text |
| 1039 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1040 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1041 |
#, no-wrap |
| 1042 |
msgid "echo $$ E<gt> /sys/fs/cgroup/cpu/cg1/cgroup.procs\n" |
| 1043 |
msgstr "echo $$ E<gt> /sys/fs/cgroup/cpu/cg1/cgroup.procs\n" |
| 1044 |
|
| 1045 |
#. type: Plain text |
| 1046 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1047 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1048 |
msgid "Only one PID at a time should be written to this file." |
| 1049 |
msgstr "В этот файл единовременно должен записываться только один PID." |
| 1050 |
|
| 1051 |
#. type: Plain text |
| 1052 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1053 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1054 |
msgid "" |
| 1055 |
"Writing the value 0 to a I<cgroup.procs> file causes the writing process to " |
| 1056 |
"be moved to the corresponding cgroup." |
| 1057 |
msgstr "" |
| 1058 |
"Запись в файл I<cgroup.procs> значения 0 приводит к помещению в " |
| 1059 |
"соответствующую cgroup записывающего процесса." |
| 1060 |
|
| 1061 |
#. type: Plain text |
| 1062 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1063 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1064 |
msgid "" |
| 1065 |
"When writing a PID into the I<cgroup.procs>, all threads in the process are " |
| 1066 |
"moved into the new cgroup at once." |
| 1067 |
msgstr "" |
| 1068 |
"При записи PID в I<cgroup.procs> в новую cgroup одновременно перемещаются " |
| 1069 |
"все нити процесса." |
| 1070 |
|
| 1071 |
#. type: Plain text |
| 1072 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1073 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1074 |
msgid "" |
| 1075 |
"Within a hierarchy, a process can be a member of exactly one cgroup. " |
| 1076 |
"Writing a process's PID to a I<cgroup.procs> file automatically removes it " |
| 1077 |
"from the cgroup of which it was previously a member." |
| 1078 |
msgstr "" |
| 1079 |
"Внутри иерархии процесс может быть членом только одной cgroup. Запись PID " |
| 1080 |
"процесса в файл I<cgroup.procs> автоматически удаляет его из cgroup, в " |
| 1081 |
"которой он числился до этого." |
| 1082 |
|
| 1083 |
#. type: Plain text |
| 1084 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1085 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1086 |
msgid "" |
| 1087 |
"The I<cgroup.procs> file can be read to obtain a list of the processes that " |
| 1088 |
"are members of a cgroup. The returned list of PIDs is not guaranteed to be " |
| 1089 |
"in order. Nor is it guaranteed to be free of duplicates. (For example, a " |
| 1090 |
"PID may be recycled while reading from the list.)" |
| 1091 |
msgstr "" |
| 1092 |
"Для получения списка процессов, числящихся в cgroup, можно прочитать файл " |
| 1093 |
"I<cgroup.procs>. Возвращаемый список PID не обязательно упорядочен. Также " |
| 1094 |
"PID могут повторяться (например, во время чтения списка PID может " |
| 1095 |
"использоваться повторно)." |
| 1096 |
|
| 1097 |
#. type: Plain text |
| 1098 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1099 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1100 |
msgid "" |
| 1101 |
"In cgroups v1, an individual thread can be moved to another cgroup by " |
| 1102 |
"writing its thread ID (i.e., the kernel thread ID returned by B<clone>(2) " |
| 1103 |
"and B<gettid>(2)) to the I<tasks> file in a cgroup directory. This file " |
| 1104 |
"can be read to discover the set of threads that are members of the cgroup." |
| 1105 |
msgstr "" |
| 1106 |
"В cgroups v1 отдельные нити могут перемещаться в другую cgroup посредством " |
| 1107 |
"записи ID нити (т. е., ядерный ID нити, возвращаемый B<clone>(2) и " |
| 1108 |
"B<gettid>(2)) в файл I<tasks> из каталога cgroup. Этот файл можно прочитать, " |
| 1109 |
"чтобы получить набор нитей, принадлежащих cgroup." |
| 1110 |
|
| 1111 |
#. type: SS |
| 1112 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1113 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1114 |
#, no-wrap |
| 1115 |
msgid "Removing cgroups" |
| 1116 |
msgstr "Удаление cgroups" |
| 1117 |
|
| 1118 |
#. type: Plain text |
| 1119 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1120 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1121 |
msgid "" |
| 1122 |
"To remove a cgroup, it must first have no child cgroups and contain no " |
| 1123 |
"(nonzombie) processes. So long as that is the case, one can simply remove " |
| 1124 |
"the corresponding directory pathname. Note that files in a cgroup directory " |
| 1125 |
"cannot and need not be removed." |
| 1126 |
msgstr "" |
| 1127 |
"Удаляемая cgroup не должна содержать дочерних cgroups и процессов (не " |
| 1128 |
"зомби). Если это соблюдается, то можно просто удалить соответствующий " |
| 1129 |
"каталог. Заметим, что файлы в каталоге cgroup невозможно и ненужно удалять." |
| 1130 |
|
| 1131 |
#. type: SS |
| 1132 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1133 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1134 |
#, no-wrap |
| 1135 |
msgid "Cgroups v1 release notification" |
| 1136 |
msgstr "Выпуск уведомлений cgroups v1" |
| 1137 |
|
| 1138 |
#. type: Plain text |
| 1139 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1140 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1141 |
msgid "" |
| 1142 |
"Two files can be used to determine whether the kernel provides notifications " |
| 1143 |
"when a cgroup becomes empty. A cgroup is considered to be empty when it " |
| 1144 |
"contains no child cgroups and no member processes." |
| 1145 |
msgstr "" |
| 1146 |
"Для определения того, как ядро выполняет уведомления об опустевших cgroup, " |
| 1147 |
"можно использовать два файла. Cgroup считается пустой, если не содержит " |
| 1148 |
"дочерних cgroup и процессов." |
| 1149 |
|
| 1150 |
#. type: Plain text |
| 1151 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1152 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1153 |
msgid "" |
| 1154 |
"A special file in the root directory of each cgroup hierarchy, " |
| 1155 |
"I<release_agent>, can be used to register the pathname of a program that may " |
| 1156 |
"be invoked when a cgroup in the hierarchy becomes empty. The pathname of " |
| 1157 |
"the newly empty cgroup (relative to the cgroup mount point) is provided as " |
| 1158 |
"the sole command-line argument when the I<release_agent> program is " |
| 1159 |
"invoked. The I<release_agent> program might remove the cgroup directory, or " |
| 1160 |
"perhaps repopulate it with a process." |
| 1161 |
msgstr "" |
| 1162 |
"Специальный файл в корневом каталоге каждой иерархии cgroup, " |
| 1163 |
"I<release_agent>, можно использовать для регистрации программы, которая " |
| 1164 |
"будет вызываться всякий раз, когда cgroup в иерархии становится пустой. При " |
| 1165 |
"вызове программы I<release_agent> в единственной аргументе командной строки " |
| 1166 |
"передаётся путь (относительно точки монтирования cgroup) только что " |
| 1167 |
"опустевшей cgroup. Программа I<release_agent> может удалить удалить каталог " |
| 1168 |
"cgroup или, возможно, повторно добавить в него процесс." |
| 1169 |
|
| 1170 |
#. type: Plain text |
| 1171 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1172 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1173 |
msgid "" |
| 1174 |
"The default value of the I<release_agent> file is empty, meaning that no " |
| 1175 |
"release agent is invoked." |
| 1176 |
msgstr "" |
| 1177 |
"По умолчанию файл I<release_agent> пуст, то есть агент освобождения не " |
| 1178 |
"вызывается." |
| 1179 |
|
| 1180 |
#. type: Plain text |
| 1181 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1182 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1183 |
msgid "" |
| 1184 |
"The content of the I<release_agent> file can also be specified via a mount " |
| 1185 |
"option when the cgroup filesystem is mounted:" |
| 1186 |
msgstr "" |
| 1187 |
"Содержимое файла I<release_agent> также можно задать в параметре " |
| 1188 |
"монтирования при монтировании файловой системы cgroup:" |
| 1189 |
|
| 1190 |
#. type: Plain text |
| 1191 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1192 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1193 |
#, no-wrap |
| 1194 |
msgid "mount -o release_agent=pathname ...\n" |
| 1195 |
msgstr "mount -o release_agent=файл …\n" |
| 1196 |
|
| 1197 |
#. type: Plain text |
| 1198 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1199 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1200 |
msgid "" |
| 1201 |
"Whether or not the I<release_agent> program is invoked when a particular " |
| 1202 |
"cgroup becomes empty is determined by the value in the I<notify_on_release> " |
| 1203 |
"file in the corresponding cgroup directory. If this file contains the value " |
| 1204 |
"0, then the I<release_agent> program is not invoked. If it contains the " |
| 1205 |
"value 1, the I<release_agent> program is invoked. The default value for " |
| 1206 |
"this file in the root cgroup is 0. At the time when a new cgroup is " |
| 1207 |
"created, the value in this file is inherited from the corresponding file in " |
| 1208 |
"the parent cgroup." |
| 1209 |
msgstr "" |
| 1210 |
"Будет ли программа I<release_agent> вызываться для определённой ставшей " |
| 1211 |
"пустой cgroup, задаётся значением файла I<notify_on_release> в каталоге, " |
| 1212 |
"соответствующем cgroup. Если этот файл содержит значение 0, то программа " |
| 1213 |
"I<release_agent> не вызывается. Если он содержит 1, то программа " |
| 1214 |
"I<release_agent> вызывается. По умолчанию в этом файле содержится 0 для " |
| 1215 |
"корневой cgroup. В момент, когда создаётся новая cgroup, значение в этом " |
| 1216 |
"файле наследуется из соответствующего файла родительской cgroup." |
| 1217 |
|
| 1218 |
#. type: SS |
| 1219 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1220 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1221 |
#, no-wrap |
| 1222 |
msgid "Cgroup v1 named hierarchies" |
| 1223 |
msgstr "Именованные иерархии cgroup v1" |
| 1224 |
|
| 1225 |
#. type: Plain text |
| 1226 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1227 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1228 |
msgid "" |
| 1229 |
"In cgroups v1, it is possible to mount a cgroup hierarchy that has no " |
| 1230 |
"attached controllers:" |
| 1231 |
msgstr "" |
| 1232 |
"В cgroups v1 возможно монтирование иерархии cgroup, у которой нет " |
| 1233 |
"присоединённых контроллеров:" |
| 1234 |
|
| 1235 |
#. type: Plain text |
| 1236 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1237 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1238 |
#, no-wrap |
| 1239 |
msgid "mount -t cgroup -o none,name=somename none /some/mount/point\n" |
| 1240 |
msgstr "mount -t cgroup -o none,name=какое-то_имя none /some/mount/point\n" |
| 1241 |
|
| 1242 |
#. type: Plain text |
| 1243 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1244 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1245 |
msgid "" |
| 1246 |
"Multiple instances of such hierarchies can be mounted; each hierarchy must " |
| 1247 |
"have a unique name. The only purpose of such hierarchies is to track " |
| 1248 |
"processes. (See the discussion of release notification below.) An example " |
| 1249 |
"of this is the I<name=systemd> cgroup hierarchy that is used by " |
| 1250 |
"B<systemd>(1) to track services and user sessions." |
| 1251 |
msgstr "" |
| 1252 |
"Можно смонтировать несколько экземпляров таких иерархий; каждая иерархия " |
| 1253 |
"должна иметь уникальное имя. Единственной целью таких иерархий является " |
| 1254 |
"слежение за процессами (смотрите описание о выдаче уведомлений ниже). В " |
| 1255 |
"пример можно привести иерархию cgroup I<name=systemd>, которая используется " |
| 1256 |
"B<systemd>(1) для слежения за службами и пользовательскими сеансами." |
| 1257 |
|
| 1258 |
#. type: Plain text |
| 1259 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1260 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1261 |
msgid "" |
| 1262 |
"Since Linux 5.0, the I<cgroup_no_v1> kernel boot option (described below) " |
| 1263 |
"can be used to disable cgroup v1 named hierarchies, by specifying " |
| 1264 |
"I<cgroup_no_v1=named>." |
| 1265 |
msgstr "" |
| 1266 |
"Начиная с Linux 5.0, параметром ядра I<cgroup_no_v1> (описан ниже) можно " |
| 1267 |
"выключить иерархию cgroup v1 с определённым именем: I<cgroup_no_v1=named>." |
| 1268 |
|
| 1269 |
#. type: SH |
| 1270 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1271 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1272 |
#, no-wrap |
| 1273 |
msgid "CGROUPS VERSION 2" |
| 1274 |
msgstr "CGROUPS ВЕРСИИ 2" |
| 1275 |
|
| 1276 |
#. type: Plain text |
| 1277 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1278 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1279 |
msgid "" |
| 1280 |
"In cgroups v2, all mounted controllers reside in a single unified " |
| 1281 |
"hierarchy. While (different) controllers may be simultaneously mounted " |
| 1282 |
"under the v1 and v2 hierarchies, it is not possible to mount the same " |
| 1283 |
"controller simultaneously under both the v1 and the v2 hierarchies." |
| 1284 |
msgstr "" |
| 1285 |
"В cgroup v2 все смонтированные контроллеры располагаются в единой " |
| 1286 |
"унифицированной иерархии. Хотя (различные) контроллеры могут одновременно " |
| 1287 |
"монтироваться в иерархиях v1 и v2, невозможно одновременное монтирование " |
| 1288 |
"одного контроллера в обеих иерархиях v1 и v2." |
| 1289 |
|
| 1290 |
#. type: Plain text |
| 1291 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1292 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1293 |
msgid "" |
| 1294 |
"The new behaviors in cgroups v2 are summarized here, and in some cases " |
| 1295 |
"elaborated in the following subsections." |
| 1296 |
msgstr "" |
| 1297 |
"Далее приведено краткое описание новых правил поведения cgroups v2, и в " |
| 1298 |
"некоторых случаях, расширено в последующих подразделах." |
| 1299 |
|
| 1300 |
#. type: IP |
| 1301 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1302 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1303 |
#, no-wrap |
| 1304 |
msgid "\\[bu]" |
| 1305 |
msgstr "\\[bu]" |
| 1306 |
|
| 1307 |
#. type: Plain text |
| 1308 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1309 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1310 |
msgid "" |
| 1311 |
"Cgroups v2 provides a unified hierarchy against which all controllers are " |
| 1312 |
"mounted." |
| 1313 |
msgstr "" |
| 1314 |
"Cgroups v2 предоставляет унифицированную иерархию всех смонтированных " |
| 1315 |
"контроллеров." |
| 1316 |
|
| 1317 |
#. type: Plain text |
| 1318 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1319 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1320 |
msgid "" |
| 1321 |
"\"Internal\" processes are not permitted. With the exception of the root " |
| 1322 |
"cgroup, processes may reside only in leaf nodes (cgroups that do not " |
| 1323 |
"themselves contain child cgroups). The details are somewhat more subtle " |
| 1324 |
"than this, and are described below." |
| 1325 |
msgstr "" |
| 1326 |
"«Внутренние» процессы запрещены. За исключением корневой группы cgroup, " |
| 1327 |
"процессы могут располагаться только в крайних узлах (группа cgroup, которая " |
| 1328 |
"не содержит дочерних групп cgroup). Подробности несколько более тонкие, чем " |
| 1329 |
"эти и описаны ниже." |
| 1330 |
|
| 1331 |
#. type: Plain text |
| 1332 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1333 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1334 |
msgid "" |
| 1335 |
"Active cgroups must be specified via the files I<cgroup.controllers> and " |
| 1336 |
"I<cgroup.subtree_control>." |
| 1337 |
msgstr "" |
| 1338 |
"Требуется указывать активные cgroup-ы через файлы I<cgroup.controllers> и " |
| 1339 |
"I<cgroup.subtree_control>." |
| 1340 |
|
| 1341 |
#. type: Plain text |
| 1342 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1343 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1344 |
msgid "" |
| 1345 |
"The I<tasks> file has been removed. In addition, the " |
| 1346 |
"I<cgroup.clone_children> file that is employed by the I<cpuset> controller " |
| 1347 |
"has been removed." |
| 1348 |
msgstr "" |
| 1349 |
"Удалён файл I<tasks>. Также удалён файл I<cgroup.clone_children>, " |
| 1350 |
"использовавшийся контроллером I<cpuset>." |
| 1351 |
|
| 1352 |
#. type: Plain text |
| 1353 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1354 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1355 |
msgid "" |
| 1356 |
"An improved mechanism for notification of empty cgroups is provided by the " |
| 1357 |
"I<cgroup.events> file." |
| 1358 |
msgstr "" |
| 1359 |
"Улучшенный механизм уведомлений о пустых cgroup доступен через файл " |
| 1360 |
"I<cgroup.events>." |
| 1361 |
|
| 1362 |
#. type: Plain text |
| 1363 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 1364 |
#: opensuse-tumbleweed |
| 1365 |
#, fuzzy |
| 1366 |
#| msgid "" |
| 1367 |
#| "For more changes, see the I<Documentation/cgroup-v2.txt> file in the " |
| 1368 |
#| "kernel source." |
| 1369 |
msgid "" |
| 1370 |
"For more changes, see the I<Documentation/admin-guide/cgroup-v2.rst> file in " |
| 1371 |
"the kernel source." |
| 1372 |
msgstr "" |
| 1373 |
"Дополнительную информацию смотрите в файле исходного кода ядра " |
| 1374 |
"I<Documentation/cgroup-v2.txt>." |
| 1375 |
|
| 1376 |
#. type: Plain text |
| 1377 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1378 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1379 |
msgid "" |
| 1380 |
"Some of the new behaviors listed above saw subsequent modification with the " |
| 1381 |
"addition in Linux 4.14 of \"thread mode\" (described below)." |
| 1382 |
msgstr "" |
| 1383 |
"Некоторые новые упомянутые выше функциональные возможности появились с " |
| 1384 |
"добавлением в Linux 4.14 «режима нитей» (смотрите далее)." |
| 1385 |
|
| 1386 |
#. type: SS |
| 1387 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1388 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1389 |
#, no-wrap |
| 1390 |
msgid "Cgroups v2 unified hierarchy" |
| 1391 |
msgstr "Унифицированная иерархия cgroups v2" |
| 1392 |
|
| 1393 |
#. type: Plain text |
| 1394 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1395 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1396 |
msgid "" |
| 1397 |
"In cgroups v1, the ability to mount different controllers against different " |
| 1398 |
"hierarchies was intended to allow great flexibility for application design. " |
| 1399 |
"In practice, though, the flexibility turned out to be less useful than " |
| 1400 |
"expected, and in many cases added complexity. Therefore, in cgroups v2, all " |
| 1401 |
"available controllers are mounted against a single hierarchy. The available " |
| 1402 |
"controllers are automatically mounted, meaning that it is not necessary (or " |
| 1403 |
"possible) to specify the controllers when mounting the cgroup v2 filesystem " |
| 1404 |
"using a command such as the following:" |
| 1405 |
msgstr "" |
| 1406 |
"В cgroups v1, способность монтировать различные контроллеры в разные " |
| 1407 |
"иерархии предназначалась для повышения гибкости при разработки приложения. " |
| 1408 |
"Однако на практике выяснилось, что гибкость не так полезна как ожидалось, и " |
| 1409 |
"во многих случаях добавляет сложности. Поэтому в cgroups v2, все доступные " |
| 1410 |
"контроллеры монтируются в одну иерархию. Доступные контроллеры монтируются " |
| 1411 |
"автоматически, то есть не нужно (но можно) указывать контроллеры при " |
| 1412 |
"монтировании файловой системы cgroup v2 с помощью команды вида:" |
| 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 |
#, no-wrap |
| 1418 |
msgid "mount -t cgroup2 none /mnt/cgroup2\n" |
| 1419 |
msgstr "mount -t cgroup2 none /mnt/cgroup2\n" |
| 1420 |
|
| 1421 |
#. type: Plain text |
| 1422 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1423 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1424 |
msgid "" |
| 1425 |
"A cgroup v2 controller is available only if it is not currently in use via a " |
| 1426 |
"mount against a cgroup v1 hierarchy. Or, to put things another way, it is " |
| 1427 |
"not possible to employ the same controller against both a v1 hierarchy and " |
| 1428 |
"the unified v2 hierarchy. This means that it may be necessary first to " |
| 1429 |
"unmount a v1 controller (as described above) before that controller is " |
| 1430 |
"available in v2. Since B<systemd>(1) makes heavy use of some v1 " |
| 1431 |
"controllers by default, it can in some cases be simpler to boot the system " |
| 1432 |
"with selected v1 controllers disabled. To do this, specify the " |
| 1433 |
"I<cgroup_no_v1=list> option on the kernel boot command line; I<list> is a " |
| 1434 |
"comma-separated list of the names of the controllers to disable, or the word " |
| 1435 |
"I<all> to disable all v1 controllers. (This situation is correctly handled " |
| 1436 |
"by B<systemd>(1), which falls back to operating without the specified " |
| 1437 |
"controllers.)" |
| 1438 |
msgstr "" |
| 1439 |
"Контроллер cgroup v2 доступен только, если он уже не смонтирован в иерархии " |
| 1440 |
"cgroup v1. Или, иначе говоря, невозможно использовать тот же контроллер " |
| 1441 |
"одновременно в иерархии v1 и унифицированной иерархии v2. Это означает, что " |
| 1442 |
"сначала может потребоваться размонтировать контроллер v1 (как описано выше), " |
| 1443 |
"чтобы он стал доступен в v2. Так как B<systemd>(1) по умолчанию интенсивно " |
| 1444 |
"использует некоторые контроллеры v1, в некоторых случаях проще загрузить " |
| 1445 |
"систему с отключёнными контроллерами v1. Для этого укажите параметр " |
| 1446 |
"I<cgroup_no_v1=список> в командной строке загрузки ядра; в I<списке> через " |
| 1447 |
"запятую перечисляются имена отключаемых контроллеров или указывается слово " |
| 1448 |
"I<all> для выключения всех контроллеров v1 (этот вариант корректно " |
| 1449 |
"отрабатывается B<systemd>(1) и она начинает работать без указанных " |
| 1450 |
"контроллеров)." |
| 1451 |
|
| 1452 |
#. type: Plain text |
| 1453 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1454 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1455 |
msgid "" |
| 1456 |
"Note that on many modern systems, B<systemd>(1) automatically mounts the " |
| 1457 |
"I<cgroup2> filesystem at I</sys/fs/cgroup/unified> during the boot process." |
| 1458 |
msgstr "" |
| 1459 |
"Заметим, что во многих современных системах B<systemd>(1) автоматически " |
| 1460 |
"монтирует файловую систему I<cgroup2> в каталог I</sys/fs/cgroup/unified> " |
| 1461 |
"при запуске системы." |
| 1462 |
|
| 1463 |
#. type: SS |
| 1464 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1465 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1466 |
#, fuzzy, no-wrap |
| 1467 |
#| msgid "Cgroups v2 controllers" |
| 1468 |
msgid "Cgroups v2 mount options" |
| 1469 |
msgstr "Контроллеры cgroups v2" |
| 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 |
#, fuzzy |
| 1475 |
#| msgid "" |
| 1476 |
#| "The content of the I<release_agent> file can also be specified via a " |
| 1477 |
#| "mount option when the cgroup filesystem is mounted:" |
| 1478 |
msgid "" |
| 1479 |
"The following options (I<mount\\ -o>) can be specified when mounting the " |
| 1480 |
"group v2 filesystem:" |
| 1481 |
msgstr "" |
| 1482 |
"Содержимое файла I<release_agent> также можно задать в параметре " |
| 1483 |
"монтирования при монтировании файловой системы cgroup:" |
| 1484 |
|
| 1485 |
#. type: TP |
| 1486 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1487 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1488 |
#, no-wrap |
| 1489 |
msgid "I<nsdelegate> (since Linux 4.15)" |
| 1490 |
msgstr "I<nsdelegate> (начиная с Linux 4.15)" |
| 1491 |
|
| 1492 |
#. type: Plain text |
| 1493 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1494 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1495 |
msgid "" |
| 1496 |
"Treat cgroup namespaces as delegation boundaries. For details, see below." |
| 1497 |
msgstr "" |
| 1498 |
|
| 1499 |
#. type: TP |
| 1500 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1501 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1502 |
#, fuzzy, no-wrap |
| 1503 |
#| msgid "I<perf_event> (since Linux 4.11)" |
| 1504 |
msgid "I<memory_localevents> (since Linux 5.2)" |
| 1505 |
msgstr "I<perf_event> (начиная с Linux 4.11)" |
| 1506 |
|
| 1507 |
#. commit 9852ae3fe5293264f01c49f2571ef7688f7823ce |
| 1508 |
#. type: Plain text |
| 1509 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 1510 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 1511 |
msgid "" |
| 1512 |
"The I<memory.events> should show statistics only for the cgroup itself, and " |
| 1513 |
"not for any descendant cgroups. This was the behavior before Linux 5.2. " |
| 1514 |
"Since Linux 5.2, the default behavior is to include statistics for " |
| 1515 |
"descendant cgroups in I<memory.events>, and this mount option can be used to " |
| 1516 |
"revert to the legacy behavior. This option is system wide and can be set on " |
| 1517 |
"mount or modified through remount only from the initial mount namespace; it " |
| 1518 |
"is silently ignored in noninitial namespaces." |
| 1519 |
msgstr "" |
| 1520 |
|
| 1521 |
#. type: SS |
| 1522 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1523 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1524 |
#, no-wrap |
| 1525 |
msgid "Cgroups v2 controllers" |
| 1526 |
msgstr "Контроллеры cgroups v2" |
| 1527 |
|
| 1528 |
#. type: Plain text |
| 1529 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 1530 |
#: opensuse-tumbleweed |
| 1531 |
#, fuzzy |
| 1532 |
#| msgid "" |
| 1533 |
#| "The following controllers, documented in the kernel source file " |
| 1534 |
#| "I<Documentation/cgroup-v2.txt>, are supported in cgroups version 2:" |
| 1535 |
msgid "" |
| 1536 |
"The following controllers, documented in the kernel source file " |
| 1537 |
"I<Documentation/admin-guide/cgroup-v2.rst>, are supported in cgroups version " |
| 1538 |
"2:" |
| 1539 |
msgstr "" |
| 1540 |
"Следующие контроллеры, описанные в файле исходного кода ядра I<Documentation/" |
| 1541 |
"cgroup-v2.txt>, поддерживаются в cgroups версии 2:" |
| 1542 |
|
| 1543 |
#. type: TP |
| 1544 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1545 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1546 |
#, no-wrap |
| 1547 |
msgid "I<cpu> (since Linux 4.15)" |
| 1548 |
msgstr "I<cpu> (начиная с Linux 4.15)" |
| 1549 |
|
| 1550 |
#. type: Plain text |
| 1551 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1552 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1553 |
msgid "" |
| 1554 |
"This is the successor to the version 1 I<cpu> and I<cpuacct> controllers." |
| 1555 |
msgstr "Приемник контроллеров I<cpu> и I<cpuacct> версии 1." |
| 1556 |
|
| 1557 |
#. type: TP |
| 1558 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1559 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1560 |
#, fuzzy, no-wrap |
| 1561 |
#| msgid "I<cpu> (since Linux 4.15)" |
| 1562 |
msgid "I<cpuset> (since Linux 5.0)" |
| 1563 |
msgstr "I<cpu> (начиная с Linux 4.15)" |
| 1564 |
|
| 1565 |
#. type: Plain text |
| 1566 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1567 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1568 |
#, fuzzy |
| 1569 |
#| msgid "This is the successor of the version 1 I<memory> controller." |
| 1570 |
msgid "This is the successor of the version 1 I<cpuset> controller." |
| 1571 |
msgstr "Приемник контроллера I<memory> версии 1." |
| 1572 |
|
| 1573 |
#. type: TP |
| 1574 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1575 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1576 |
#, fuzzy, no-wrap |
| 1577 |
#| msgid "I<memory> (since Linux 4.5)" |
| 1578 |
msgid "I<freezer> (since Linux 5.2)" |
| 1579 |
msgstr "I<memory> (начиная с Linux 4.5)" |
| 1580 |
|
| 1581 |
#. commit 76f969e8948d82e78e1bc4beb6b9465908e74873 |
| 1582 |
#. type: Plain text |
| 1583 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1584 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1585 |
#, fuzzy |
| 1586 |
#| msgid "This is the successor of the version 1 I<memory> controller." |
| 1587 |
msgid "This is the successor of the version 1 I<freezer> controller." |
| 1588 |
msgstr "Приемник контроллера I<memory> версии 1." |
| 1589 |
|
| 1590 |
#. type: TP |
| 1591 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1592 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1593 |
#, fuzzy, no-wrap |
| 1594 |
#| msgid "I<cpu> (since Linux 4.15)" |
| 1595 |
msgid "I<hugetlb> (since Linux 5.6)" |
| 1596 |
msgstr "I<cpu> (начиная с Linux 4.15)" |
| 1597 |
|
| 1598 |
#. type: Plain text |
| 1599 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1600 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1601 |
#, fuzzy |
| 1602 |
#| msgid "This is the successor of the version 1 I<blkio> controller." |
| 1603 |
msgid "This is the successor of the version 1 I<hugetlb> controller." |
| 1604 |
msgstr "Приемник контроллера I<blkio> версии 1." |
| 1605 |
|
| 1606 |
#. type: TP |
| 1607 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1608 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1609 |
#, no-wrap |
| 1610 |
msgid "I<io> (since Linux 4.5)" |
| 1611 |
msgstr "I<io> (начиная с Linux 4.5)" |
| 1612 |
|
| 1613 |
#. type: Plain text |
| 1614 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1615 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1616 |
msgid "This is the successor of the version 1 I<blkio> controller." |
| 1617 |
msgstr "Приемник контроллера I<blkio> версии 1." |
| 1618 |
|
| 1619 |
#. type: TP |
| 1620 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1621 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1622 |
#, no-wrap |
| 1623 |
msgid "I<memory> (since Linux 4.5)" |
| 1624 |
msgstr "I<memory> (начиная с Linux 4.5)" |
| 1625 |
|
| 1626 |
#. type: Plain text |
| 1627 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1628 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1629 |
msgid "This is the successor of the version 1 I<memory> controller." |
| 1630 |
msgstr "Приемник контроллера I<memory> версии 1." |
| 1631 |
|
| 1632 |
#. type: TP |
| 1633 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1634 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1635 |
#, no-wrap |
| 1636 |
msgid "I<perf_event> (since Linux 4.11)" |
| 1637 |
msgstr "I<perf_event> (начиная с Linux 4.11)" |
| 1638 |
|
| 1639 |
#. type: Plain text |
| 1640 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1641 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1642 |
msgid "This is the same as the version 1 I<perf_event> controller." |
| 1643 |
msgstr "Совпадает с контроллером I<perf_event> версии 1." |
| 1644 |
|
| 1645 |
#. type: TP |
| 1646 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1647 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1648 |
#, no-wrap |
| 1649 |
msgid "I<pids> (since Linux 4.5)" |
| 1650 |
msgstr "I<pids> (начиная с Linux 4.5)" |
| 1651 |
|
| 1652 |
#. type: Plain text |
| 1653 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1654 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1655 |
msgid "This is the same as the version 1 I<pids> controller." |
| 1656 |
msgstr "Совпадает с контроллером I<pids> версии 1." |
| 1657 |
|
| 1658 |
#. type: TP |
| 1659 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1660 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1661 |
#, no-wrap |
| 1662 |
msgid "I<rdma> (since Linux 4.11)" |
| 1663 |
msgstr "I<rdma> (начиная с Linux 4.11)" |
| 1664 |
|
| 1665 |
#. type: Plain text |
| 1666 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1667 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1668 |
msgid "This is the same as the version 1 I<rdma> controller." |
| 1669 |
msgstr "Совпадает с контроллером I<rdma> версии 1." |
| 1670 |
|
| 1671 |
#. type: Plain text |
| 1672 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1673 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1674 |
msgid "" |
| 1675 |
"There is no direct equivalent of the I<net_cls> and I<net_prio> controllers " |
| 1676 |
"from cgroups version 1. Instead, support has been added to B<iptables>(8) " |
| 1677 |
"to allow eBPF filters that hook on cgroup v2 pathnames to make decisions " |
| 1678 |
"about network traffic on a per-cgroup basis." |
| 1679 |
msgstr "" |
| 1680 |
|
| 1681 |
#. type: Plain text |
| 1682 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1683 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1684 |
msgid "" |
| 1685 |
"The v2 I<devices> controller provides no interface files; instead, device " |
| 1686 |
"control is gated by attaching an eBPF (B<BPF_CGROUP_DEVICE>) program to a " |
| 1687 |
"v2 cgroup." |
| 1688 |
msgstr "" |
| 1689 |
|
| 1690 |
#. type: SS |
| 1691 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1692 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1693 |
#, no-wrap |
| 1694 |
msgid "Cgroups v2 subtree control" |
| 1695 |
msgstr "Управление поддеревом cgroups v2" |
| 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 "Each cgroup in the v2 hierarchy contains the following two files:" |
| 1701 |
msgstr "Каждая cgroup в иерархии v2 содержит следующие два файла:" |
| 1702 |
|
| 1703 |
#. type: TP |
| 1704 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1705 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1706 |
#, no-wrap |
| 1707 |
msgid "I<cgroup.controllers>" |
| 1708 |
msgstr "I<cgroup.controllers>" |
| 1709 |
|
| 1710 |
#. type: Plain text |
| 1711 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1712 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1713 |
msgid "" |
| 1714 |
"This read-only file exposes a list of the controllers that are I<available> " |
| 1715 |
"in this cgroup. The contents of this file match the contents of the " |
| 1716 |
"I<cgroup.subtree_control> file in the parent cgroup." |
| 1717 |
msgstr "" |
| 1718 |
"Доступный только для чтения файл со списком контроллеров, I<доступных> в " |
| 1719 |
"этой cgroup. Содержимое этого файла совпадает с содержимым файла " |
| 1720 |
"I<cgroup.subtree_control> в родительской cgroup." |
| 1721 |
|
| 1722 |
#. type: TP |
| 1723 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1724 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1725 |
#, no-wrap |
| 1726 |
msgid "I<cgroup.subtree_control>" |
| 1727 |
msgstr "I<cgroup.subtree_control>" |
| 1728 |
|
| 1729 |
#. type: Plain text |
| 1730 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1731 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1732 |
msgid "" |
| 1733 |
"This is a list of controllers that are I<active> (I<enabled>) in the " |
| 1734 |
"cgroup. The set of controllers in this file is a subset of the set in the " |
| 1735 |
"I<cgroup.controllers> of this cgroup. The set of active controllers is " |
| 1736 |
"modified by writing strings to this file containing space-delimited " |
| 1737 |
"controller names, each preceded by '+' (to enable a controller) or '-' (to " |
| 1738 |
"disable a controller), as in the following example:" |
| 1739 |
msgstr "" |
| 1740 |
"Список контроллеров, I<активных> (I<включённых>) в cgroup. Набор " |
| 1741 |
"контроллеров в этом файле является поднабором I<cgroup.controllers> этой " |
| 1742 |
"cgroup. Изменение набора активных контроллеров выполняется записью строк в " |
| 1743 |
"этот файл с именами контроллеров через пробел; перед именами указывается «+» " |
| 1744 |
"(включить контроллер) или «-» (выключить контроллер), как в следующем " |
| 1745 |
"примере:" |
| 1746 |
|
| 1747 |
#. type: Plain text |
| 1748 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1749 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1750 |
#, fuzzy, no-wrap |
| 1751 |
#| msgid "echo '+pids -memory' E<gt> x/y/cgroup.subtree_control\n" |
| 1752 |
msgid "echo \\[aq]+pids -memory\\[aq] E<gt> x/y/cgroup.subtree_control\n" |
| 1753 |
msgstr "echo '+pids -memory' E<gt> x/y/cgroup.subtree_control\n" |
| 1754 |
|
| 1755 |
#. type: Plain text |
| 1756 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1757 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1758 |
msgid "" |
| 1759 |
"An attempt to enable a controller that is not present in " |
| 1760 |
"I<cgroup.controllers> leads to an B<ENOENT> error when writing to the " |
| 1761 |
"I<cgroup.subtree_control> file." |
| 1762 |
msgstr "" |
| 1763 |
"Попытка включить контроллер, который отсутствует в I<cgroup.controllers>, " |
| 1764 |
"приводит к ошибке B<ENOENT> при записи в файл I<cgroup.subtree_control>." |
| 1765 |
|
| 1766 |
#. type: Plain text |
| 1767 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1768 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1769 |
msgid "" |
| 1770 |
"Because the list of controllers in I<cgroup.subtree_control> is a subset of " |
| 1771 |
"those I<cgroup.controllers>, a controller that has been disabled in one " |
| 1772 |
"cgroup in the hierarchy can never be re-enabled in the subtree below that " |
| 1773 |
"cgroup." |
| 1774 |
msgstr "" |
| 1775 |
"Так как список контроллеров в I<cgroup.subtree_control> является поднабором " |
| 1776 |
"из I<cgroup.controllers>, то контроллер, отключённый в иерархии cgroup, " |
| 1777 |
"невозможно включить в поддереве ниже этой cgroup." |
| 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 |
"A cgroup's I<cgroup.subtree_control> file determines the set of controllers " |
| 1784 |
"that are exercised in the I<child> cgroups. When a controller (e.g., " |
| 1785 |
"I<pids>) is present in the I<cgroup.subtree_control> file of a parent " |
| 1786 |
"cgroup, then the corresponding controller-interface files (e.g., " |
| 1787 |
"I<pids.max>) are automatically created in the children of that cgroup and " |
| 1788 |
"can be used to exert resource control in the child cgroups." |
| 1789 |
msgstr "" |
| 1790 |
"Файл cgroup I<cgroup.subtree_control> определяет набор контроллеров, которые " |
| 1791 |
"выполняются в I<дочерних> cgroup. Когда контроллер (например I<pids>), есть " |
| 1792 |
"в файле I<cgroup.subtree_control> родительской cgroup, то соответствующие " |
| 1793 |
"файлы интерфейса контроллера (например I<pids.max>) автоматически создаются " |
| 1794 |
"в дочерних cgroup и могут использоваться для влияния на управление ресурсами " |
| 1795 |
"в дочерних cgroup." |
| 1796 |
|
| 1797 |
#. type: SS |
| 1798 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1799 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1800 |
#, fuzzy, no-wrap |
| 1801 |
#| msgid "Cgroups v2 \"no internal processes\" rule" |
| 1802 |
msgid "Cgroups v2 \\[dq]no internal processes\\[dq] rule" |
| 1803 |
msgstr "Правило cgroups v2 «нет внутренним процессам»" |
| 1804 |
|
| 1805 |
#. type: Plain text |
| 1806 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1807 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1808 |
msgid "" |
| 1809 |
"Cgroups v2 enforces a so-called \"no internal processes\" rule. Roughly " |
| 1810 |
"speaking, this rule means that, with the exception of the root cgroup, " |
| 1811 |
"processes may reside only in leaf nodes (cgroups that do not themselves " |
| 1812 |
"contain child cgroups). This avoids the need to decide how to partition " |
| 1813 |
"resources between processes which are members of cgroup A and processes in " |
| 1814 |
"child cgroups of A." |
| 1815 |
msgstr "" |
| 1816 |
"Cgroups v2 вводит так называемое правило «нет внутренним процессам». Грубо " |
| 1817 |
"говоря, это правило означает, что за исключением корневой cgroup, процессы " |
| 1818 |
"могут располагаться только в краевых узлах (cgroup, которая не содержит " |
| 1819 |
"дочерних cgroup). Это позволяет не решать как делить ресурсы между " |
| 1820 |
"процессами, которые являются членами cgroup A и процессами в дочерних cgroup-" |
| 1821 |
"ах A." |
| 1822 |
|
| 1823 |
#. type: Plain text |
| 1824 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1825 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1826 |
msgid "" |
| 1827 |
"For instance, if cgroup I</cg1/cg2> exists, then a process may reside in I</" |
| 1828 |
"cg1/cg2>, but not in I</cg1>. This is to avoid an ambiguity in cgroups v1 " |
| 1829 |
"with respect to the delegation of resources between processes in I</cg1> and " |
| 1830 |
"its child cgroups. The recommended approach in cgroups v2 is to create a " |
| 1831 |
"subdirectory called I<leaf> for any nonleaf cgroup which should contain " |
| 1832 |
"processes, but no child cgroups. Thus, processes which previously would " |
| 1833 |
"have gone into I</cg1> would now go into I</cg1/leaf>. This has the " |
| 1834 |
"advantage of making explicit the relationship between processes in I</cg1/" |
| 1835 |
"leaf> and I</cg1>'s other children." |
| 1836 |
msgstr "" |
| 1837 |
"Например, если существует cgroup I</cg1/cg2>, то процесс может располагаться " |
| 1838 |
"в I</cg1/cg2>, но не в I</cg1>. Это решает проблему с неясностью в cgroups " |
| 1839 |
"v1 в плане разделения ресурсов между процессами в I</cg1> и её дочерних " |
| 1840 |
"cgroup-ах. Рекомендуемый подход в cgroups v2 — создать подкаталог I<leaf> " |
| 1841 |
"для всех конечных cgroup, в котором будут содержаться только процессы и " |
| 1842 |
"отсутствовать дочерние cgroup-ы. То есть процессы, которые раньше находились " |
| 1843 |
"в I</cg1> теперь должны помещаться в I</cg1/leaf>. Преимуществом этого " |
| 1844 |
"является явное указание родства между процессами в I</cg1/leaf> и в других " |
| 1845 |
"потомках I</cg1>." |
| 1846 |
|
| 1847 |
#. type: Plain text |
| 1848 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1849 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1850 |
#, fuzzy |
| 1851 |
#| msgid "" |
| 1852 |
#| "The \"no internal processes\" rule is in fact more subtle than stated " |
| 1853 |
#| "above. More precisely, the rule is that a (nonroot) cgroup can't both " |
| 1854 |
#| "(1) have member processes, and (2) distribute resources into child " |
| 1855 |
#| "cgroups\\(emthat is, have a nonempty I<cgroup.subtree_control> file. " |
| 1856 |
#| "Thus, it I<is> possible for a cgroup to have both member processes and " |
| 1857 |
#| "child cgroups, but before controllers can be enabled for that cgroup, the " |
| 1858 |
#| "member processes must be moved out of the cgroup (e.g., perhaps into the " |
| 1859 |
#| "child cgroups)." |
| 1860 |
msgid "" |
| 1861 |
"The \"no internal processes\" rule is in fact more subtle than stated " |
| 1862 |
"above. More precisely, the rule is that a (nonroot) cgroup can't both (1) " |
| 1863 |
"have member processes, and (2) distribute resources into child cgroups\\" |
| 1864 |
"[em]that is, have a nonempty I<cgroup.subtree_control> file. Thus, it I<is> " |
| 1865 |
"possible for a cgroup to have both member processes and child cgroups, but " |
| 1866 |
"before controllers can be enabled for that cgroup, the member processes must " |
| 1867 |
"be moved out of the cgroup (e.g., perhaps into the child cgroups)." |
| 1868 |
msgstr "" |
| 1869 |
"На самом деле, правило «нет внутренним процессам» не столь категорично как " |
| 1870 |
"утверждалось выше. Более точно, правило состоит в том, что (не корневая) " |
| 1871 |
"cgroup не может одновременно (1) иметь процессы-члены и (2) распределять " |
| 1872 |
"ресурсы в дочерних cgroup, то есть иметь непустой файл " |
| 1873 |
"I<cgroup.subtree_control>. Таким образом, cgroup I<может> иметь процессы-" |
| 1874 |
"члены и дочерние cgroup, но перед тем как в этой группе можно будет включить " |
| 1875 |
"контроллеры, члены-процессы нужно вывести из cgroup (например, в дочерние " |
| 1876 |
"cgroup)." |
| 1877 |
|
| 1878 |
#. type: Plain text |
| 1879 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1880 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1881 |
msgid "" |
| 1882 |
"With the Linux 4.14 addition of \"thread mode\" (described below), the \"no " |
| 1883 |
"internal processes\" rule has been relaxed in some cases." |
| 1884 |
msgstr "" |
| 1885 |
"С добавлением в Linux 4.14 «режима нитей» (смотрите далее) для некоторых " |
| 1886 |
"случаев применение правила «не внутренних процессов» было ослаблено." |
| 1887 |
|
| 1888 |
#. type: SS |
| 1889 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1890 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1891 |
#, no-wrap |
| 1892 |
msgid "Cgroups v2 cgroup.events file" |
| 1893 |
msgstr "Файл cgroup.events в cgroups v2" |
| 1894 |
|
| 1895 |
#. type: Plain text |
| 1896 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1897 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1898 |
msgid "" |
| 1899 |
"Each nonroot cgroup in the v2 hierarchy contains a read-only file, " |
| 1900 |
"I<cgroup.events>, whose contents are key-value pairs (delimited by newline " |
| 1901 |
"characters, with the key and value separated by spaces) providing state " |
| 1902 |
"information about the cgroup:" |
| 1903 |
msgstr "" |
| 1904 |
|
| 1905 |
#. type: Plain text |
| 1906 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 1907 |
#: opensuse-tumbleweed |
| 1908 |
#, no-wrap |
| 1909 |
msgid "" |
| 1910 |
"$B< cat mygrp/cgroup.events>\n" |
| 1911 |
"populated 1\n" |
| 1912 |
"frozen 0\n" |
| 1913 |
msgstr "" |
| 1914 |
|
| 1915 |
#. type: Plain text |
| 1916 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1917 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1918 |
#, fuzzy |
| 1919 |
#| msgid "The entries that can appear in this file are:" |
| 1920 |
msgid "The following keys may appear in this file:" |
| 1921 |
msgstr "В этом файле может появляться следующее:" |
| 1922 |
|
| 1923 |
#. type: TP |
| 1924 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1925 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1926 |
#, fuzzy, no-wrap |
| 1927 |
#| msgid "I<port>" |
| 1928 |
msgid "I<populated>" |
| 1929 |
msgstr "I<порт>" |
| 1930 |
|
| 1931 |
#. type: Plain text |
| 1932 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1933 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1934 |
msgid "" |
| 1935 |
"The value of this key is either 1, if this cgroup or any of its descendants " |
| 1936 |
"has member processes, or otherwise 0." |
| 1937 |
msgstr "" |
| 1938 |
|
| 1939 |
#. type: TP |
| 1940 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1941 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1942 |
#, fuzzy, no-wrap |
| 1943 |
#| msgid "I<io> (since Linux 4.5)" |
| 1944 |
msgid "I<frozen> (since Linux 5.2)" |
| 1945 |
msgstr "I<io> (начиная с Linux 4.5)" |
| 1946 |
|
| 1947 |
#. commit 76f969e8948d82e78e1bc4beb6b9465908e7487 |
| 1948 |
#. type: Plain text |
| 1949 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1950 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1951 |
msgid "" |
| 1952 |
"The value of this key is 1 if this cgroup is currently frozen, or 0 if it is " |
| 1953 |
"not." |
| 1954 |
msgstr "" |
| 1955 |
|
| 1956 |
#. type: Plain text |
| 1957 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1958 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1959 |
#, fuzzy |
| 1960 |
#| msgid "" |
| 1961 |
#| "The I<cgroup.events> file can be monitored, in order to receive " |
| 1962 |
#| "notification when a cgroup transitions between the populated and " |
| 1963 |
#| "unpopulated states (or vice versa). When monitoring this file using " |
| 1964 |
#| "B<inotify>(7), transitions generate B<IN_MODIFY> events, and when " |
| 1965 |
#| "monitoring the file using B<poll>(2), transitions cause the bits " |
| 1966 |
#| "B<POLLPRI> and B<POLLERR> to be returned in the I<revents> field." |
| 1967 |
msgid "" |
| 1968 |
"The I<cgroup.events> file can be monitored, in order to receive notification " |
| 1969 |
"when the value of one of its keys changes. Such monitoring can be done " |
| 1970 |
"using B<inotify>(7), which notifies changes as B<IN_MODIFY> events, or " |
| 1971 |
"B<poll>(2), which notifies changes by returning the B<POLLPRI> and " |
| 1972 |
"B<POLLERR> bits in the I<revents> field." |
| 1973 |
msgstr "" |
| 1974 |
"За файлом I<cgroup.events> можно установить наблюдение и получить " |
| 1975 |
"уведомление, когда cgroup изменяет состояние с пустой на непустую и " |
| 1976 |
"наоборот. При наблюдении за файлом с помощью B<inotify>(7) во время перехода " |
| 1977 |
"генерируются события B<IN_MODIFY>, а при наблюдении с помощью B<poll>(2) во " |
| 1978 |
"время перехода в возвращаемом поле I<revents> устанавливаются биты " |
| 1979 |
"B<POLLPRI> и B<POLLERR>." |
| 1980 |
|
| 1981 |
#. type: SS |
| 1982 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1983 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1984 |
#, fuzzy, no-wrap |
| 1985 |
#| msgid "Cgroups v1 release notification" |
| 1986 |
msgid "Cgroup v2 release notification" |
| 1987 |
msgstr "Выпуск уведомлений cgroups v1" |
| 1988 |
|
| 1989 |
#. type: Plain text |
| 1990 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1991 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1992 |
#, fuzzy |
| 1993 |
#| msgid "" |
| 1994 |
#| "With cgroups v2, a new mechanism is provided to obtain notification about " |
| 1995 |
#| "when a cgroup becomes empty. The cgroups v1 I<release_agent> and " |
| 1996 |
#| "I<notify_on_release> files are removed, and replaced by a new, more " |
| 1997 |
#| "general-purpose file, I<cgroup.events>. This read-only file contains key-" |
| 1998 |
#| "value pairs (delimited by newline characters, with the key and value " |
| 1999 |
#| "separated by spaces) that identify events or state for a cgroup. " |
| 2000 |
#| "Currently, only one key appears in this file, I<populated>, which has " |
| 2001 |
#| "either the value 0, meaning that the cgroup (and its descendants) " |
| 2002 |
#| "contain no (nonzombie) processes, or 1, meaning that the cgroup contains " |
| 2003 |
#| "member processes." |
| 2004 |
msgid "" |
| 2005 |
"Cgroups v2 provides a new mechanism for obtaining notification when a cgroup " |
| 2006 |
"becomes empty. The cgroups v1 I<release_agent> and I<notify_on_release> " |
| 2007 |
"files are removed, and replaced by the I<populated> key in the " |
| 2008 |
"I<cgroup.events> file. This key either has the value 0, meaning that the " |
| 2009 |
"cgroup (and its descendants) contain no (nonzombie) member processes, or 1, " |
| 2010 |
"meaning that the cgroup (or one of its descendants) contains member " |
| 2011 |
"processes." |
| 2012 |
msgstr "" |
| 2013 |
"В cgroups v2 появился новый механизм получения уведомления при появлении " |
| 2014 |
"пустой cgroup. Файлы cgroups v1 I<release_agent> и I<notify_on_release> " |
| 2015 |
"удалены и заменены новым, более общим файлом I<cgroup.events>. В этом " |
| 2016 |
"доступном только для чтения файле содержится пара ключ-значение (пары " |
| 2017 |
"разделяются символом новой строки, ключ и значение разделяется пробелами), " |
| 2018 |
"которые определяют события или состояние cgroup. В настоящее время доступен " |
| 2019 |
"только один ключ, I<populated>, который имеет значение 0, означающее, что " |
| 2020 |
"эта cgroup (и её потомки) не содержат процессов (не зомби), или 1, " |
| 2021 |
"означающее, что cgroup содержит процессы." |
| 2022 |
|
| 2023 |
#. type: Plain text |
| 2024 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2025 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2026 |
msgid "" |
| 2027 |
"The cgroups v2 release-notification mechanism offers the following " |
| 2028 |
"advantages over the cgroups v1 I<release_agent> mechanism:" |
| 2029 |
msgstr "" |
| 2030 |
|
| 2031 |
#. type: Plain text |
| 2032 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2033 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2034 |
msgid "" |
| 2035 |
"It allows for cheaper notification, since a single process can monitor " |
| 2036 |
"multiple I<cgroup.events> files (using the techniques described earlier). " |
| 2037 |
"By contrast, the cgroups v1 mechanism requires the expense of creating a " |
| 2038 |
"process for each notification." |
| 2039 |
msgstr "" |
| 2040 |
|
| 2041 |
#. type: Plain text |
| 2042 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2043 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2044 |
msgid "" |
| 2045 |
"Notification for different cgroup subhierarchies can be delegated to " |
| 2046 |
"different processes. By contrast, the cgroups v1 mechanism allows only one " |
| 2047 |
"release agent for an entire hierarchy." |
| 2048 |
msgstr "" |
| 2049 |
|
| 2050 |
#. type: SS |
| 2051 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2052 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2053 |
#, no-wrap |
| 2054 |
msgid "Cgroups v2 cgroup.stat file" |
| 2055 |
msgstr "Файл cgroup.stat в cgroups v2" |
| 2056 |
|
| 2057 |
#. commit ec39225cca42c05ac36853d11d28f877fde5c42e |
| 2058 |
#. type: Plain text |
| 2059 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2060 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2061 |
msgid "" |
| 2062 |
"Each cgroup in the v2 hierarchy contains a read-only I<cgroup.stat> file " |
| 2063 |
"(first introduced in Linux 4.14) that consists of lines containing key-" |
| 2064 |
"value pairs. The following keys currently appear in this file:" |
| 2065 |
msgstr "" |
| 2066 |
"Каждая cgroup в иерархии v2 содержит файл I<cgroup.stat>, доступный только " |
| 2067 |
"для чтения (появился в Linux 4.14), который состоит из строк с парами ключ-" |
| 2068 |
"значение. В этом файле появляются следующие ключи:" |
| 2069 |
|
| 2070 |
#. type: TP |
| 2071 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2072 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2073 |
#, no-wrap |
| 2074 |
msgid "I<nr_descendants>" |
| 2075 |
msgstr "I<nr_descendants>" |
| 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 |
"This is the total number of visible (i.e., living) descendant cgroups " |
| 2082 |
"underneath this cgroup." |
| 2083 |
msgstr "" |
| 2084 |
"Общее количество видимых (т. е., живых) cgroups — потомков этой cgroup." |
| 2085 |
|
| 2086 |
#. type: TP |
| 2087 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2088 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2089 |
#, no-wrap |
| 2090 |
msgid "I<nr_dying_descendants>" |
| 2091 |
msgstr "I<nr_dying_descendants>" |
| 2092 |
|
| 2093 |
#. type: Plain text |
| 2094 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2095 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2096 |
msgid "" |
| 2097 |
"This is the total number of dying descendant cgroups underneath this " |
| 2098 |
"cgroup. A cgroup enters the dying state after being deleted. It remains in " |
| 2099 |
"that state for an undefined period (which will depend on system load) while " |
| 2100 |
"resources are freed before the cgroup is destroyed. Note that the presence " |
| 2101 |
"of some cgroups in the dying state is normal, and is not indicative of any " |
| 2102 |
"problem." |
| 2103 |
msgstr "" |
| 2104 |
"Общее количество прекративших работу cgroups — потомков этой cgroup. cgroups " |
| 2105 |
"входит в состояния прекращения жизнедеятельности после удаления. Она " |
| 2106 |
"остаётся в таком состоянии на неопределённых срок (зависит от системной " |
| 2107 |
"нагрузки), хотя ресурсы освобождаются до уничтожения cgroup. Заметим, что " |
| 2108 |
"существование несколькими cgroups в состоянии прекращения жизнедеятельности " |
| 2109 |
"нормально и не указывает на проблему." |
| 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 |
"A process can't be made a member of a dying cgroup, and a dying cgroup can't " |
| 2116 |
"be brought back to life." |
| 2117 |
msgstr "" |
| 2118 |
"Процесс не может стать членом прекратившей работу cgroup, и такая cgroup не " |
| 2119 |
"может опять заработать." |
| 2120 |
|
| 2121 |
#. type: SS |
| 2122 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2123 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2124 |
#, no-wrap |
| 2125 |
msgid "Limiting the number of descendant cgroups" |
| 2126 |
msgstr "Ограничение на количество дочерних cgroups" |
| 2127 |
|
| 2128 |
#. type: Plain text |
| 2129 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2130 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2131 |
msgid "" |
| 2132 |
"Each cgroup in the v2 hierarchy contains the following files, which can be " |
| 2133 |
"used to view and set limits on the number of descendant cgroups under that " |
| 2134 |
"cgroup:" |
| 2135 |
msgstr "" |
| 2136 |
"Каждая cgroup в иерархии v2 содержит следующие файлы, которые можно " |
| 2137 |
"использовать для просмотра и изменения количества дочерних cgroup в cgroup:" |
| 2138 |
|
| 2139 |
#. type: TP |
| 2140 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2141 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2142 |
#, no-wrap |
| 2143 |
msgid "I<cgroup.max.depth> (since Linux 4.14)" |
| 2144 |
msgstr "I<cgroup.max.depth> (начиная с Linux 4.14)" |
| 2145 |
|
| 2146 |
#. commit 1a926e0bbab83bae8207d05a533173425e0496d1 |
| 2147 |
#. type: Plain text |
| 2148 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2149 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2150 |
msgid "" |
| 2151 |
"This file defines a limit on the depth of nesting of descendant cgroups. A " |
| 2152 |
"value of 0 in this file means that no descendant cgroups can be created. An " |
| 2153 |
"attempt to create a descendant whose nesting level exceeds the limit fails " |
| 2154 |
"(I<mkdir>(2) fails with the error B<EAGAIN>)." |
| 2155 |
msgstr "" |
| 2156 |
"Этим файлом задаётся ограничение глубины вложенности дочерних cgroup. " |
| 2157 |
"Значение 0 означает запрет на создание дочерних cgroup. Попытка создать " |
| 2158 |
"потомка, чья глубина вложенности превышает ограничение, завершается ошибкой " |
| 2159 |
"(I<mkdir>(2) завершается ошибкой B<EAGAIN>)." |
| 2160 |
|
| 2161 |
#. type: Plain text |
| 2162 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2163 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2164 |
#, fuzzy |
| 2165 |
#| msgid "" |
| 2166 |
#| "Writing the string I<\"max\"> to this file means that no limit is " |
| 2167 |
#| "imposed. The default value in this file is I<\"max\">." |
| 2168 |
msgid "" |
| 2169 |
"Writing the string I<\\[dq]max\\[dq]> to this file means that no limit is " |
| 2170 |
"imposed. The default value in this file is I<\\[dq]max\\[dq]>." |
| 2171 |
msgstr "" |
| 2172 |
"Запись строки I<\"max\"> в этот файл означает, что ограничение отсутствует. " |
| 2173 |
"Значением по умолчанию для файла является I<\"max\">." |
| 2174 |
|
| 2175 |
#. type: TP |
| 2176 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2177 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2178 |
#, no-wrap |
| 2179 |
msgid "I<cgroup.max.descendants> (since Linux 4.14)" |
| 2180 |
msgstr "I<cgroup.max.descendants> (начиная с Linux 4.14)" |
| 2181 |
|
| 2182 |
#. commit 1a926e0bbab83bae8207d05a533173425e0496d1 |
| 2183 |
#. type: Plain text |
| 2184 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2185 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2186 |
msgid "" |
| 2187 |
"This file defines a limit on the number of live descendant cgroups that this " |
| 2188 |
"cgroup may have. An attempt to create more descendants than allowed by the " |
| 2189 |
"limit fails (I<mkdir>(2) fails with the error B<EAGAIN>)." |
| 2190 |
msgstr "" |
| 2191 |
"Этим файлом задаётся ограничение на количество действующих дочерних cgroup, " |
| 2192 |
"которое может иметь cgroup. Попытка создать больше потомков, чем разрешено, " |
| 2193 |
"приводит к ошибке (I<mkdir>(2) завершается ошибкой B<EAGAIN>)." |
| 2194 |
|
| 2195 |
#. type: SH |
| 2196 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2197 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2198 |
#, no-wrap |
| 2199 |
msgid "CGROUPS DELEGATION: DELEGATING A HIERARCHY TO A LESS PRIVILEGED USER" |
| 2200 |
msgstr "ДЕЛЕГИРОВАНИЕ CGROUPS: ДЕЛЕГИРОВАНИЕ ИЕРАРХИИ МЕНЕЕ ПРИВИЛЕГИРОВАННОМУ ПОЛЬЗОВАТЕЛЮ" |
| 2201 |
|
| 2202 |
#. type: Plain text |
| 2203 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2204 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2205 |
msgid "" |
| 2206 |
"In the context of cgroups, delegation means passing management of some " |
| 2207 |
"subtree of the cgroup hierarchy to a nonprivileged user. Cgroups v1 " |
| 2208 |
"provides support for delegation based on file permissions in the cgroup " |
| 2209 |
"hierarchy but with less strict containment rules than v2 (as noted below). " |
| 2210 |
"Cgroups v2 supports delegation with containment by explicit design. The " |
| 2211 |
"focus of the discussion in this section is on delegation in cgroups v2, with " |
| 2212 |
"some differences for cgroups v1 noted along the way." |
| 2213 |
msgstr "" |
| 2214 |
"В контексте cgroups, делегирование означает передачу управления частью " |
| 2215 |
"поддерева иерархии cgroup непривилегированному пользователю. Cgroups v1 " |
| 2216 |
"предоставляют поддержку делегирования на основе файловых прав доступа в " |
| 2217 |
"иерархии cgroup, но эти правила менее ограничительны по сравнению с v2 " |
| 2218 |
"(смотрите далее). Поддержка делегирования в cgroups v2 планировалась " |
| 2219 |
"изначально. В основном, этот раздел описывает делегирование для cgroups v2, " |
| 2220 |
"попутно указывая различия с cgroups v1." |
| 2221 |
|
| 2222 |
#. type: Plain text |
| 2223 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2224 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2225 |
msgid "" |
| 2226 |
"Some terminology is required in order to describe delegation. A " |
| 2227 |
"I<delegater> is a privileged user (i.e., root) who owns a parent cgroup. A " |
| 2228 |
"I<delegatee> is a nonprivileged user who will be granted the permissions " |
| 2229 |
"needed to manage some subhierarchy under that parent cgroup, known as the " |
| 2230 |
"I<delegated subtree>." |
| 2231 |
msgstr "" |
| 2232 |
"Для описания делегирования необходима некоторая терминология. " |
| 2233 |
"I<Делегирующий> это привилегированный пользователь (т.е., корневой объект), " |
| 2234 |
"которому принадлежит родительская группа cgroup. I<Делегат> это " |
| 2235 |
"непривилегированный пользователь, которому будут предоставлены права, " |
| 2236 |
"необходимые для управления некоторой субиерархией в родительской группе " |
| 2237 |
"cgroup, также называемой I<делегированным поддеревом>." |
| 2238 |
|
| 2239 |
#. type: Plain text |
| 2240 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2241 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2242 |
msgid "" |
| 2243 |
"To perform delegation, the delegater makes certain directories and files " |
| 2244 |
"writable by the delegatee, typically by changing the ownership of the " |
| 2245 |
"objects to be the user ID of the delegatee. Assuming that we want to " |
| 2246 |
"delegate the hierarchy rooted at (say) I</dlgt_grp> and that there are not " |
| 2247 |
"yet any child cgroups under that cgroup, the ownership of the following is " |
| 2248 |
"changed to the user ID of the delegatee:" |
| 2249 |
msgstr "" |
| 2250 |
"Для делегирования, делегирующий создает определённые каталоги и файлы, " |
| 2251 |
"доступные на запись делегату, обычно, назначая владельцем объектов " |
| 2252 |
"идентификатором пользователя-делегата. Предполагая, что нужно делегировать " |
| 2253 |
"иерархию с корнем (например) I</dlgt_grp> и что пока нет каких-либо дочерних " |
| 2254 |
"cgroups в cgroup, меняем владельца на идентификатор пользователя-делегата у " |
| 2255 |
"следующего:" |
| 2256 |
|
| 2257 |
#. type: TP |
| 2258 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2259 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2260 |
#, no-wrap |
| 2261 |
msgid "I</dlgt_grp>" |
| 2262 |
msgstr "I</dlgt_grp>" |
| 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 |
"Changing the ownership of the root of the subtree means that any new cgroups " |
| 2269 |
"created under the subtree (and the files they contain) will also be owned " |
| 2270 |
"by the delegatee." |
| 2271 |
msgstr "" |
| 2272 |
"Смена владельца корня поддерева означает, что любые новые cgroups, созданные " |
| 2273 |
"в поддереве (и файлы, которые они содержат), также будут принадлежать " |
| 2274 |
"делегату." |
| 2275 |
|
| 2276 |
#. type: TP |
| 2277 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2278 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2279 |
#, no-wrap |
| 2280 |
msgid "I</dlgt_grp/cgroup.procs>" |
| 2281 |
msgstr "I</dlgt_grp/cgroup.procs>" |
| 2282 |
|
| 2283 |
#. type: Plain text |
| 2284 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2285 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2286 |
msgid "" |
| 2287 |
"Changing the ownership of this file means that the delegatee can move " |
| 2288 |
"processes into the root of the delegated subtree." |
| 2289 |
msgstr "" |
| 2290 |
"Смена владельца этого файла означает, что делегат может перемещать процессы " |
| 2291 |
"в корень делегированного ему поддерева." |
| 2292 |
|
| 2293 |
#. type: TP |
| 2294 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2295 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2296 |
#, no-wrap |
| 2297 |
msgid "I</dlgt_grp/cgroup.subtree_control> (cgroups v2 only)" |
| 2298 |
msgstr "I</dlgt_grp/cgroup.subtree_control> (только cgroups v2)" |
| 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 |
"Changing the ownership of this file means that the delegatee can enable " |
| 2305 |
"controllers (that are present in I</dlgt_grp/cgroup.controllers>) in order " |
| 2306 |
"to further redistribute resources at lower levels in the subtree. (As an " |
| 2307 |
"alternative to changing the ownership of this file, the delegater might " |
| 2308 |
"instead add selected controllers to this file.)" |
| 2309 |
msgstr "" |
| 2310 |
"Смена владельца этого файла означает, что делегат сможет включать " |
| 2311 |
"контроллеры (которые имеются в I</dlgt_grp/cgroup.controllers>), чтобы в " |
| 2312 |
"дальнейшем распределять ресурсы на более низких уровнях поддерева (вместо " |
| 2313 |
"изменения прав владения данным файлом делегирующий может добавить нужные " |
| 2314 |
"контроллеры в этот файл)." |
| 2315 |
|
| 2316 |
#. type: TP |
| 2317 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2318 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2319 |
#, no-wrap |
| 2320 |
msgid "I</dlgt_grp/cgroup.threads> (cgroups v2 only)" |
| 2321 |
msgstr "I</dlgt_grp/cgroup.threads> (только cgroups v2)" |
| 2322 |
|
| 2323 |
#. type: Plain text |
| 2324 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2325 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2326 |
msgid "" |
| 2327 |
"Changing the ownership of this file is necessary if a threaded subtree is " |
| 2328 |
"being delegated (see the description of \"thread mode\", below). This " |
| 2329 |
"permits the delegatee to write thread IDs to the file. (The ownership of " |
| 2330 |
"this file can also be changed when delegating a domain subtree, but " |
| 2331 |
"currently this serves no purpose, since, as described below, it is not " |
| 2332 |
"possible to move a thread between domain cgroups by writing its thread ID to " |
| 2333 |
"the I<cgroup.threads> file.)" |
| 2334 |
msgstr "" |
| 2335 |
"Смена владельца этого файла требуется для делегирования поддерева с нитями " |
| 2336 |
"(смотрите описание «режима нитей» далее). Это позволяет делегату записывать " |
| 2337 |
"в файл ID нитей (также может быть изменён владелец файла для делегирования " |
| 2338 |
"поддерева домена, но пока это ни к чему не приводит, так как, судя по " |
| 2339 |
"описанному далее, невозможно перемещать нить между cgroup домена просто " |
| 2340 |
"записывая ID нити в файл I<cgroup.threads>)." |
| 2341 |
|
| 2342 |
#. type: Plain text |
| 2343 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2344 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2345 |
msgid "" |
| 2346 |
"In cgroups v1, the corresponding file that should instead be delegated is " |
| 2347 |
"the I<tasks> file." |
| 2348 |
msgstr "" |
| 2349 |
"В cgroups v1 соответствующим файлом вместо делегируемого должен быть файл " |
| 2350 |
"I<tasks>." |
| 2351 |
|
| 2352 |
#. type: Plain text |
| 2353 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2354 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2355 |
msgid "" |
| 2356 |
"The delegater should I<not> change the ownership of any of the controller " |
| 2357 |
"interfaces files (e.g., I<pids.max>, I<memory.high>) in I<dlgt_grp>. Those " |
| 2358 |
"files are used from the next level above the delegated subtree in order to " |
| 2359 |
"distribute resources into the subtree, and the delegatee should not have " |
| 2360 |
"permission to change the resources that are distributed into the delegated " |
| 2361 |
"subtree." |
| 2362 |
msgstr "" |
| 2363 |
"Делегирующий I<не> должен изменять владельцев файлов интерфейса контроллера " |
| 2364 |
"(например, I<pids.max>, I<memory.high>) в I<dlgt_grp>. Эти файлы " |
| 2365 |
"используются со следующего уровня над делегируемым поддеревом, чтобы " |
| 2366 |
"распределить ресурсы в поддерево, и делегат не должен иметь права изменять " |
| 2367 |
"ресурсы, распределённые в делегируемое поддерево." |
| 2368 |
|
| 2369 |
#. type: Plain text |
| 2370 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2371 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2372 |
msgid "" |
| 2373 |
"See also the discussion of the I</sys/kernel/cgroup/delegate> file in NOTES " |
| 2374 |
"for information about further delegatable files in cgroups v2." |
| 2375 |
msgstr "" |
| 2376 |
"Информацию о других делегируемых файлах cgroups v2 смотрите описание файла " |
| 2377 |
"I</sys/kernel/cgroup/delegate> в ЗАМЕЧАНИЯХ." |
| 2378 |
|
| 2379 |
#. type: Plain text |
| 2380 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2381 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2382 |
msgid "" |
| 2383 |
"After the aforementioned steps have been performed, the delegatee can create " |
| 2384 |
"child cgroups within the delegated subtree (the cgroup subdirectories and " |
| 2385 |
"the files they contain will be owned by the delegatee) and move processes " |
| 2386 |
"between cgroups in the subtree. If some controllers are present in " |
| 2387 |
"I<dlgt_grp/cgroup.subtree_control>, or the ownership of that file was passed " |
| 2388 |
"to the delegatee, the delegatee can also control the further redistribution " |
| 2389 |
"of the corresponding resources into the delegated subtree." |
| 2390 |
msgstr "" |
| 2391 |
"После выполнения вышеуказанных шагов делегат может создавать подгруппы " |
| 2392 |
"cgroups в рамках делегированного поддерева (подкаталоги cgroup и файлы в них " |
| 2393 |
"будут принадлежать делегату) и перемещать процессы между группами cgroup в " |
| 2394 |
"поддереве. Если в I<dlgt_grp/cgroup.subtree_control> есть контроллеры, или " |
| 2395 |
"право владения этим файлом перешло к делегату, то делегат также может " |
| 2396 |
"управлять дальнейшим распределением соответствующих ресурсов в " |
| 2397 |
"делегированном ему поддереве." |
| 2398 |
|
| 2399 |
#. type: SS |
| 2400 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2401 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2402 |
#, no-wrap |
| 2403 |
msgid "Cgroups v2 delegation: nsdelegate and cgroup namespaces" |
| 2404 |
msgstr "Делегирование cgroups v2: nsdelegate и пространство имён cgroup" |
| 2405 |
|
| 2406 |
#. commit 5136f6365ce3eace5a926e10f16ed2a233db5ba9 |
| 2407 |
#. type: Plain text |
| 2408 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2409 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2410 |
msgid "" |
| 2411 |
"Starting with Linux 4.13, there is a second way to perform cgroup delegation " |
| 2412 |
"in the cgroups v2 hierarchy. This is done by mounting or remounting the " |
| 2413 |
"cgroup v2 filesystem with the I<nsdelegate> mount option. For example, if " |
| 2414 |
"the cgroup v2 filesystem has already been mounted, we can remount it with " |
| 2415 |
"the I<nsdelegate> option as follows:" |
| 2416 |
msgstr "" |
| 2417 |
"Начиная с Linux 4.13 появился второй способ делегирования cgroup в иерархии " |
| 2418 |
"cgroups v2. Этого можно достичь монтированием или перемонтированием файловой " |
| 2419 |
"системы cgroup v2 с параметром монтирования I<nsdelegate>. Например, если " |
| 2420 |
"файловая система cgroup v2 уже смонтирована, то её можно перемонтировать с " |
| 2421 |
"параметром I<nsdelegate> следующим образом:" |
| 2422 |
|
| 2423 |
#. type: Plain text |
| 2424 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2425 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2426 |
#, fuzzy, no-wrap |
| 2427 |
#| msgid "" |
| 2428 |
#| "mount -t cgroup2 -o remount,nsdelegate \\e\n" |
| 2429 |
#| " none /sys/fs/cgroup/unified\n" |
| 2430 |
msgid "" |
| 2431 |
"mount -t cgroup2 -o remount,nsdelegate \\[rs]\n" |
| 2432 |
" none /sys/fs/cgroup/unified\n" |
| 2433 |
msgstr "" |
| 2434 |
"mount -t cgroup2 -o remount,nsdelegate \\e\n" |
| 2435 |
" none /sys/fs/cgroup/unified\n" |
| 2436 |
|
| 2437 |
#. type: Plain text |
| 2438 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2439 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2440 |
msgid "" |
| 2441 |
"The effect of this mount option is to cause cgroup namespaces to " |
| 2442 |
"automatically become delegation boundaries. More specifically, the " |
| 2443 |
"following restrictions apply for processes inside the cgroup namespace:" |
| 2444 |
msgstr "" |
| 2445 |
"Данный параметр монтирования заставляет пространства имён cgroup " |
| 2446 |
"автоматически устанавливать границы делегирования. При этом на процессы " |
| 2447 |
"внутри пространства имён cgroup накладываются следующие ограничения:" |
| 2448 |
|
| 2449 |
#. type: Plain text |
| 2450 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2451 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2452 |
msgid "" |
| 2453 |
"Writes to controller interface files in the root directory of the namespace " |
| 2454 |
"will fail with the error B<EPERM>. Processes inside the cgroup namespace " |
| 2455 |
"can still write to delegatable files in the root directory of the cgroup " |
| 2456 |
"namespace such as I<cgroup.procs> and I<cgroup.subtree_control>, and can " |
| 2457 |
"create subhierarchy underneath the root directory." |
| 2458 |
msgstr "" |
| 2459 |
"Запись в файлы интерфейса к контроллерам в корневом каталоге пространства " |
| 2460 |
"имён завершаются ошибкой B<EPERM>. Процессы внутри пространства имён cgroup " |
| 2461 |
"по-прежнему могут писать в делегированные файлы корневого каталога " |
| 2462 |
"пространства имён cgroup (такие как I<cgroup.procs> и " |
| 2463 |
"I<cgroup.subtree_control>) и могут создавать новые иерархии в корневом " |
| 2464 |
"каталоге." |
| 2465 |
|
| 2466 |
#. type: Plain text |
| 2467 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2468 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2469 |
msgid "" |
| 2470 |
"Attempts to migrate processes across the namespace boundary are denied (with " |
| 2471 |
"the error B<ENOENT>). Processes inside the cgroup namespace can still " |
| 2472 |
"(subject to the containment rules described below) move processes between " |
| 2473 |
"cgroups I<within> the subhierarchy under the namespace root." |
| 2474 |
msgstr "" |
| 2475 |
"Попытки переноса процессов за границу пространства имён пресекаются (с " |
| 2476 |
"ошибкой B<ENOENT>). Процессы внутри пространства имён cgroup по-прежнему " |
| 2477 |
"могут (цель сдерживающих правил описана ниже) перемещать процессы между " |
| 2478 |
"cgroup I<внутри> иерархий корневого каталога." |
| 2479 |
|
| 2480 |
#. type: Plain text |
| 2481 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2482 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2483 |
msgid "" |
| 2484 |
"The ability to define cgroup namespaces as delegation boundaries makes " |
| 2485 |
"cgroup namespaces more useful. To understand why, suppose that we already " |
| 2486 |
"have one cgroup hierarchy that has been delegated to a nonprivileged user, " |
| 2487 |
"I<cecilia>, using the older delegation technique described above. Suppose " |
| 2488 |
"further that I<cecilia> wanted to further delegate a subhierarchy under the " |
| 2489 |
"existing delegated hierarchy. (For example, the delegated hierarchy might " |
| 2490 |
"be associated with an unprivileged container run by I<cecilia>.) Even if a " |
| 2491 |
"cgroup namespace was employed, because both hierarchies are owned by the " |
| 2492 |
"unprivileged user I<cecilia>, the following illegitimate actions could be " |
| 2493 |
"performed:" |
| 2494 |
msgstr "" |
| 2495 |
"Возможность определения пространств имён cgroup для границ делегирования " |
| 2496 |
"делает пространства имён cgroup ещё более полезными. Чтобы понять почему, " |
| 2497 |
"предположим, что у нас уже есть одна иерархия cgroup, которая была " |
| 2498 |
"делегирована непривилегированному пользователю, I<cecilia>, посредством " |
| 2499 |
"старого способа делегирования, описанного выше. Также предположим, что " |
| 2500 |
"I<cecilia> тоже хочет делегировать одну иерархий из имеющихся в " |
| 2501 |
"делегированной иерархии (например, делегированная иерархия может быть " |
| 2502 |
"связана с непривилегированным контейнером, запущенным I<cecilia>). Даже, " |
| 2503 |
"если пространство имён cgroup namespace было передано, так как обе иерархии " |
| 2504 |
"принадлежат непривилегированному пользователю I<cecilia>, могут быть " |
| 2505 |
"выполнены следующие неправомерные действия:" |
| 2506 |
|
| 2507 |
#. type: Plain text |
| 2508 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2509 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2510 |
msgid "" |
| 2511 |
"A process in the inferior hierarchy could change the resource controller " |
| 2512 |
"settings in the root directory of that hierarchy. (These resource " |
| 2513 |
"controller settings are intended to allow control to be exercised from the " |
| 2514 |
"I<parent> cgroup; a process inside the child cgroup should not be allowed to " |
| 2515 |
"modify them.)" |
| 2516 |
msgstr "" |
| 2517 |
"Процесс в нижележащей иерархии может изменять настройки контроллера ресурсов " |
| 2518 |
"в корневом каталоге этой иерархии (предполагается, что данными настройками " |
| 2519 |
"контроллера ресурсов управляют из I<родительской> cgroup; процесс внутри " |
| 2520 |
"дочерней cgroup не должен быть способен изменять их)." |
| 2521 |
|
| 2522 |
#. type: Plain text |
| 2523 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2524 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2525 |
msgid "" |
| 2526 |
"A process inside the inferior hierarchy could move processes into and out of " |
| 2527 |
"the inferior hierarchy if the cgroups in the superior hierarchy were somehow " |
| 2528 |
"visible." |
| 2529 |
msgstr "" |
| 2530 |
"Процесс в нижележащей иерархии может перемещать процессы в и из нижележащей " |
| 2531 |
"иерархии, если cgroup вышестоящей иерархии видима откуда-то ещё." |
| 2532 |
|
| 2533 |
#. type: Plain text |
| 2534 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2535 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2536 |
msgid "" |
| 2537 |
"Employing the I<nsdelegate> mount option prevents both of these " |
| 2538 |
"possibilities." |
| 2539 |
msgstr "" |
| 2540 |
"Использование параметра монтирования I<nsdelegate> предотвращает обе эти " |
| 2541 |
"возможности." |
| 2542 |
|
| 2543 |
#. type: Plain text |
| 2544 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2545 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2546 |
msgid "" |
| 2547 |
"The I<nsdelegate> mount option only has an effect when performed in the " |
| 2548 |
"initial mount namespace; in other mount namespaces, the option is silently " |
| 2549 |
"ignored." |
| 2550 |
msgstr "" |
| 2551 |
"Параметр монтирования I<nsdelegate> действует только, когда применяется к " |
| 2552 |
"начальному пространству имён монтирования; для других пространств имён " |
| 2553 |
"монтирования он игнорируется." |
| 2554 |
|
| 2555 |
#. type: Plain text |
| 2556 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2557 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2558 |
msgid "" |
| 2559 |
"I<Note>: On some systems, B<systemd>(1) automatically mounts the cgroup v2 " |
| 2560 |
"filesystem. In order to experiment with the I<nsdelegate> operation, it may " |
| 2561 |
"be useful to boot the kernel with the following command-line options:" |
| 2562 |
msgstr "" |
| 2563 |
"I<Замечание>: в некоторых системах B<systemd>(1) автоматически монтирует " |
| 2564 |
"файловую систему cgroup v2. Чтобы попробовать работу с I<nsdelegate> , может " |
| 2565 |
"быть полезно загрузить ядро с следующими параметрами командной строки:" |
| 2566 |
|
| 2567 |
#. type: Plain text |
| 2568 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2569 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2570 |
#, no-wrap |
| 2571 |
msgid "cgroup_no_v1=all systemd.legacy_systemd_cgroup_controller\n" |
| 2572 |
msgstr "cgroup_no_v1=all systemd.legacy_systemd_cgroup_controller\n" |
| 2573 |
|
| 2574 |
#. type: Plain text |
| 2575 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2576 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2577 |
msgid "" |
| 2578 |
"These options cause the kernel to boot with the cgroups v1 controllers " |
| 2579 |
"disabled (meaning that the controllers are available in the v2 hierarchy), " |
| 2580 |
"and tells B<systemd>(1) not to mount and use the cgroup v2 hierarchy, so " |
| 2581 |
"that the v2 hierarchy can be manually mounted with the desired options after " |
| 2582 |
"boot-up." |
| 2583 |
msgstr "" |
| 2584 |
"Эти параметры заставляют ядро загружаться с выключенными контроллерами " |
| 2585 |
"cgroups v1 (т. е., контроллеры доступны из иерархии v2) и указывают " |
| 2586 |
"B<systemd>(1) не монтировать и использовать иерархию cgroup v2, таким " |
| 2587 |
"образом позволяя вручную смонтировать иерархию v2 с желаемыми параметрами " |
| 2588 |
"после загрузки." |
| 2589 |
|
| 2590 |
#. type: SS |
| 2591 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2592 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2593 |
#, no-wrap |
| 2594 |
msgid "Cgroup delegation containment rules" |
| 2595 |
msgstr "Сдерживающие правила делегирования cgroup" |
| 2596 |
|
| 2597 |
#. type: Plain text |
| 2598 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2599 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2600 |
msgid "" |
| 2601 |
"Some delegation I<containment rules> ensure that the delegatee can move " |
| 2602 |
"processes between cgroups within the delegated subtree, but can't move " |
| 2603 |
"processes from outside the delegated subtree into the subtree or vice " |
| 2604 |
"versa. A nonprivileged process (i.e., the delegatee) can write the PID of a " |
| 2605 |
"\"target\" process into a I<cgroup.procs> file only if all of the following " |
| 2606 |
"are true:" |
| 2607 |
msgstr "" |
| 2608 |
"Некоторые I<сдерживающие правила> делегирования обеспечивает то, что делегат " |
| 2609 |
"может перемещать процессы в рамках делегированного поддерева, но не сможет " |
| 2610 |
"перемещать процессы извне делегированного поддерева в поддерево и наоборот. " |
| 2611 |
"Непривилегированный процесс (т. е., делегат) может записать PID «целевого» " |
| 2612 |
"процесса в файл I<cgroup.procs> только, если всё следующее верно:" |
| 2613 |
|
| 2614 |
#. type: Plain text |
| 2615 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2616 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2617 |
msgid "" |
| 2618 |
"The writer has write permission on the I<cgroup.procs> file in the " |
| 2619 |
"destination cgroup." |
| 2620 |
msgstr "" |
| 2621 |
"Писатель имеет права на запись в файл I<cgroup.procs> в группе назначения " |
| 2622 |
"cgroup." |
| 2623 |
|
| 2624 |
#. type: Plain text |
| 2625 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2626 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2627 |
msgid "" |
| 2628 |
"The writer has write permission on the I<cgroup.procs> file in the nearest " |
| 2629 |
"common ancestor of the source and destination cgroups. Note that in some " |
| 2630 |
"cases, the nearest common ancestor may be the source or destination cgroup " |
| 2631 |
"itself. This requirement is not enforced for cgroups v1 hierarchies, with " |
| 2632 |
"the consequence that containment in v1 is less strict than in v2. (For " |
| 2633 |
"example, in cgroups v1 the user that owns two distinct delegated " |
| 2634 |
"subhierarchies can move a process between the hierarchies.)" |
| 2635 |
msgstr "" |
| 2636 |
"Писатель имеет права на запись в файл I<cgroup.procs> в ближайшем общем " |
| 2637 |
"предке для cgroups источника и назначения. Заметим, что в некоторых случаях, " |
| 2638 |
"ближайшим общим предком может быть сама cgroup источника или назначения. Это " |
| 2639 |
"требование не выполняется в иерархиях cgroups v1, в следствие чего " |
| 2640 |
"сдерживание в v1 менее ограничительно, чем v2 (например, в cgroups v1 " |
| 2641 |
"пользователь, которому принадлежат две разных делегированных подиерархий, " |
| 2642 |
"может перемещать процесс между этими иерархиями)." |
| 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 |
"If the cgroup v2 filesystem was mounted with the I<nsdelegate> option, the " |
| 2649 |
"writer must be able to see the source and destination cgroups from its " |
| 2650 |
"cgroup namespace." |
| 2651 |
msgstr "" |
| 2652 |
"Если файловая система cgroup v2 смонтирована с параметром I<nsdelegate>, то " |
| 2653 |
"писатель способен видеть cgroup источника и приёмника из своего пространства " |
| 2654 |
"имён cgroup." |
| 2655 |
|
| 2656 |
#. commit 576dd464505fc53d501bb94569db76f220104d28 |
| 2657 |
#. type: Plain text |
| 2658 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2659 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2660 |
msgid "" |
| 2661 |
"In cgroups v1: the effective UID of the writer (i.e., the delegatee) matches " |
| 2662 |
"the real user ID or the saved set-user-ID of the target process. Before " |
| 2663 |
"Linux 4.11, this requirement also applied in cgroups v2 (This was a " |
| 2664 |
"historical requirement inherited from cgroups v1 that was later deemed " |
| 2665 |
"unnecessary, since the other rules suffice for containment in cgroups v2.)" |
| 2666 |
msgstr "" |
| 2667 |
"В cgroups v1: эффективный UID писателя (т. е., делегата) совпадает с " |
| 2668 |
"реальным пользовательским ID или сохранённым set-user-ID процесса " |
| 2669 |
"назначения. До Linux 4.11 это требование также применялось к cgroups v2 (это " |
| 2670 |
"исторически сложившиеся требование, унаследовано от cgroups v1, которое " |
| 2671 |
"позднее сочли ненужным, так как достаточно других сдерживающих правил " |
| 2672 |
"cgroups v2)." |
| 2673 |
|
| 2674 |
#. type: Plain text |
| 2675 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2676 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2677 |
msgid "" |
| 2678 |
"I<Note>: one consequence of these delegation containment rules is that the " |
| 2679 |
"unprivileged delegatee can't place the first process into the delegated " |
| 2680 |
"subtree; instead, the delegater must place the first process (a process " |
| 2681 |
"owned by the delegatee) into the delegated subtree." |
| 2682 |
msgstr "" |
| 2683 |
"I<Замечание>: одним из следствий этих сдерживающих правил является то, что " |
| 2684 |
"непривилегированный делегат не может поместить первый процесс в " |
| 2685 |
"делегированное поддерево; вместо этого делегирующему необходимо поместить " |
| 2686 |
"первый процесс (процесс, принадлежащей делегату) в делегированное поддерево." |
| 2687 |
|
| 2688 |
#. type: SH |
| 2689 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2690 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2691 |
#, no-wrap |
| 2692 |
msgid "CGROUPS VERSION 2 THREAD MODE" |
| 2693 |
msgstr "РЕЖИМ НИТЕЙ CGROUPS ВЕРСИИ 2" |
| 2694 |
|
| 2695 |
#. type: Plain text |
| 2696 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2697 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2698 |
msgid "" |
| 2699 |
"Among the restrictions imposed by cgroups v2 that were not present in " |
| 2700 |
"cgroups v1 are the following:" |
| 2701 |
msgstr "Ограничения, налагаемые cgroups v2, но отсутствующие в cgroups v1:" |
| 2702 |
|
| 2703 |
#. type: Plain text |
| 2704 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2705 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2706 |
msgid "" |
| 2707 |
"I<No thread-granularity control>: all of the threads of a process must be in " |
| 2708 |
"the same cgroup." |
| 2709 |
msgstr "" |
| 2710 |
"I<Нет понитевого управления>: все нити процесса должны быть в одной cgroup." |
| 2711 |
|
| 2712 |
#. type: Plain text |
| 2713 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2714 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2715 |
msgid "" |
| 2716 |
"I<No internal processes>: a cgroup can't both have member processes and " |
| 2717 |
"exercise controllers on child cgroups." |
| 2718 |
msgstr "" |
| 2719 |
"I<Нет внутренних процессов>: cgroup не может иметь одновременно процессов-" |
| 2720 |
"членов и выполняемых контроллеров в дочерних cgroup." |
| 2721 |
|
| 2722 |
#. type: Plain text |
| 2723 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2724 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2725 |
msgid "" |
| 2726 |
"Both of these restrictions were added because the lack of these restrictions " |
| 2727 |
"had caused problems in cgroups v1. In particular, the cgroups v1 ability to " |
| 2728 |
"allow thread-level granularity for cgroup membership made no sense for some " |
| 2729 |
"controllers. (A notable example was the I<memory> controller: since threads " |
| 2730 |
"share an address space, it made no sense to split threads across different " |
| 2731 |
"I<memory> cgroups.)" |
| 2732 |
msgstr "" |
| 2733 |
"Эти ограничения добавлены из-за того, что их отсутствие вызывало проблемы в " |
| 2734 |
"cgroups v1. В частности, возможность понитевого контроля членства в cgroups " |
| 2735 |
"v1 приводило к бессмысленности некоторых контроллеров (особенно это касалось " |
| 2736 |
"контроллера I<memory>: так как нити используют одно адресное пространство, " |
| 2737 |
"нет смысла разделять нити по разным I<memory> cgroup)." |
| 2738 |
|
| 2739 |
#. type: Plain text |
| 2740 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2741 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2742 |
msgid "" |
| 2743 |
"Notwithstanding the initial design decision in cgroups v2, there were use " |
| 2744 |
"cases for certain controllers, notably the I<cpu> controller, for which " |
| 2745 |
"thread-level granularity of control was meaningful and useful. To " |
| 2746 |
"accommodate such use cases, Linux 4.14 added I<thread mode> for cgroups v2." |
| 2747 |
msgstr "" |
| 2748 |
"В первоначальном решении проекта cgroups v2 не учитывалось, что для " |
| 2749 |
"некоторых контроллеров, таких как I<cpu>, было бы важным и полезным " |
| 2750 |
"задействовать понитевое управление. Чтобы приспособиться под такие случаи, в " |
| 2751 |
"Linux 4.14 для cgroups v2 добавлен I<режим нитей>." |
| 2752 |
|
| 2753 |
#. type: Plain text |
| 2754 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2755 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2756 |
msgid "Thread mode allows the following:" |
| 2757 |
msgstr "Режим нитей позволяет следующее:" |
| 2758 |
|
| 2759 |
#. type: Plain text |
| 2760 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2761 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2762 |
msgid "" |
| 2763 |
"The creation of I<threaded subtrees> in which the threads of a process may " |
| 2764 |
"be spread across cgroups inside the tree. (A threaded subtree may contain " |
| 2765 |
"multiple multithreaded processes.)" |
| 2766 |
msgstr "" |
| 2767 |
"Создание I<поддеревьев нитей>, в которых нити процесса могут размещаться по " |
| 2768 |
"нескольким cgroup внутри дерева (поддерево нитей может содержать несколько " |
| 2769 |
"многонитевых процессов)." |
| 2770 |
|
| 2771 |
#. type: Plain text |
| 2772 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2773 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2774 |
msgid "" |
| 2775 |
"The concept of I<threaded controllers>, which can distribute resources " |
| 2776 |
"across the cgroups in a threaded subtree." |
| 2777 |
msgstr "" |
| 2778 |
"Концепцию I<контроллеров нитей>, которые могут распределять ресурсы между " |
| 2779 |
"cgroup в поддереве нитей." |
| 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 "" |
| 2785 |
"A relaxation of the \"no internal processes rule\", so that, within a " |
| 2786 |
"threaded subtree, a cgroup can both contain member threads and exercise " |
| 2787 |
"resource control over child cgroups." |
| 2788 |
msgstr "" |
| 2789 |
"Ослабление «правила отсутствия внутренних процессов», то есть внутри " |
| 2790 |
"поддерева нитей cgroup может одновременно содержать нити и контроль ресурсов " |
| 2791 |
"над дочерними cgroup." |
| 2792 |
|
| 2793 |
#. type: Plain text |
| 2794 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2795 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2796 |
msgid "" |
| 2797 |
"With the addition of thread mode, each nonroot cgroup now contains a new " |
| 2798 |
"file, I<cgroup.type>, that exposes, and in some circumstances can be used to " |
| 2799 |
"change, the \"type\" of a cgroup. This file contains one of the following " |
| 2800 |
"type values:" |
| 2801 |
msgstr "" |
| 2802 |
"Также, в режиме нитей каждая не корневая cgroup теперь содержит новый файл, " |
| 2803 |
"I<cgroup.type>, который отражает и, в некоторых случаях, может " |
| 2804 |
"использоваться для изменения «типа» cgroup. Этот файл содержит одно из " |
| 2805 |
"следующих значений типа:" |
| 2806 |
|
| 2807 |
#. type: TP |
| 2808 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2809 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2810 |
#, no-wrap |
| 2811 |
msgid "I<domain>" |
| 2812 |
msgstr "I<domain>" |
| 2813 |
|
| 2814 |
#. type: Plain text |
| 2815 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2816 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2817 |
msgid "" |
| 2818 |
"This is a normal v2 cgroup that provides process-granularity control. If a " |
| 2819 |
"process is a member of this cgroup, then all threads of the process are (by " |
| 2820 |
"definition) in the same cgroup. This is the default cgroup type, and " |
| 2821 |
"provides the same behavior that was provided for cgroups in the initial " |
| 2822 |
"cgroups v2 implementation." |
| 2823 |
msgstr "" |
| 2824 |
"Обычная cgroup v2, предоставляющая попроцессное управление. Если процесс " |
| 2825 |
"является членом этой cgroup, то все нити процесса (по определению) находятся " |
| 2826 |
"в одной cgroup. Это тип cgroup по умолчанию, предоставляет такое же " |
| 2827 |
"поведение, обеспечиваемое для cgroup начальной реализацией cgroups v2." |
| 2828 |
|
| 2829 |
#. type: TP |
| 2830 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2831 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2832 |
#, no-wrap |
| 2833 |
msgid "I<threaded>" |
| 2834 |
msgstr "I<threaded>" |
| 2835 |
|
| 2836 |
#. type: Plain text |
| 2837 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2838 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2839 |
msgid "" |
| 2840 |
"This cgroup is a member of a threaded subtree. Threads can be added to this " |
| 2841 |
"cgroup, and controllers can be enabled for the cgroup." |
| 2842 |
msgstr "" |
| 2843 |
"Данная cgroup является членом поддерева нитей. В эту cgroup нити могут " |
| 2844 |
"добавляться, а контроллеры cgroup включаться." |
| 2845 |
|
| 2846 |
#. type: TP |
| 2847 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2848 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2849 |
#, no-wrap |
| 2850 |
msgid "I<domain threaded>" |
| 2851 |
msgstr "I<domain threaded>" |
| 2852 |
|
| 2853 |
#. type: Plain text |
| 2854 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2855 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2856 |
msgid "" |
| 2857 |
"This is a domain cgroup that serves as the root of a threaded subtree. This " |
| 2858 |
"cgroup type is also known as \"threaded root\"." |
| 2859 |
msgstr "" |
| 2860 |
"Доменная cgroup, которая служит корнем поддерева нитей. Этот тип cgroup " |
| 2861 |
"также называется «корнем нитей»." |
| 2862 |
|
| 2863 |
#. type: TP |
| 2864 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2865 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2866 |
#, no-wrap |
| 2867 |
msgid "I<domain invalid>" |
| 2868 |
msgstr "I<domain invalid>" |
| 2869 |
|
| 2870 |
#. type: Plain text |
| 2871 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2872 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2873 |
#, fuzzy |
| 2874 |
#| msgid "" |
| 2875 |
#| "This is a cgroup inside a threaded subtree that is in an \"invalid\" " |
| 2876 |
#| "state. Processes can't be added to the cgroup, and controllers can't be " |
| 2877 |
#| "enabled for the cgroup. The only thing that can be done with this cgroup " |
| 2878 |
#| "(other than deleting it) is to convert it to a I<threaded> cgroup by " |
| 2879 |
#| "writing the string I<\"threaded\"> to the I<cgroup.type> file." |
| 2880 |
msgid "" |
| 2881 |
"This is a cgroup inside a threaded subtree that is in an \"invalid\" state. " |
| 2882 |
"Processes can't be added to the cgroup, and controllers can't be enabled for " |
| 2883 |
"the cgroup. The only thing that can be done with this cgroup (other than " |
| 2884 |
"deleting it) is to convert it to a I<threaded> cgroup by writing the string " |
| 2885 |
"I<\\[dq]threaded\\[dq]> to the I<cgroup.type> file." |
| 2886 |
msgstr "" |
| 2887 |
"Эта cgroup находится внутри поддерева нитей в «некорректном» состоянии. В " |
| 2888 |
"cgroup невозможно добавлять процессы, а контроллеры cgroup включать. " |
| 2889 |
"Единственным действием с этой cgroup (помимо удаления) является " |
| 2890 |
"преобразование в группу с типом I<threaded> посредством записи строки " |
| 2891 |
"I<\"threaded\"> в файл I<cgroup.type>." |
| 2892 |
|
| 2893 |
#. type: Plain text |
| 2894 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2895 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2896 |
msgid "" |
| 2897 |
"The rationale for the existence of this \"interim\" type during the creation " |
| 2898 |
"of a threaded subtree (rather than the kernel simply immediately converting " |
| 2899 |
"all cgroups under the threaded root to the type I<threaded>) is to allow " |
| 2900 |
"for possible future extensions to the thread mode model" |
| 2901 |
msgstr "" |
| 2902 |
"Обоснованием сущестования этого «переходного» типа при создании поддерева " |
| 2903 |
"нитей (вместо того, чтобы ядро сразу преобразовывало все cgroup в корне " |
| 2904 |
"нитей в тип I<threaded>) является задел для возможных будущих расширений " |
| 2905 |
"модели режима нитей." |
| 2906 |
|
| 2907 |
#. type: SS |
| 2908 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2909 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2910 |
#, no-wrap |
| 2911 |
msgid "Threaded versus domain controllers" |
| 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 |
"With the addition of threads mode, cgroups v2 now distinguishes two types of " |
| 2919 |
"resource controllers:" |
| 2920 |
msgstr "" |
| 2921 |
"С добавлением режима нитей теперь в cgroups v2 различают два типа " |
| 2922 |
"контроллеров ресурсов:" |
| 2923 |
|
| 2924 |
#. In the kernel source, look for ".threaded[ \t]*= true" in |
| 2925 |
#. initializations of struct cgroup_subsys |
| 2926 |
#. type: Plain text |
| 2927 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2928 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2929 |
msgid "" |
| 2930 |
"I<Threaded> controllers: these controllers support thread-granularity for " |
| 2931 |
"resource control and can be enabled inside threaded subtrees, with the " |
| 2932 |
"result that the corresponding controller-interface files appear inside the " |
| 2933 |
"cgroups in the threaded subtree. As at Linux 4.19, the following " |
| 2934 |
"controllers are threaded: I<cpu>, I<perf_event>, and I<pids>." |
| 2935 |
msgstr "" |
| 2936 |
"Контроллеры I<нитей>: эти контроллеры поддерживают понитевое управление " |
| 2937 |
"ресурсами и могут включаться в поддеревья нитей; в результате появляются " |
| 2938 |
"соответствующие файлы интерфейса контроллера внутри cgroup в поддереве " |
| 2939 |
"нитей. В Linux 4.19 имеются следующие контроллеры нитей: I<cpu>, " |
| 2940 |
"I<perf_event> и I<pids>." |
| 2941 |
|
| 2942 |
#. type: Plain text |
| 2943 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2944 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2945 |
msgid "" |
| 2946 |
"I<Domain> controllers: these controllers support only process granularity " |
| 2947 |
"for resource control. From the perspective of a domain controller, all " |
| 2948 |
"threads of a process are always in the same cgroup. Domain controllers " |
| 2949 |
"can't be enabled inside a threaded subtree." |
| 2950 |
msgstr "" |
| 2951 |
"Контроллеры I<домена>: эти контроллеры поддерживают только попроцессное " |
| 2952 |
"управление ресурсами. С точки зрения контроллера домена все нити процесса " |
| 2953 |
"всегда находятся в одной группе. Контроллеры домена нельзя включить внутри " |
| 2954 |
"поддерева нитей." |
| 2955 |
|
| 2956 |
#. type: SS |
| 2957 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2958 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2959 |
#, no-wrap |
| 2960 |
msgid "Creating a threaded subtree" |
| 2961 |
msgstr "Создание поддерева нитей" |
| 2962 |
|
| 2963 |
#. type: Plain text |
| 2964 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2965 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2966 |
msgid "" |
| 2967 |
"There are two pathways that lead to the creation of a threaded subtree. The " |
| 2968 |
"first pathway proceeds as follows:" |
| 2969 |
msgstr "Существует два способа создания поддерева нитей. Первый:" |
| 2970 |
|
| 2971 |
#. type: IP |
| 2972 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2973 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2974 |
#, no-wrap |
| 2975 |
msgid "(1)" |
| 2976 |
msgstr "(1)" |
| 2977 |
|
| 2978 |
#. type: Plain text |
| 2979 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2980 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2981 |
#, fuzzy |
| 2982 |
#| msgid "" |
| 2983 |
#| "We write the string I<\"threaded\"> to the I<cgroup.type> file of a " |
| 2984 |
#| "cgroup I<y/z> that currently has the type I<domain>. This has the " |
| 2985 |
#| "following effects:" |
| 2986 |
msgid "" |
| 2987 |
"We write the string I<\\[dq]threaded\\[dq]> to the I<cgroup.type> file of a " |
| 2988 |
"cgroup I<y/z> that currently has the type I<domain>. This has the following " |
| 2989 |
"effects:" |
| 2990 |
msgstr "" |
| 2991 |
"Записываем строку I<\"threaded\"> в файл I<cgroup.type> из cgroup I<y/z>, " |
| 2992 |
"которая в этот момент имеет тип I<domain>. При этом происходит следующее:" |
| 2993 |
|
| 2994 |
#. type: Plain text |
| 2995 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 2996 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 2997 |
msgid "The type of the cgroup I<y/z> becomes I<threaded>." |
| 2998 |
msgstr "Типом cgroup I<y/z> становится I<threaded>." |
| 2999 |
|
| 3000 |
#. type: Plain text |
| 3001 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3002 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3003 |
msgid "" |
| 3004 |
"The type of the parent cgroup, I<y>, becomes I<domain threaded>. The parent " |
| 3005 |
"cgroup is the root of a threaded subtree (also known as the \"threaded " |
| 3006 |
"root\")." |
| 3007 |
msgstr "" |
| 3008 |
"Типом родительской cgroup, I<y>, становится I<domain threaded>. Родительская " |
| 3009 |
"cgroup является корнем поддерева нитей (также называемая «корнем нитей»)." |
| 3010 |
|
| 3011 |
#. type: Plain text |
| 3012 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3013 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3014 |
msgid "" |
| 3015 |
"All other cgroups under I<y> that were not already of type I<threaded> " |
| 3016 |
"(because they were inside already existing threaded subtrees under the new " |
| 3017 |
"threaded root) are converted to type I<domain invalid>. Any subsequently " |
| 3018 |
"created cgroups under I<y> will also have the type I<domain invalid>." |
| 3019 |
msgstr "" |
| 3020 |
"Все остальные cgroup в I<y>, которые ещё не относятся к типу I<threaded> " |
| 3021 |
"преобразуются в тип I<domain invalid> (так как они внутри уже существующих " |
| 3022 |
"поддеревьев нитей с новом корне нитей). Все в дальнейшем создаваемые cgroup " |
| 3023 |
"в I<y> также будут иметь тип I<domain invalid>." |
| 3024 |
|
| 3025 |
#. type: IP |
| 3026 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3027 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3028 |
#, no-wrap |
| 3029 |
msgid "(2)" |
| 3030 |
msgstr "(2)" |
| 3031 |
|
| 3032 |
#. type: Plain text |
| 3033 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3034 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3035 |
#, fuzzy |
| 3036 |
#| msgid "" |
| 3037 |
#| "We write the string I<\"threaded\"> to each of the I<domain invalid> " |
| 3038 |
#| "cgroups under I<y>, in order to convert them to the type I<threaded>. As " |
| 3039 |
#| "a consequence of this step, all threads under the threaded root now have " |
| 3040 |
#| "the type I<threaded> and the threaded subtree is now fully usable. The " |
| 3041 |
#| "requirement to write I<\"threaded\"> to each of these cgroups is somewhat " |
| 3042 |
#| "cumbersome, but allows for possible future extensions to the thread-mode " |
| 3043 |
#| "model." |
| 3044 |
msgid "" |
| 3045 |
"We write the string I<\\[dq]threaded\\[dq]> to each of the I<domain invalid> " |
| 3046 |
"cgroups under I<y>, in order to convert them to the type I<threaded>. As a " |
| 3047 |
"consequence of this step, all threads under the threaded root now have the " |
| 3048 |
"type I<threaded> and the threaded subtree is now fully usable. The " |
| 3049 |
"requirement to write I<\\[dq]threaded\\[dq]> to each of these cgroups is " |
| 3050 |
"somewhat cumbersome, but allows for possible future extensions to the thread-" |
| 3051 |
"mode model." |
| 3052 |
msgstr "" |
| 3053 |
"Записываем строку I<\"threaded\"> в каждую cgroup с I<domain invalid> в " |
| 3054 |
"I<y>, чтобы преобразовать их в тип I<threaded>. В результате этого шага все " |
| 3055 |
"нити в корне нитей теперь имеют тип I<threaded> и поддерево нитей теперь " |
| 3056 |
"полностью работоспособно. Требование записи I<\"threaded\"> в каждую такую " |
| 3057 |
"cgroup несколько обременительно, но это позволит расширить модель режима " |
| 3058 |
"нитей в будущем." |
| 3059 |
|
| 3060 |
#. type: Plain text |
| 3061 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3062 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3063 |
msgid "The second way of creating a threaded subtree is as follows:" |
| 3064 |
msgstr "Второй способ создания поддерева нитей:" |
| 3065 |
|
| 3066 |
#. type: Plain text |
| 3067 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3068 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3069 |
#, fuzzy |
| 3070 |
#| msgid "" |
| 3071 |
#| "In an existing cgroup, I<z>, that currently has the type I<domain>, we " |
| 3072 |
#| "(1) enable one or more threaded controllers and (2) make a process a " |
| 3073 |
#| "member of I<z>. (These two steps can be done in either order.) This has " |
| 3074 |
#| "the following consequences:" |
| 3075 |
msgid "" |
| 3076 |
"In an existing cgroup, I<z>, that currently has the type I<domain>, we (1.1) " |
| 3077 |
"enable one or more threaded controllers and (1.2) make a process a member of " |
| 3078 |
"I<z>. (These two steps can be done in either order.) This has the " |
| 3079 |
"following consequences:" |
| 3080 |
msgstr "" |
| 3081 |
"В существующей cgroup, I<z>, которая имеет тип I<domain>: (1) включаем один " |
| 3082 |
"или несколько контроллеров нитей и (2) делаем процесс членом I<z> (эти два " |
| 3083 |
"шага можно выполнять в любом порядке). При этом происходит следующее:" |
| 3084 |
|
| 3085 |
#. type: Plain text |
| 3086 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3087 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3088 |
msgid "The type of I<z> becomes I<domain threaded>." |
| 3089 |
msgstr "Типом I<z> становится I<domain threaded>." |
| 3090 |
|
| 3091 |
#. type: Plain text |
| 3092 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3093 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3094 |
#, fuzzy |
| 3095 |
#| msgid "" |
| 3096 |
#| "All of the descendant cgroups of I<x> that were not already of type " |
| 3097 |
#| "I<threaded> are converted to type I<domain invalid>." |
| 3098 |
msgid "" |
| 3099 |
"All of the descendant cgroups of I<z> that were not already of type " |
| 3100 |
"I<threaded> are converted to type I<domain invalid>." |
| 3101 |
msgstr "" |
| 3102 |
"Все дочерние cgroup I<x>, не имеющие типа I<threaded>, преобразуются в тип " |
| 3103 |
"I<domain invalid>." |
| 3104 |
|
| 3105 |
#. type: Plain text |
| 3106 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3107 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3108 |
#, fuzzy |
| 3109 |
#| msgid "" |
| 3110 |
#| "As before, we make the threaded subtree usable by writing the string " |
| 3111 |
#| "I<\"threaded\"> to each of the I<domain invalid> cgroups under I<y>, in " |
| 3112 |
#| "order to convert them to the type I<threaded>." |
| 3113 |
msgid "" |
| 3114 |
"As before, we make the threaded subtree usable by writing the string I<\\" |
| 3115 |
"[dq]threaded\\[dq]> to each of the I<domain invalid> cgroups under I<z>, in " |
| 3116 |
"order to convert them to the type I<threaded>." |
| 3117 |
msgstr "" |
| 3118 |
"Как и ранее, делаем работоспособным поддерево нитей записывая строку " |
| 3119 |
"I<\"threaded\"> в каждую cgroup с I<domain invalid> в I<y>, чтобы " |
| 3120 |
"преобразовать их в тип I<threaded>." |
| 3121 |
|
| 3122 |
#. type: Plain text |
| 3123 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 3124 |
#: opensuse-tumbleweed |
| 3125 |
#, fuzzy |
| 3126 |
#| msgid "" |
| 3127 |
#| "One of the consequences of the above pathways to creating a threaded " |
| 3128 |
#| "subtree is that the threaded root cgroup can be a parent only to " |
| 3129 |
#| "I<threaded> (and I<domain invalid>) cgroups. The threaded root cgroup " |
| 3130 |
#| "can't be a parent of a I<domain> cgroups, and a I<threaded> cgroup can't " |
| 3131 |
#| "have a sibling that is a I<domain> cgroup." |
| 3132 |
msgid "" |
| 3133 |
"One of the consequences of the above pathways to creating a threaded subtree " |
| 3134 |
"is that the threaded root cgroup can be a parent only to I<threaded> (and " |
| 3135 |
"I<domain invalid>) cgroups. The threaded root cgroup can't be a parent of " |
| 3136 |
"a I<domain> cgroup, and a I<threaded> cgroup can't have a sibling that is a " |
| 3137 |
"I<domain> cgroup." |
| 3138 |
msgstr "" |
| 3139 |
"Следствием одного из этих путей создания поддерева нитей является то, что " |
| 3140 |
"cgroup корня нитей может быть родителем только cgroup с типом I<threaded> (и " |
| 3141 |
"I<domain invalid>). cgroup корня нитей не может быть родителем cgroup с " |
| 3142 |
"типом I<domain> и cgroup с типом I<threaded> не может быть на одном уровне с " |
| 3143 |
"cgroup с типом I<domain>." |
| 3144 |
|
| 3145 |
#. type: SS |
| 3146 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3147 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3148 |
#, no-wrap |
| 3149 |
msgid "Using a threaded subtree" |
| 3150 |
msgstr "Использование поддерева нитей" |
| 3151 |
|
| 3152 |
#. type: Plain text |
| 3153 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3154 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3155 |
msgid "" |
| 3156 |
"Within a threaded subtree, threaded controllers can be enabled in each " |
| 3157 |
"subgroup whose type has been changed to I<threaded>; upon doing so, the " |
| 3158 |
"corresponding controller interface files appear in the children of that " |
| 3159 |
"cgroup." |
| 3160 |
msgstr "" |
| 3161 |
"В поддереве нитей можно включать контроллеры нитей для каждой подгруппы, чей " |
| 3162 |
"тип был изменён на I<threaded>; после того, как это сделано, файлы " |
| 3163 |
"интерфейса соответствующего контроллера появятся в дочерних cgroup." |
| 3164 |
|
| 3165 |
#. type: Plain text |
| 3166 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3167 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3168 |
msgid "" |
| 3169 |
"A process can be moved into a threaded subtree by writing its PID to the " |
| 3170 |
"I<cgroup.procs> file in one of the cgroups inside the tree. This has the " |
| 3171 |
"effect of making all of the threads in the process members of the " |
| 3172 |
"corresponding cgroup and makes the process a member of the threaded " |
| 3173 |
"subtree. The threads of the process can then be spread across the threaded " |
| 3174 |
"subtree by writing their thread IDs (see B<gettid>(2)) to the " |
| 3175 |
"I<cgroup.threads> files in different cgroups inside the subtree. The " |
| 3176 |
"threads of a process must all reside in the same threaded subtree." |
| 3177 |
msgstr "" |
| 3178 |
"Процесс можно перемещать в поддерево нитей посредством записи его PID в файл " |
| 3179 |
"I<cgroup.procs> одной из cgroup внутри дерева. В результате все нити " |
| 3180 |
"процесса становятся членами соответствующей cgroup,а процесс — членом " |
| 3181 |
"поддерева нитей. После этого нити процесса можно размещать по поддереву " |
| 3182 |
"нитей посредством записи ID нитей (смотрите B<gettid>(2)) в файлы " |
| 3183 |
"I<cgroup.threads> различных cgroup внутри поддерева. Все нити процесса " |
| 3184 |
"должны быть расположены в одном поддереве нитей." |
| 3185 |
|
| 3186 |
#. type: Plain text |
| 3187 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3188 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3189 |
msgid "" |
| 3190 |
"As with writing to I<cgroup.procs>, some containment rules apply when " |
| 3191 |
"writing to the I<cgroup.threads> file:" |
| 3192 |
msgstr "" |
| 3193 |
"Как и при записи в I<cgroup.procs>, при записи в файл I<cgroup.threads> " |
| 3194 |
"накладываются некоторые сдерживающие правила:" |
| 3195 |
|
| 3196 |
#. type: Plain text |
| 3197 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3198 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3199 |
msgid "" |
| 3200 |
"The writer must have write permission on the cgroup.threads file in the " |
| 3201 |
"destination cgroup." |
| 3202 |
msgstr "" |
| 3203 |
"Писатель должен иметь права на запись в файл cgroup.threads целевой cgroup." |
| 3204 |
|
| 3205 |
#. type: Plain text |
| 3206 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3207 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3208 |
msgid "" |
| 3209 |
"The writer must have write permission on the I<cgroup.procs> file in the " |
| 3210 |
"common ancestor of the source and destination cgroups. (In some cases, the " |
| 3211 |
"common ancestor may be the source or destination cgroup itself.)" |
| 3212 |
msgstr "" |
| 3213 |
"Писатель должен иметь права на запись в файл I<cgroup.procs> в общем предке " |
| 3214 |
"для cgroups источника и назначения (в некоторых случаях, общим предком может " |
| 3215 |
"быть сама cgroup источника или назначения)." |
| 3216 |
|
| 3217 |
#. type: Plain text |
| 3218 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3219 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3220 |
msgid "" |
| 3221 |
"The source and destination cgroups must be in the same threaded subtree. " |
| 3222 |
"(Outside a threaded subtree, an attempt to move a thread by writing its " |
| 3223 |
"thread ID to the I<cgroup.threads> file in a different I<domain> cgroup " |
| 3224 |
"fails with the error B<EOPNOTSUPP>.)" |
| 3225 |
msgstr "" |
| 3226 |
"Целевая и cgroup назначения должны быть в одном поддереве нитей (попытка " |
| 3227 |
"переместить нить вне поддерева нитей посредством записи ID этой нити в файл " |
| 3228 |
"I<cgroup.threads> другой cgroup с типом I<domain> завершится ошибкой " |
| 3229 |
"B<EOPNOTSUPP>)." |
| 3230 |
|
| 3231 |
#. type: Plain text |
| 3232 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3233 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3234 |
msgid "" |
| 3235 |
"The I<cgroup.threads> file is present in each cgroup (including I<domain> " |
| 3236 |
"cgroups) and can be read in order to discover the set of threads that is " |
| 3237 |
"present in the cgroup. The set of thread IDs obtained when reading this " |
| 3238 |
"file is not guaranteed to be ordered or free of duplicates." |
| 3239 |
msgstr "" |
| 3240 |
"Файл I<cgroup.threads> существует в каждой cgroup (включая cgroup c типом " |
| 3241 |
"I<domain>) и может быть прочитан для нахождения набора нитей, представленных " |
| 3242 |
"в группе. Для набора ID нитей, получаемых при чтении этого файла, не " |
| 3243 |
"гарантируется порядок и отсутствие повторов." |
| 3244 |
|
| 3245 |
#. type: Plain text |
| 3246 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3247 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3248 |
msgid "" |
| 3249 |
"The I<cgroup.procs> file in the threaded root shows the PIDs of all " |
| 3250 |
"processes that are members of the threaded subtree. The I<cgroup.procs> " |
| 3251 |
"files in the other cgroups in the subtree are not readable." |
| 3252 |
msgstr "" |
| 3253 |
"Файл I<cgroup.procs> в корне нитей отражает PID всех процессов, являющихся " |
| 3254 |
"членами поддерева нитей. Файлы I<cgroup.procs> других cgroup в поддереве " |
| 3255 |
"недоступны для чтения." |
| 3256 |
|
| 3257 |
#. type: Plain text |
| 3258 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3259 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3260 |
msgid "" |
| 3261 |
"Domain controllers can't be enabled in a threaded subtree; no controller-" |
| 3262 |
"interface files appear inside the cgroups underneath the threaded root. " |
| 3263 |
"From the point of view of a domain controller, threaded subtrees are " |
| 3264 |
"invisible: a multithreaded process inside a threaded subtree appears to a " |
| 3265 |
"domain controller as a process that resides in the threaded root cgroup." |
| 3266 |
msgstr "" |
| 3267 |
"Доменные контроллеры невозможно включить в поддереве нитей; в cgroup ниже " |
| 3268 |
"корня нитей отсутствуют интерфейсные файлы контроллера. С точки зрения " |
| 3269 |
"доменного контроллера поддеревья нитей невидимы: многонитевые процессы " |
| 3270 |
"внутри поддерева нитей видятся доменным контроллером как процесс, " |
| 3271 |
"расположенный в cgroup корня нитей." |
| 3272 |
|
| 3273 |
#. type: Plain text |
| 3274 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3275 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3276 |
msgid "" |
| 3277 |
"Within a threaded subtree, the \"no internal processes\" rule does not " |
| 3278 |
"apply: a cgroup can both contain member processes (or thread) and exercise " |
| 3279 |
"controllers on child cgroups." |
| 3280 |
msgstr "" |
| 3281 |
"В поддереве нитей правило «нет внутренних процессов» не применяется: cgroup " |
| 3282 |
"может иметь одновременно процессы-члены (или нить) и выполняемые контроллеры " |
| 3283 |
"в дочерних cgroup." |
| 3284 |
|
| 3285 |
#. type: SS |
| 3286 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3287 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3288 |
#, no-wrap |
| 3289 |
msgid "Rules for writing to cgroup.type and creating threaded subtrees" |
| 3290 |
msgstr "Правила записи в cgroup.type и создание поддеревьев нитей" |
| 3291 |
|
| 3292 |
#. type: Plain text |
| 3293 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3294 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3295 |
msgid "A number of rules apply when writing to the I<cgroup.type> file:" |
| 3296 |
msgstr "При записи в файл I<cgroup.type> накладывается несколько правил:" |
| 3297 |
|
| 3298 |
#. type: Plain text |
| 3299 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3300 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3301 |
#, fuzzy |
| 3302 |
#| msgid "" |
| 3303 |
#| "Only the string I<\"threaded\"> may be written. In other words, the only " |
| 3304 |
#| "explicit transition that is possible is to convert a I<domain> cgroup to " |
| 3305 |
#| "type I<threaded>." |
| 3306 |
msgid "" |
| 3307 |
"Only the string I<\\[dq]threaded\\[dq]> may be written. In other words, the " |
| 3308 |
"only explicit transition that is possible is to convert a I<domain> cgroup " |
| 3309 |
"to type I<threaded>." |
| 3310 |
msgstr "" |
| 3311 |
"Можно записать только строку I<\"threaded\">. Другими словами, единственный " |
| 3312 |
"возможный переход это преобразование I<domain> cgroup к типу I<threaded>." |
| 3313 |
|
| 3314 |
#. type: Plain text |
| 3315 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3316 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3317 |
#, fuzzy |
| 3318 |
#| msgid "" |
| 3319 |
#| "The effect of writing I<\"threaded\"> depends on the current value in " |
| 3320 |
#| "I<cgroup.type>, as follows:" |
| 3321 |
msgid "" |
| 3322 |
"The effect of writing I<\\[dq]threaded\\[dq]> depends on the current value " |
| 3323 |
"in I<cgroup.type>, as follows:" |
| 3324 |
msgstr "" |
| 3325 |
"Последствия от записи I<\"threaded\"> зависит от текущего значения в " |
| 3326 |
"I<cgroup.type>:" |
| 3327 |
|
| 3328 |
#. type: Plain text |
| 3329 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3330 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3331 |
msgid "" |
| 3332 |
"I<domain> or I<domain threaded>: start the creation of a threaded subtree " |
| 3333 |
"(whose root is the parent of this cgroup) via the first of the pathways " |
| 3334 |
"described above;" |
| 3335 |
msgstr "" |
| 3336 |
"I<domain> или I<domain threaded>: начинается создание поддерева нитей " |
| 3337 |
"(корнем будет родитель этой cgroup) посредством первого способа, описанного " |
| 3338 |
"выше;" |
| 3339 |
|
| 3340 |
#. type: Plain text |
| 3341 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3342 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3343 |
msgid "" |
| 3344 |
"I<domain\\ invalid>: convert this cgroup (which is inside a threaded " |
| 3345 |
"subtree) to a usable (i.e., I<threaded>) state;" |
| 3346 |
msgstr "" |
| 3347 |
"I<domain\\ invalid>: эта cgroup (находящаяся внутри поддерева нитей) " |
| 3348 |
"переводится в работоспособное состояние (т. е., I<threaded>);" |
| 3349 |
|
| 3350 |
#. type: Plain text |
| 3351 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3352 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3353 |
msgid "I<threaded>: no effect (a \"no-op\")." |
| 3354 |
msgstr "I<threaded>: ничего не происходит («нет действия»)." |
| 3355 |
|
| 3356 |
#. type: Plain text |
| 3357 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3358 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3359 |
msgid "" |
| 3360 |
"We can't write to a I<cgroup.type> file if the parent's type is I<domain " |
| 3361 |
"invalid>. In other words, the cgroups of a threaded subtree must be " |
| 3362 |
"converted to the I<threaded> state in a top-down manner." |
| 3363 |
msgstr "" |
| 3364 |
"Нельзя писать в файл I<cgroup.type>, если тип родителя I<domain invalid>. " |
| 3365 |
"Иначе говоря, все cgroup поддерева нитей должны быть преобразованы в " |
| 3366 |
"состояние I<threaded> по нисходящей." |
| 3367 |
|
| 3368 |
#. type: Plain text |
| 3369 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3370 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3371 |
msgid "" |
| 3372 |
"There are also some constraints that must be satisfied in order to create a " |
| 3373 |
"threaded subtree rooted at the cgroup I<x>:" |
| 3374 |
msgstr "" |
| 3375 |
"Также для создания поддерева нитей с корнем cgroup I<x> требуется выполнить " |
| 3376 |
"несколько условий:" |
| 3377 |
|
| 3378 |
#. type: Plain text |
| 3379 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3380 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3381 |
msgid "" |
| 3382 |
"There can be no member processes in the descendant cgroups of I<x>. (The " |
| 3383 |
"cgroup I<x> can itself have member processes.)" |
| 3384 |
msgstr "" |
| 3385 |
"Не должно быть процессов-членов в дочерних cgroup I<x> (сама cgroup I<x> " |
| 3386 |
"может иметь процессы-члены)." |
| 3387 |
|
| 3388 |
#. type: Plain text |
| 3389 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3390 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3391 |
msgid "" |
| 3392 |
"No domain controllers may be enabled in I<x>'s I<cgroup.subtree_control> " |
| 3393 |
"file." |
| 3394 |
msgstr "" |
| 3395 |
"Не должно быть включённых доменных контроллеров для I<x> в файле " |
| 3396 |
"I<cgroup.subtree_control>." |
| 3397 |
|
| 3398 |
#. type: Plain text |
| 3399 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3400 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3401 |
#, fuzzy |
| 3402 |
#| msgid "" |
| 3403 |
#| "If any of the above constraints is violated, then an attempt to write " |
| 3404 |
#| "I<\"threaded\"> to a I<cgroup.type> file fails with the error B<ENOTSUP>." |
| 3405 |
msgid "" |
| 3406 |
"If any of the above constraints is violated, then an attempt to write I<\\" |
| 3407 |
"[dq]threaded\\[dq]> to a I<cgroup.type> file fails with the error B<ENOTSUP>." |
| 3408 |
msgstr "" |
| 3409 |
"Если какое-либо из этих ограничений нарушено, то попытка записи " |
| 3410 |
"I<\"threaded\"> в файл I<cgroup.type> завершится ошибкой B<ENOTSUP>." |
| 3411 |
|
| 3412 |
#. type: SS |
| 3413 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3414 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3415 |
#, fuzzy, no-wrap |
| 3416 |
#| msgid "The \"domain threaded\" cgroup type" |
| 3417 |
msgid "The \\[dq]domain threaded\\[dq] cgroup type" |
| 3418 |
msgstr "Тип cgroup «domain threaded»" |
| 3419 |
|
| 3420 |
#. type: Plain text |
| 3421 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3422 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3423 |
msgid "" |
| 3424 |
"According to the pathways described above, the type of a cgroup can change " |
| 3425 |
"to I<domain threaded> in either of the following cases:" |
| 3426 |
msgstr "" |
| 3427 |
"Согласно способам, описанным выше, тип cgroup можно измениться на I<domain " |
| 3428 |
"threaded> в следующих случаях:" |
| 3429 |
|
| 3430 |
#. type: Plain text |
| 3431 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3432 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3433 |
#, fuzzy |
| 3434 |
#| msgid "The string I<\"threaded\"> is written to a child cgroup." |
| 3435 |
msgid "The string I<\\[dq]threaded\\[dq]> is written to a child cgroup." |
| 3436 |
msgstr "В дочернюю cgroup записывается строка I<\"threaded\">." |
| 3437 |
|
| 3438 |
#. type: Plain text |
| 3439 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3440 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3441 |
msgid "" |
| 3442 |
"A threaded controller is enabled inside the cgroup and a process is made a " |
| 3443 |
"member of the cgroup." |
| 3444 |
msgstr "Внутри cgroup включён контроллер нитей и процесс стал членом cgroup." |
| 3445 |
|
| 3446 |
#. type: Plain text |
| 3447 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3448 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3449 |
#, fuzzy |
| 3450 |
#| msgid "" |
| 3451 |
#| "A I<domain threaded> cgroup, I<x>, can revert to the type I<domain> if " |
| 3452 |
#| "the above conditions no longer hold true\\(emthat is, if all I<threaded> " |
| 3453 |
#| "child cgroups of I<x> are removed and either I<x> no longer has threaded " |
| 3454 |
#| "controllers enabled or no longer has member processes." |
| 3455 |
msgid "" |
| 3456 |
"A I<domain threaded> cgroup, I<x>, can revert to the type I<domain> if the " |
| 3457 |
"above conditions no longer hold true\\[em]that is, if all I<threaded> child " |
| 3458 |
"cgroups of I<x> are removed and either I<x> no longer has threaded " |
| 3459 |
"controllers enabled or no longer has member processes." |
| 3460 |
msgstr "" |
| 3461 |
"Cgroup с типом I<domain threaded>, I<x>, может снова стать I<domain>, если " |
| 3462 |
"перечисленные выше условия не соблюдаются — то есть, если удалены все " |
| 3463 |
"потомки cgroup I<x> с типом I<threaded>, у I<x> выключены все контроллеры " |
| 3464 |
"нитей или больше нет процессов-членов." |
| 3465 |
|
| 3466 |
#. type: Plain text |
| 3467 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3468 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3469 |
msgid "When a I<domain threaded> cgroup I<x> reverts to the type I<domain>:" |
| 3470 |
msgstr "" |
| 3471 |
"Когда cgroup I<x> с типом I<domain threaded> возвращается к типу I<domain>:" |
| 3472 |
|
| 3473 |
#. type: Plain text |
| 3474 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3475 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3476 |
msgid "" |
| 3477 |
"All I<domain invalid> descendants of I<x> that are not in lower-level " |
| 3478 |
"threaded subtrees revert to the type I<domain>." |
| 3479 |
msgstr "" |
| 3480 |
"Все потомки I<x> с I<domain invalid>, находящиеся не ниже уровня " |
| 3481 |
"поддеревьев нитей, получают тип I<domain>." |
| 3482 |
|
| 3483 |
#. type: Plain text |
| 3484 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3485 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3486 |
msgid "" |
| 3487 |
"The root cgroups in any lower-level threaded subtrees revert to the type " |
| 3488 |
"I<domain threaded>." |
| 3489 |
msgstr "" |
| 3490 |
"Корневым cgroup, находящимся ниже поддеревьев нитей возвращается тип " |
| 3491 |
"I<domain threaded>." |
| 3492 |
|
| 3493 |
#. type: SS |
| 3494 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3495 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3496 |
#, no-wrap |
| 3497 |
msgid "Exceptions for the root cgroup" |
| 3498 |
msgstr "Исключения для корневой cgroup" |
| 3499 |
|
| 3500 |
#. type: Plain text |
| 3501 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3502 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3503 |
#, fuzzy |
| 3504 |
#| msgid "" |
| 3505 |
#| "The root cgroup of the v2 hierarchy is treated exceptionally: it can be " |
| 3506 |
#| "the parent of both I<domain> and I<threaded> cgroups. If the string " |
| 3507 |
#| "I<\"threaded\"> is written to the I<cgroup.type> file of one of the " |
| 3508 |
#| "children of the root cgroup, then" |
| 3509 |
msgid "" |
| 3510 |
"The root cgroup of the v2 hierarchy is treated exceptionally: it can be the " |
| 3511 |
"parent of both I<domain> and I<threaded> cgroups. If the string I<\\" |
| 3512 |
"[dq]threaded\\[dq]> is written to the I<cgroup.type> file of one of the " |
| 3513 |
"children of the root cgroup, then" |
| 3514 |
msgstr "" |
| 3515 |
"Корневая cgroup иерархии v2 рассматривается отдельно: она может быть " |
| 3516 |
"родителем cgroup сразу обоих типов: I<domain> и I<threaded>. Если строка " |
| 3517 |
"I<\"threaded\"> записывается в файл I<cgroup.type> одного из потомков " |
| 3518 |
"корневой cgroup, то" |
| 3519 |
|
| 3520 |
#. type: Plain text |
| 3521 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3522 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3523 |
msgid "The type of that cgroup becomes I<threaded>." |
| 3524 |
msgstr "Типом этой cgroup становится I<threaded>." |
| 3525 |
|
| 3526 |
#. type: Plain text |
| 3527 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3528 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3529 |
msgid "" |
| 3530 |
"The type of any descendants of that cgroup that are not part of lower-level " |
| 3531 |
"threaded subtrees changes to I<domain invalid>." |
| 3532 |
msgstr "" |
| 3533 |
"Тип всех потомков этой cgroup, не являющихся частью уровня ниже поддеревьев " |
| 3534 |
"нитей, изменяется на I<domain invalid>." |
| 3535 |
|
| 3536 |
#. type: Plain text |
| 3537 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3538 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3539 |
msgid "" |
| 3540 |
"Note that in this case, there is no cgroup whose type becomes I<domain " |
| 3541 |
"threaded>. (Notionally, the root cgroup can be considered as the threaded " |
| 3542 |
"root for the cgroup whose type was changed to I<threaded>.)" |
| 3543 |
msgstr "" |
| 3544 |
"Заметим, что в этом случае нет cgroup, чей тип стал I<domain threaded> (в " |
| 3545 |
"принципе, корневая cgroup может рассматриваться как корень нитей для cgroup, " |
| 3546 |
"чей тип был изменён на I<threaded>)." |
| 3547 |
|
| 3548 |
#. type: Plain text |
| 3549 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3550 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3551 |
msgid "" |
| 3552 |
"The aim of this exceptional treatment for the root cgroup is to allow a " |
| 3553 |
"threaded cgroup that employs the I<cpu> controller to be placed as high as " |
| 3554 |
"possible in the hierarchy, so as to minimize the (small) cost of traversing " |
| 3555 |
"the cgroup hierarchy." |
| 3556 |
msgstr "" |
| 3557 |
"Данное исключение для корневой cgroup позволяет cgroup нитей, запускающей " |
| 3558 |
"контроллер I<cpu>, быть помещённой выше всех насколько возможно в иерархии, " |
| 3559 |
"для того, чтобы минимизировать ущерб (маленький) от обхода иерархии cgroup." |
| 3560 |
|
| 3561 |
#. type: SS |
| 3562 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3563 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3564 |
#, fuzzy, no-wrap |
| 3565 |
#| msgid "The cgroups v2 \"cpu\" controller and realtime threads" |
| 3566 |
msgid "The cgroups v2 \\[dq]cpu\\[dq] controller and realtime threads" |
| 3567 |
msgstr "Контроллер «cpu» cgroups v2 и нити реального времени" |
| 3568 |
|
| 3569 |
#. type: Plain text |
| 3570 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3571 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3572 |
#, fuzzy |
| 3573 |
#| msgid "" |
| 3574 |
#| "As at Linux 4.19, the cgroups v2 I<cpu> controller does not support " |
| 3575 |
#| "control of realtime threads (specifically threads scheduled under any of " |
| 3576 |
#| "the policies B<SCHED_FIFO>, B<SCHED_RR>, described B<SCHED_DEADLINE>; see " |
| 3577 |
#| "B<sched>(7)). Therefore, the I<cpu> controller can be enabled in the " |
| 3578 |
#| "root cgroup only if all realtime threads are in the root cgroup. (If " |
| 3579 |
#| "there are realtime threads in nonroot cgroups, then a B<write>(2) of the " |
| 3580 |
#| "string I<\"+cpu\"> to the I<cgroup.subtree_control> file fails with the " |
| 3581 |
#| "error B<EINVAL>.)" |
| 3582 |
msgid "" |
| 3583 |
"As at Linux 4.19, the cgroups v2 I<cpu> controller does not support control " |
| 3584 |
"of realtime threads (specifically threads scheduled under any of the " |
| 3585 |
"policies B<SCHED_FIFO>, B<SCHED_RR>, described B<SCHED_DEADLINE>; see " |
| 3586 |
"B<sched>(7)). Therefore, the I<cpu> controller can be enabled in the root " |
| 3587 |
"cgroup only if all realtime threads are in the root cgroup. (If there are " |
| 3588 |
"realtime threads in nonroot cgroups, then a B<write>(2) of the string I<\\" |
| 3589 |
"[dq]+cpu\\[dq]> to the I<cgroup.subtree_control> file fails with the error " |
| 3590 |
"B<EINVAL>.)" |
| 3591 |
msgstr "" |
| 3592 |
"Начиная с Linux 4.19, контроллер cgroups v2 I<cpu> не поддерживает " |
| 3593 |
"управление нитями реального времени(нити, запланированные к выполнению " |
| 3594 |
"планировщиками B<SCHED_FIFO>, B<SCHED_RR>, B<SCHED_DEADLINE>; смотрите " |
| 3595 |
"B<sched>(7)). Поэтому контроллер I<cpu> можно включить в корневую cgroup " |
| 3596 |
"только, если все нити реального времени находятся в корневой cgroup (если " |
| 3597 |
"есть нити реального времени вне корневой cgroups, то запись (B<write>(2)) " |
| 3598 |
"строки I<\"+cpu\"> в файл I<cgroup.subtree_control> завершится ошибкой " |
| 3599 |
"B<EINVAL>)." |
| 3600 |
|
| 3601 |
#. type: Plain text |
| 3602 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3603 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3604 |
msgid "" |
| 3605 |
"On some systems, B<systemd>(1) places certain realtime threads in nonroot " |
| 3606 |
"cgroups in the v2 hierarchy. On such systems, these threads must first be " |
| 3607 |
"moved to the root cgroup before the I<cpu> controller can be enabled." |
| 3608 |
msgstr "" |
| 3609 |
"В некоторых системах B<systemd>(1) помещает определённые нити реального " |
| 3610 |
"времени в некорневую cgroups иерархии v2. В таких системах такие нити должны " |
| 3611 |
"помещаться раньше в корневую cgroup, до включения контроллера I<cpu>." |
| 3612 |
|
| 3613 |
#. type: SH |
| 3614 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3615 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3616 |
#, no-wrap |
| 3617 |
msgid "ERRORS" |
| 3618 |
msgstr "ОШИБКИ" |
| 3619 |
|
| 3620 |
#. type: Plain text |
| 3621 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3622 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3623 |
msgid "The following errors can occur for B<mount>(2):" |
| 3624 |
msgstr "Следующие ошибки могут возникать при B<mount>(2):" |
| 3625 |
|
| 3626 |
#. type: TP |
| 3627 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3628 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3629 |
#, no-wrap |
| 3630 |
msgid "B<EBUSY>" |
| 3631 |
msgstr "B<EBUSY>" |
| 3632 |
|
| 3633 |
#. type: Plain text |
| 3634 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3635 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3636 |
msgid "" |
| 3637 |
"An attempt to mount a cgroup version 1 filesystem specified neither the " |
| 3638 |
"I<name=> option (to mount a named hierarchy) nor a controller name (or " |
| 3639 |
"I<all>)." |
| 3640 |
msgstr "" |
| 3641 |
"При монтировании файловой системы cgroup версии 1 не указан параметр " |
| 3642 |
"I<name=> (для монтирования именованной иерархии) или имя контроллера (или " |
| 3643 |
"I<all>)." |
| 3644 |
|
| 3645 |
#. type: SH |
| 3646 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3647 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3648 |
#, no-wrap |
| 3649 |
msgid "NOTES" |
| 3650 |
msgstr "ПРИМЕЧАНИЯ" |
| 3651 |
|
| 3652 |
#. type: Plain text |
| 3653 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3654 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3655 |
msgid "" |
| 3656 |
"A child process created via B<fork>(2) inherits its parent's cgroup " |
| 3657 |
"memberships. A process's cgroup memberships are preserved across " |
| 3658 |
"B<execve>(2)." |
| 3659 |
msgstr "" |
| 3660 |
"Дочерний процесс, созданный B<fork>(2), наследует членство родителя в " |
| 3661 |
"cgroup. Членство в cgroup сохраняется при B<execve>(2)." |
| 3662 |
|
| 3663 |
#. type: Plain text |
| 3664 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3665 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3666 |
msgid "" |
| 3667 |
"The B<clone3>(2) B<CLONE_INTO_CGROUP> flag can be used to create a child " |
| 3668 |
"process that begins its life in a different version 2 cgroup from the parent " |
| 3669 |
"process." |
| 3670 |
msgstr "" |
| 3671 |
|
| 3672 |
#. type: SS |
| 3673 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3674 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3675 |
#, no-wrap |
| 3676 |
msgid "/proc files" |
| 3677 |
msgstr "Файлы в /proc" |
| 3678 |
|
| 3679 |
#. type: TP |
| 3680 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3681 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3682 |
#, no-wrap |
| 3683 |
msgid "I</proc/cgroups> (since Linux 2.6.24)" |
| 3684 |
msgstr "I</proc/cgroups> (начиная с Linux 2.6.24)" |
| 3685 |
|
| 3686 |
#. type: Plain text |
| 3687 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3688 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3689 |
msgid "" |
| 3690 |
"This file contains information about the controllers that are compiled into " |
| 3691 |
"the kernel. An example of the contents of this file (reformatted for " |
| 3692 |
"readability) is the following:" |
| 3693 |
msgstr "" |
| 3694 |
"В этом файле содержится информация о контроллерах, с которыми было собрано " |
| 3695 |
"ядро. Пример содержимого файла (переформатирован для читабельности):" |
| 3696 |
|
| 3697 |
#. type: Plain text |
| 3698 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3699 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3700 |
#, no-wrap |
| 3701 |
msgid "" |
| 3702 |
"#subsys_name hierarchy num_cgroups enabled\n" |
| 3703 |
"cpuset 4 1 1\n" |
| 3704 |
"cpu 8 1 1\n" |
| 3705 |
"cpuacct 8 1 1\n" |
| 3706 |
"blkio 6 1 1\n" |
| 3707 |
"memory 3 1 1\n" |
| 3708 |
"devices 10 84 1\n" |
| 3709 |
"freezer 7 1 1\n" |
| 3710 |
"net_cls 9 1 1\n" |
| 3711 |
"perf_event 5 1 1\n" |
| 3712 |
"net_prio 9 1 1\n" |
| 3713 |
"hugetlb 0 1 0\n" |
| 3714 |
"pids 2 1 1\n" |
| 3715 |
msgstr "" |
| 3716 |
"#subsys_name hierarchy num_cgroups enabled\n" |
| 3717 |
"cpuset 4 1 1\n" |
| 3718 |
"cpu 8 1 1\n" |
| 3719 |
"cpuacct 8 1 1\n" |
| 3720 |
"blkio 6 1 1\n" |
| 3721 |
"memory 3 1 1\n" |
| 3722 |
"devices 10 84 1\n" |
| 3723 |
"freezer 7 1 1\n" |
| 3724 |
"net_cls 9 1 1\n" |
| 3725 |
"perf_event 5 1 1\n" |
| 3726 |
"net_prio 9 1 1\n" |
| 3727 |
"hugetlb 0 1 0\n" |
| 3728 |
"pids 2 1 1\n" |
| 3729 |
|
| 3730 |
#. type: Plain text |
| 3731 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3732 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3733 |
msgid "The fields in this file are, from left to right:" |
| 3734 |
msgstr "Поля файла, слева направо:" |
| 3735 |
|
| 3736 |
#. type: IP |
| 3737 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3738 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3739 |
#, no-wrap |
| 3740 |
msgid "[1]" |
| 3741 |
msgstr "[1]" |
| 3742 |
|
| 3743 |
#. type: Plain text |
| 3744 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3745 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3746 |
msgid "The name of the controller." |
| 3747 |
msgstr "Имя контроллера." |
| 3748 |
|
| 3749 |
#. type: IP |
| 3750 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3751 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3752 |
#, no-wrap |
| 3753 |
msgid "[2]" |
| 3754 |
msgstr "[2]" |
| 3755 |
|
| 3756 |
#. type: Plain text |
| 3757 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3758 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3759 |
msgid "" |
| 3760 |
"The unique ID of the cgroup hierarchy on which this controller is mounted. " |
| 3761 |
"If multiple cgroups v1 controllers are bound to the same hierarchy, then " |
| 3762 |
"each will show the same hierarchy ID in this field. The value in this field " |
| 3763 |
"will be 0 if:" |
| 3764 |
msgstr "" |
| 3765 |
"Уникальный ID иерархии cgroup, на которой смонтирован контроллер. Если к " |
| 3766 |
"одной иерархии привязано несколько контроллеров cgroups v1, то для каждого в " |
| 3767 |
"этом поле будет показан одинаковый ID иерархии. Значение поля равно 0, если:" |
| 3768 |
|
| 3769 |
#. type: Plain text |
| 3770 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3771 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3772 |
msgid "the controller is not mounted on a cgroups v1 hierarchy;" |
| 3773 |
msgstr "контроллер не смонтирован на иерархию cgroups v1;" |
| 3774 |
|
| 3775 |
#. type: Plain text |
| 3776 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3777 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3778 |
msgid "the controller is bound to the cgroups v2 single unified hierarchy; or" |
| 3779 |
msgstr "контроллер привязан к унифицированной иерархии cgroups v2; или" |
| 3780 |
|
| 3781 |
#. type: Plain text |
| 3782 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3783 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3784 |
msgid "the controller is disabled (see below)." |
| 3785 |
msgstr "контроллер отключён (смотрите ниже)." |
| 3786 |
|
| 3787 |
#. type: IP |
| 3788 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3789 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3790 |
#, no-wrap |
| 3791 |
msgid "[3]" |
| 3792 |
msgstr "[3]" |
| 3793 |
|
| 3794 |
#. type: Plain text |
| 3795 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3796 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3797 |
msgid "The number of control groups in this hierarchy using this controller." |
| 3798 |
msgstr "" |
| 3799 |
"Количество контролируемых групп в этой иерархии, использующих этот " |
| 3800 |
"контроллер." |
| 3801 |
|
| 3802 |
#. type: IP |
| 3803 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3804 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3805 |
#, no-wrap |
| 3806 |
msgid "[4]" |
| 3807 |
msgstr "[4]" |
| 3808 |
|
| 3809 |
#. type: Plain text |
| 3810 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3811 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3812 |
msgid "" |
| 3813 |
"This field contains the value 1 if this controller is enabled, or 0 if it " |
| 3814 |
"has been disabled (via the I<cgroup_disable> kernel command-line boot " |
| 3815 |
"parameter)." |
| 3816 |
msgstr "" |
| 3817 |
"В этом поле содержится значение 1, если этот контроллер включён, или 0, если " |
| 3818 |
"он выключен (с помощью параметра I<cgroup_disable> командной строки загрузки " |
| 3819 |
"ядра)." |
| 3820 |
|
| 3821 |
#. type: TP |
| 3822 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3823 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3824 |
#, no-wrap |
| 3825 |
msgid "I</proc/>pidI</cgroup> (since Linux 2.6.24)" |
| 3826 |
msgstr "I</proc/>pidI</cgroup> (начиная с Linux 2.6.24)" |
| 3827 |
|
| 3828 |
#. type: Plain text |
| 3829 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3830 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3831 |
msgid "" |
| 3832 |
"This file describes control groups to which the process with the " |
| 3833 |
"corresponding PID belongs. The displayed information differs for cgroups " |
| 3834 |
"version 1 and version 2 hierarchies." |
| 3835 |
msgstr "" |
| 3836 |
"Этот файл описывает управляемые группы, которым принадлежит процесс с " |
| 3837 |
"соответствующим PID. Отображаемая информация отличается для иерархий cgroups " |
| 3838 |
"версии 1 и 2." |
| 3839 |
|
| 3840 |
#. type: Plain text |
| 3841 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3842 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3843 |
msgid "" |
| 3844 |
"For each cgroup hierarchy of which the process is a member, there is one " |
| 3845 |
"entry containing three colon-separated fields:" |
| 3846 |
msgstr "" |
| 3847 |
"Для каждой иерархии cgroup, членом которой является процесс, существует одна " |
| 3848 |
"запись, состоящая из трёх полей через двоеточие:" |
| 3849 |
|
| 3850 |
#. type: Plain text |
| 3851 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3852 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3853 |
#, no-wrap |
| 3854 |
msgid "hierarchy-ID:controller-list:cgroup-path\n" |
| 3855 |
msgstr "ID иерархии:список контроллеров:путь cgroup\n" |
| 3856 |
|
| 3857 |
#. type: Plain text |
| 3858 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3859 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3860 |
msgid "For example:" |
| 3861 |
msgstr "Пример:" |
| 3862 |
|
| 3863 |
#. type: Plain text |
| 3864 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3865 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3866 |
#, no-wrap |
| 3867 |
msgid "5:cpuacct,cpu,cpuset:/daemons\n" |
| 3868 |
msgstr "5:cpuacct,cpu,cpuset:/daemons\n" |
| 3869 |
|
| 3870 |
#. type: Plain text |
| 3871 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3872 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3873 |
msgid "The colon-separated fields are, from left to right:" |
| 3874 |
msgstr "Поля, разделяемые двоеточием, слева направо:" |
| 3875 |
|
| 3876 |
#. type: Plain text |
| 3877 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3878 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3879 |
msgid "" |
| 3880 |
"For cgroups version 1 hierarchies, this field contains a unique hierarchy ID " |
| 3881 |
"number that can be matched to a hierarchy ID in I</proc/cgroups>. For the " |
| 3882 |
"cgroups version 2 hierarchy, this field contains the value 0." |
| 3883 |
msgstr "" |
| 3884 |
"Для иерархии cgroups версии 1 это поле содержит уникальный ID номер " |
| 3885 |
"иерархии, который может совпадать с ID иерархии в I</proc/cgroups>. Для " |
| 3886 |
"иерархии cgroups версии 2 это поле содержит значение 0." |
| 3887 |
|
| 3888 |
#. type: Plain text |
| 3889 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3890 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3891 |
msgid "" |
| 3892 |
"For cgroups version 1 hierarchies, this field contains a comma-separated " |
| 3893 |
"list of the controllers bound to the hierarchy. For the cgroups version 2 " |
| 3894 |
"hierarchy, this field is empty." |
| 3895 |
msgstr "" |
| 3896 |
"Для иерархии cgroups версии 1 это поле содержит список контроллеров, " |
| 3897 |
"привязанных к иерархии, перечисленных через запятую. Для иерархии cgroups " |
| 3898 |
"версии 2 это поле пусто." |
| 3899 |
|
| 3900 |
#. type: Plain text |
| 3901 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3902 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3903 |
msgid "" |
| 3904 |
"This field contains the pathname of the control group in the hierarchy to " |
| 3905 |
"which the process belongs. This pathname is relative to the mount point of " |
| 3906 |
"the hierarchy." |
| 3907 |
msgstr "" |
| 3908 |
"Это поле содержит путь управляемой группы в иерархии, которой принадлежит " |
| 3909 |
"процесс. Путь является относительным точки монтирования иерархии." |
| 3910 |
|
| 3911 |
#. type: SS |
| 3912 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3913 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3914 |
#, no-wrap |
| 3915 |
msgid "/sys/kernel/cgroup files" |
| 3916 |
msgstr "Файлы /sys/kernel/cgroup" |
| 3917 |
|
| 3918 |
#. type: TP |
| 3919 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3920 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3921 |
#, no-wrap |
| 3922 |
msgid "I</sys/kernel/cgroup/delegate> (since Linux 4.15)" |
| 3923 |
msgstr "I</sys/kernel/cgroup/delegate> (начиная с Linux 4.15)" |
| 3924 |
|
| 3925 |
#. commit 01ee6cfb1483fe57c9cbd8e73817dfbf9bacffd3 |
| 3926 |
#. type: Plain text |
| 3927 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3928 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3929 |
msgid "" |
| 3930 |
"This file exports a list of the cgroups v2 files (one per line) that are " |
| 3931 |
"delegatable (i.e., whose ownership should be changed to the user ID of the " |
| 3932 |
"delegatee). In the future, the set of delegatable files may change or grow, " |
| 3933 |
"and this file provides a way for the kernel to inform user-space " |
| 3934 |
"applications of which files must be delegated. As at Linux 4.15, one sees " |
| 3935 |
"the following when inspecting this file:" |
| 3936 |
msgstr "" |
| 3937 |
"Этот файл экспортирует список файлов cgroups v2 (один на строку), которые " |
| 3938 |
"можно делегировать (т. е., у которых можно изменить владельца на " |
| 3939 |
"пользовательских ID делегата). В будущем, наборов доступных для " |
| 3940 |
"делегирования файлов может измениться или вырасти, а этот файл предоставляет " |
| 3941 |
"способ, которым ядро информирует приложения пользовательского пространства о " |
| 3942 |
"необходимых для делегирования файлах. В Linux 4.15 в этом файле можно " |
| 3943 |
"увидеть следующее:" |
| 3944 |
|
| 3945 |
#. type: Plain text |
| 3946 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 3947 |
#: opensuse-tumbleweed |
| 3948 |
#, fuzzy, no-wrap |
| 3949 |
#| msgid "" |
| 3950 |
#| "$ B<cat /sys/kernel/cgroup/delegate>\n" |
| 3951 |
#| "cgroup.procs\n" |
| 3952 |
#| "cgroup.subtree_control\n" |
| 3953 |
#| "cgroup.threads\n" |
| 3954 |
msgid "" |
| 3955 |
"$B< cat /sys/kernel/cgroup/delegate>\n" |
| 3956 |
"cgroup.procs\n" |
| 3957 |
"cgroup.subtree_control\n" |
| 3958 |
"cgroup.threads\n" |
| 3959 |
msgstr "" |
| 3960 |
"$ B<cat /sys/kernel/cgroup/delegate>\n" |
| 3961 |
"cgroup.procs\n" |
| 3962 |
"cgroup.subtree_control\n" |
| 3963 |
"cgroup.threads\n" |
| 3964 |
|
| 3965 |
#. type: TP |
| 3966 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3967 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3968 |
#, no-wrap |
| 3969 |
msgid "I</sys/kernel/cgroup/features> (since Linux 4.15)" |
| 3970 |
msgstr "I</sys/kernel/cgroup/features> (начиная с Linux 4.15)" |
| 3971 |
|
| 3972 |
#. commit 5f2e673405b742be64e7c3604ed4ed3ac14f35ce |
| 3973 |
#. type: Plain text |
| 3974 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 3975 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 3976 |
msgid "" |
| 3977 |
"Over time, the set of cgroups v2 features that are provided by the kernel " |
| 3978 |
"may change or grow, or some features may not be enabled by default. This " |
| 3979 |
"file provides a way for user-space applications to discover what features " |
| 3980 |
"the running kernel supports and has enabled. Features are listed one per " |
| 3981 |
"line:" |
| 3982 |
msgstr "" |
| 3983 |
"Со временем набор возможностей cgroups v2, предоставляемых ядром, может " |
| 3984 |
"измениться или вырасти, или некоторые возможности по умолчанию могут быть " |
| 3985 |
"отключены. Этот файл предоставляет способ, которым приложения " |
| 3986 |
"пользовательского пространства могут узнать о том, какие возможности " |
| 3987 |
"поддерживает работающее ядро и какие из них включены. Возможности " |
| 3988 |
"перечисляются по одной на строку:" |
| 3989 |
|
| 3990 |
#. type: Plain text |
| 3991 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 3992 |
#: opensuse-tumbleweed |
| 3993 |
#, fuzzy, no-wrap |
| 3994 |
#| msgid "" |
| 3995 |
#| "$ B<cat /sys/kernel/cgroup/features>\n" |
| 3996 |
#| "nsdelegate\n" |
| 3997 |
msgid "" |
| 3998 |
"$B< cat /sys/kernel/cgroup/features>\n" |
| 3999 |
"nsdelegate\n" |
| 4000 |
"memory_localevents\n" |
| 4001 |
msgstr "" |
| 4002 |
"$ B<cat /sys/kernel/cgroup/features>\n" |
| 4003 |
"nsdelegate\n" |
| 4004 |
|
| 4005 |
#. type: Plain text |
| 4006 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 4007 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 4008 |
msgid "The entries that can appear in this file are:" |
| 4009 |
msgstr "В этом файле может появляться следующее:" |
| 4010 |
|
| 4011 |
#. type: Plain text |
| 4012 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 4013 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 4014 |
#, fuzzy |
| 4015 |
#| msgid "The kernel supports the I<nsdelegate> mount option." |
| 4016 |
msgid "The kernel supports the I<memory_localevents> mount option." |
| 4017 |
msgstr "Поддержка параметра монтирования I<nsdelegate> ядром." |
| 4018 |
|
| 4019 |
#. type: Plain text |
| 4020 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 4021 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 4022 |
msgid "The kernel supports the I<nsdelegate> mount option." |
| 4023 |
msgstr "Поддержка параметра монтирования I<nsdelegate> ядром." |
| 4024 |
|
| 4025 |
#. type: TP |
| 4026 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 4027 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 4028 |
#, fuzzy, no-wrap |
| 4029 |
#| msgid "I<memory> (since Linux 4.5)" |
| 4030 |
msgid "I<memory_recursiveprot> (since Linux 5.7)" |
| 4031 |
msgstr "I<memory> (начиная с Linux 4.5)" |
| 4032 |
|
| 4033 |
#. commit 8a931f801340c2be10552c7b5622d5f4852f3a36 |
| 4034 |
#. type: Plain text |
| 4035 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 4036 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 4037 |
#, fuzzy |
| 4038 |
#| msgid "The kernel supports the I<nsdelegate> mount option." |
| 4039 |
msgid "The kernel supports the I<memory_recursiveprot> mount option." |
| 4040 |
msgstr "Поддержка параметра монтирования I<nsdelegate> ядром." |
| 4041 |
|
| 4042 |
#. type: SH |
| 4043 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 4044 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 4045 |
#, no-wrap |
| 4046 |
msgid "SEE ALSO" |
| 4047 |
msgstr "СМОТРИТЕ ТАКЖЕ" |
| 4048 |
|
| 4049 |
#. type: Plain text |
| 4050 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 4051 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 4052 |
msgid "" |
| 4053 |
"B<prlimit>(1), B<systemd>(1), B<systemd-cgls>(1), B<systemd-cgtop>(1), " |
| 4054 |
"B<clone>(2), B<ioprio_set>(2), B<perf_event_open>(2), B<setrlimit>(2), " |
| 4055 |
"B<cgroup_namespaces>(7), B<cpuset>(7), B<namespaces>(7), B<sched>(7), " |
| 4056 |
"B<user_namespaces>(7)" |
| 4057 |
msgstr "" |
| 4058 |
"B<prlimit>(1), B<systemd>(1), B<systemd-cgls>(1), B<systemd-cgtop>(1), " |
| 4059 |
"B<clone>(2), B<ioprio_set>(2), B<perf_event_open>(2), B<setrlimit>(2), " |
| 4060 |
"B<cgroup_namespaces>(7), B<cpuset>(7), B<namespaces>(7), B<sched>(7), " |
| 4061 |
"B<user_namespaces>(7)" |
| 4062 |
|
| 4063 |
#. type: Plain text |
| 4064 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 4065 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 4066 |
#, fuzzy |
| 4067 |
#| msgid "" |
| 4068 |
#| "Further information can be found in the kernel source file " |
| 4069 |
#| "I<Documentation/cgroup-v1/pids.txt>." |
| 4070 |
msgid "The kernel source file I<Documentation/admin-guide/cgroup-v2.rst>." |
| 4071 |
msgstr "" |
| 4072 |
"Дополнительную информацию смотрите в файле исходного кода ядра " |
| 4073 |
"I<Documentation/cgroup-v1/pids.txt>." |
| 4074 |
|
| 4075 |
#. type: TH |
| 4076 |
#: debian-trixie |
| 4077 |
#, no-wrap |
| 4078 |
msgid "2024-06-15" |
| 4079 |
msgstr "15 июня 2024 г." |
| 4080 |
|
| 4081 |
#. type: TH |
| 4082 |
#: debian-trixie |
| 4083 |
#, no-wrap |
| 4084 |
msgid "Linux man-pages 6.9.1" |
| 4085 |
msgstr "Страницы руководства Linux 6.9.1" |
| 4086 |
|
| 4087 |
#. type: Plain text |
| 4088 |
#: debian-trixie fedora-44 fedora-rawhide |
| 4089 |
#, fuzzy |
| 4090 |
#| msgid "" |
| 4091 |
#| "The initial release of the cgroups implementation was in Linux 2.6.24. " |
| 4092 |
#| "Over time, various cgroup controllers have been added to allow the " |
| 4093 |
#| "management of various types of resources. However, the development of " |
| 4094 |
#| "these controllers was largely uncoordinated, with the result that many " |
| 4095 |
#| "inconsistencies arose between controllers and management of the cgroup " |
| 4096 |
#| "hierarchies became rather complex. (A longer description of these " |
| 4097 |
#| "problems can be found in the kernel source file I<Documentation/cgroup-" |
| 4098 |
#| "v2.txt>.)" |
| 4099 |
msgid "" |
| 4100 |
"The initial release of the cgroups implementation was in Linux 2.6.24. Over " |
| 4101 |
"time, various cgroup controllers have been added to allow the management of " |
| 4102 |
"various types of resources. However, the development of these controllers " |
| 4103 |
"was largely uncoordinated, with the result that many inconsistencies arose " |
| 4104 |
"between controllers and management of the cgroup hierarchies became rather " |
| 4105 |
"complex. A longer description of these problems can be found in the kernel " |
| 4106 |
"source file I<Documentation/admin-guide/cgroup-v2.rst> (or I<Documentation/" |
| 4107 |
"cgroup-v2.txt> in Linux 4.17 and earlier)." |
| 4108 |
msgstr "" |
| 4109 |
"Впервые реализация cgroup появилась в Linux 2.6.24. Постепенно добавлялись " |
| 4110 |
"различные контроллеры cgroup, позволяющие управлять различными типами " |
| 4111 |
"ресурсов. Однако, разработка этих контроллеров была, по большей части, не " |
| 4112 |
"скоординированной, что привело к \tнесогласованности между контроллерами, и " |
| 4113 |
"управление иерархиями cgroup стало очень сложным (расширенное описание " |
| 4114 |
"проблем можно найти в файле исходного кода ядра I<Documentation/cgroup-" |
| 4115 |
"v2.txt>)." |
| 4116 |
|
| 4117 |
#. type: Plain text |
| 4118 |
#: debian-trixie |
| 4119 |
#, fuzzy |
| 4120 |
#| msgid "" |
| 4121 |
#| "It is not possible to mount the same controller against multiple cgroup " |
| 4122 |
#| "hierarchies. For example, it is not possible to mount both the I<cpu> " |
| 4123 |
#| "and I<cpuacct> controllers against one hierarchy, and to mount the I<cpu> " |
| 4124 |
#| "controller alone against another hierarchy. It is possible to create " |
| 4125 |
#| "multiple mount points with exactly the same set of comounted " |
| 4126 |
#| "controllers. However, in this case all that results is multiple mount " |
| 4127 |
#| "points providing a view of the same hierarchy." |
| 4128 |
msgid "" |
| 4129 |
"It is not possible to mount the same controller against multiple cgroup " |
| 4130 |
"hierarchies. For example, it is not possible to mount both the I<cpu> and " |
| 4131 |
"I<cpuacct> controllers against one hierarchy, and to mount the I<cpu> " |
| 4132 |
"controller alone against another hierarchy. It is possible to create " |
| 4133 |
"multiple mount with exactly the same set of comounted controllers. However, " |
| 4134 |
"in this case all that results is multiple mount points providing a view of " |
| 4135 |
"the same hierarchy." |
| 4136 |
msgstr "" |
| 4137 |
"Невозможно смонтировать один и тот же контроллер в несколько иерархий " |
| 4138 |
"cgroup. Например, невозможно смонтировать контроллеры I<cpu> и I<cpuacct> в " |
| 4139 |
"одну иерархию и смонтировать только контроллер I<cpu> в другую. Возможно " |
| 4140 |
"создать несколько точек монтирования с полностью одинаковым набором " |
| 4141 |
"одновременно смонтированных контроллеров. Однако в этом случае получается " |
| 4142 |
"только несколько точек монтирования, представляющих одну иерархию." |
| 4143 |
|
| 4144 |
#. type: TP |
| 4145 |
#: debian-trixie fedora-44 fedora-rawhide |
| 4146 |
#, no-wrap |
| 4147 |
msgid "I<cpu> (since Linux 2.6.24; B<CONFIG_CGROUP_SCHED>)" |
| 4148 |
msgstr "I<cpu> (начиная с Linux 2.6.24; B<CONFIG_CGROUP_SCHED>)" |
| 4149 |
|
| 4150 |
#. type: Plain text |
| 4151 |
#: debian-trixie fedora-44 fedora-rawhide |
| 4152 |
#, fuzzy |
| 4153 |
#| msgid "" |
| 4154 |
#| "Cgroups can be guaranteed a minimum number of \"CPU shares\" when a " |
| 4155 |
#| "system is busy. This does not limit a cgroup's CPU usage if the CPUs are " |
| 4156 |
#| "not busy. For further information, see I<Documentation/scheduler/sched-" |
| 4157 |
#| "design-CFS.txt>." |
| 4158 |
msgid "" |
| 4159 |
"Cgroups can be guaranteed a minimum number of \"CPU shares\" when a system " |
| 4160 |
"is busy. This does not limit a cgroup's CPU usage if the CPUs are not " |
| 4161 |
"busy. For further information, see I<Documentation/scheduler/sched-design-" |
| 4162 |
"CFS.rst> (or I<Documentation/scheduler/sched-design-CFS.txt> in Linux 5.2 " |
| 4163 |
"and earlier)." |
| 4164 |
msgstr "" |
| 4165 |
"Cgroups может гарантироваться минимальное количество «общих ЦП» в занятой " |
| 4166 |
"системе. Это значение не ограничивает использование ЦП cgroup, если ЦП не " |
| 4167 |
"заняты. Дополнительную информацию смотрите в I<Documentation/scheduler/sched-" |
| 4168 |
"design-CFS.txt>." |
| 4169 |
|
| 4170 |
#. type: Plain text |
| 4171 |
#: debian-trixie fedora-44 fedora-rawhide |
| 4172 |
#, fuzzy |
| 4173 |
#| msgid "" |
| 4174 |
#| "In Linux 3.2, this controller was extended to provide CPU \"bandwidth\" " |
| 4175 |
#| "control. If the kernel is configured with B<CONFIG_CFS_BANDWIDTH>, then " |
| 4176 |
#| "within each scheduling period (defined via a file in the cgroup " |
| 4177 |
#| "directory), it is possible to define an upper limit on the CPU time " |
| 4178 |
#| "allocated to the processes in a cgroup. This upper limit applies even if " |
| 4179 |
#| "there is no other competition for the CPU. Further information can be " |
| 4180 |
#| "found in the kernel source file I<Documentation/scheduler/sched-bwc.txt>." |
| 4181 |
msgid "" |
| 4182 |
"In Linux 3.2, this controller was extended to provide CPU \"bandwidth\" " |
| 4183 |
"control. If the kernel is configured with B<CONFIG_CFS_BANDWIDTH>, then " |
| 4184 |
"within each scheduling period (defined via a file in the cgroup directory), " |
| 4185 |
"it is possible to define an upper limit on the CPU time allocated to the " |
| 4186 |
"processes in a cgroup. This upper limit applies even if there is no other " |
| 4187 |
"competition for the CPU. Further information can be found in the kernel " |
| 4188 |
"source file I<Documentation/scheduler/sched-bwc.rst> (or I<Documentation/" |
| 4189 |
"scheduler/sched-bwc.txt> in Linux 5.2 and earlier)." |
| 4190 |
msgstr "" |
| 4191 |
"В Linux 3.2 в этот контроллер было добавлено управление «полосы пропускания» " |
| 4192 |
"ЦП. Если ядро собрано с параметром B<CONFIG_CFS_BANDWIDTH>, то внутри " |
| 4193 |
"каждого диапазона планирования (определяемого через файл в каталоге cgroup) " |
| 4194 |
"процессам в cgroup возможно задать верхнее ограничение выделяемого времени " |
| 4195 |
"ЦП. Данное ограничение учитывается даже, если ЦП не занят. Дополнительную " |
| 4196 |
"информацию смотрите в файле исходного кода ядра I<Documentation/scheduler/" |
| 4197 |
"sched-bwc.txt>." |
| 4198 |
|
| 4199 |
#. type: TP |
| 4200 |
#: debian-trixie fedora-44 fedora-rawhide |
| 4201 |
#, no-wrap |
| 4202 |
msgid "I<cpuacct> (since Linux 2.6.24; B<CONFIG_CGROUP_CPUACCT>)" |
| 4203 |
msgstr "I<cpuacct> (начиная с Linux 2.6.24; B<CONFIG_CGROUP_CPUACCT>)" |
| 4204 |
|
| 4205 |
#. type: Plain text |
| 4206 |
#: debian-trixie fedora-44 fedora-rawhide |
| 4207 |
#, fuzzy |
| 4208 |
#| msgid "" |
| 4209 |
#| "Further information can be found in the kernel source file " |
| 4210 |
#| "I<Documentation/cgroup-v1/cpuacct.txt>." |
| 4211 |
msgid "" |
| 4212 |
"Further information can be found in the kernel source file I<Documentation/" |
| 4213 |
"admin-guide/cgroup-v1/cpuacct.rst> (or I<Documentation/cgroup-v1/" |
| 4214 |
"cpuacct.txt> in Linux 5.2 and earlier)." |
| 4215 |
msgstr "" |
| 4216 |
"Дополнительную информацию смотрите в файле исходного кода ядра " |
| 4217 |
"I<Documentation/cgroup-v1/cpuacct.txt>." |
| 4218 |
|
| 4219 |
#. type: TP |
| 4220 |
#: debian-trixie fedora-44 fedora-rawhide |
| 4221 |
#, no-wrap |
| 4222 |
msgid "I<cpuset> (since Linux 2.6.24; B<CONFIG_CPUSETS>)" |
| 4223 |
msgstr "I<cpuset> (начиная с Linux 2.6.24; B<CONFIG_CPUSETS>)" |
| 4224 |
|
| 4225 |
#. type: Plain text |
| 4226 |
#: debian-trixie fedora-44 fedora-rawhide |
| 4227 |
#, fuzzy |
| 4228 |
#| msgid "" |
| 4229 |
#| "Further information can be found in the kernel source file " |
| 4230 |
#| "I<Documentation/cgroup-v1/cpusets.txt>." |
| 4231 |
msgid "" |
| 4232 |
"Further information can be found in the kernel source file I<Documentation/" |
| 4233 |
"admin-guide/cgroup-v1/cpusets.rst> (or I<Documentation/cgroup-v1/" |
| 4234 |
"cpusets.txt> in Linux 5.2 and earlier)." |
| 4235 |
msgstr "" |
| 4236 |
"Дополнительную информацию смотрите в файле исходного кода ядра " |
| 4237 |
"I<Documentation/cgroup-v1/cpusets.txt>." |
| 4238 |
|
| 4239 |
#. type: TP |
| 4240 |
#: debian-trixie fedora-44 fedora-rawhide |
| 4241 |
#, no-wrap |
| 4242 |
msgid "I<memory> (since Linux 2.6.25; B<CONFIG_MEMCG>)" |
| 4243 |
msgstr "I<memory> (начиная с Linux 2.6.25; B<CONFIG_MEMCG>)" |
| 4244 |
|
| 4245 |
#. type: Plain text |
| 4246 |
#: debian-trixie fedora-44 fedora-rawhide |
| 4247 |
#, fuzzy |
| 4248 |
#| msgid "" |
| 4249 |
#| "Further information can be found in the kernel source file " |
| 4250 |
#| "I<Documentation/cgroup-v1/memory.txt>." |
| 4251 |
msgid "" |
| 4252 |
"Further information can be found in the kernel source file I<Documentation/" |
| 4253 |
"admin-guide/cgroup-v1/memory.rst> (or I<Documentation/cgroup-v1/memory.txt> " |
| 4254 |
"in Linux 5.2 and earlier)." |
| 4255 |
msgstr "" |
| 4256 |
"Дополнительную информацию смотрите в файле исходного кода ядра " |
| 4257 |
"I<Documentation/cgroup-v1/memory.txt>." |
| 4258 |
|
| 4259 |
#. type: TP |
| 4260 |
#: debian-trixie fedora-44 fedora-rawhide |
| 4261 |
#, no-wrap |
| 4262 |
msgid "I<devices> (since Linux 2.6.26; B<CONFIG_CGROUP_DEVICE>)" |
| 4263 |
msgstr "I<devices> (начиная с Linux 2.6.26; B<CONFIG_CGROUP_DEVICE>)" |
| 4264 |
|
| 4265 |
#. type: Plain text |
| 4266 |
#: debian-trixie fedora-44 fedora-rawhide |
| 4267 |
#, fuzzy |
| 4268 |
#| msgid "" |
| 4269 |
#| "Further information can be found in the kernel source file " |
| 4270 |
#| "I<Documentation/cgroup-v1/devices.txt>." |
| 4271 |
msgid "" |
| 4272 |
"Further information can be found in the kernel source file I<Documentation/" |
| 4273 |
"admin-guide/cgroup-v1/devices.rst> (or I<Documentation/cgroup-v1/" |
| 4274 |
"devices.txt> in Linux 5.2 and earlier)." |
| 4275 |
msgstr "" |
| 4276 |
"Дополнительную информацию смотрите в файле исходного кода ядра " |
| 4277 |
"I<Documentation/cgroup-v1/devices.txt>." |
| 4278 |
|
| 4279 |
#. type: TP |
| 4280 |
#: debian-trixie fedora-44 fedora-rawhide |
| 4281 |
#, no-wrap |
| 4282 |
msgid "I<freezer> (since Linux 2.6.28; B<CONFIG_CGROUP_FREEZER>)" |
| 4283 |
msgstr "I<freezer> (начиная с Linux 2.6.28; B<CONFIG_CGROUP_FREEZER>)" |
| 4284 |
|
| 4285 |
#. type: Plain text |
| 4286 |
#: debian-trixie fedora-44 fedora-rawhide |
| 4287 |
#, fuzzy |
| 4288 |
#| msgid "" |
| 4289 |
#| "Further information can be found in the kernel source file " |
| 4290 |
#| "I<Documentation/cgroup-v1/freezer-subsystem.txt>." |
| 4291 |
msgid "" |
| 4292 |
"Further information can be found in the kernel source file I<Documentation/" |
| 4293 |
"admin-guide/cgroup-v1/freezer-subsystem.rst> (or I<Documentation/cgroup-v1/" |
| 4294 |
"freezer-subsystem.txt> in Linux 5.2 and earlier)." |
| 4295 |
msgstr "" |
| 4296 |
"Дополнительную информацию смотрите в файле исходного кода ядра " |
| 4297 |
"I<Documentation/cgroup-v1/freezer-subsystem.txt>." |
| 4298 |
|
| 4299 |
#. type: TP |
| 4300 |
#: debian-trixie fedora-44 fedora-rawhide |
| 4301 |
#, no-wrap |
| 4302 |
msgid "I<net_cls> (since Linux 2.6.29; B<CONFIG_CGROUP_NET_CLASSID>)" |
| 4303 |
msgstr "I<net_cls> (начиная с Linux 2.6.29; B<CONFIG_CGROUP_NET_CLASSID>)" |
| 4304 |
|
| 4305 |
#. type: Plain text |
| 4306 |
#: debian-trixie fedora-44 fedora-rawhide |
| 4307 |
#, fuzzy |
| 4308 |
#| msgid "" |
| 4309 |
#| "Further information can be found in the kernel source file " |
| 4310 |
#| "I<Documentation/cgroup-v1/net_cls.txt>." |
| 4311 |
msgid "" |
| 4312 |
"Further information can be found in the kernel source file I<Documentation/" |
| 4313 |
"admin-guide/cgroup-v1/net_cls.rst> (or I<Documentation/cgroup-v1/" |
| 4314 |
"net_cls.txt> in Linux 5.2 and earlier)." |
| 4315 |
msgstr "" |
| 4316 |
"Дополнительную информацию смотрите в файле исходного кода ядра " |
| 4317 |
"I<Documentation/cgroup-v1/net_cls.txt>." |
| 4318 |
|
| 4319 |
#. type: TP |
| 4320 |
#: debian-trixie fedora-44 fedora-rawhide |
| 4321 |
#, no-wrap |
| 4322 |
msgid "I<blkio> (since Linux 2.6.33; B<CONFIG_BLK_CGROUP>)" |
| 4323 |
msgstr "I<blkio> (начиная с Linux 2.6.33; B<CONFIG_BLK_CGROUP>)" |
| 4324 |
|
| 4325 |
#. type: Plain text |
| 4326 |
#: debian-trixie fedora-44 fedora-rawhide |
| 4327 |
#, fuzzy |
| 4328 |
#| msgid "" |
| 4329 |
#| "Further information can be found in the kernel source file " |
| 4330 |
#| "I<Documentation/cgroup-v1/blkio-controller.txt>." |
| 4331 |
msgid "" |
| 4332 |
"Further information can be found in the kernel source file I<Documentation/" |
| 4333 |
"admin-guide/cgroup-v1/blkio-controller.rst> (or I<Documentation/cgroup-v1/" |
| 4334 |
"blkio-controller.txt> in Linux 5.2 and earlier)." |
| 4335 |
msgstr "" |
| 4336 |
"Дополнительную информацию смотрите в файле исходного кода ядра " |
| 4337 |
"I<Documentation/cgroup-v1/blkio-controller.txt>." |
| 4338 |
|
| 4339 |
#. type: TP |
| 4340 |
#: debian-trixie fedora-44 fedora-rawhide |
| 4341 |
#, no-wrap |
| 4342 |
msgid "I<perf_event> (since Linux 2.6.39; B<CONFIG_CGROUP_PERF>)" |
| 4343 |
msgstr "I<perf_event> (начиная с Linux 2.6.39; B<CONFIG_CGROUP_PERF>)" |
| 4344 |
|
| 4345 |
#. type: TP |
| 4346 |
#: debian-trixie fedora-44 fedora-rawhide |
| 4347 |
#, no-wrap |
| 4348 |
msgid "I<net_prio> (since Linux 3.3; B<CONFIG_CGROUP_NET_PRIO>)" |
| 4349 |
msgstr "I<net_prio> (начиная с Linux 3.3; B<CONFIG_CGROUP_NET_PRIO>)" |
| 4350 |
|
| 4351 |
#. type: Plain text |
| 4352 |
#: debian-trixie fedora-44 fedora-rawhide |
| 4353 |
#, fuzzy |
| 4354 |
#| msgid "" |
| 4355 |
#| "Further information can be found in the kernel source file " |
| 4356 |
#| "I<Documentation/cgroup-v1/net_prio.txt>." |
| 4357 |
msgid "" |
| 4358 |
"Further information can be found in the kernel source file I<Documentation/" |
| 4359 |
"admin-guide/cgroup-v1/net_prio.rst> (or I<Documentation/cgroup-v1/" |
| 4360 |
"net_prio.txt> in Linux 5.2 and earlier)." |
| 4361 |
msgstr "" |
| 4362 |
"Дополнительную информацию смотрите в файле исходного кода ядра " |
| 4363 |
"I<Documentation/cgroup-v1/net_prio.txt>." |
| 4364 |
|
| 4365 |
#. type: TP |
| 4366 |
#: debian-trixie fedora-44 fedora-rawhide |
| 4367 |
#, no-wrap |
| 4368 |
msgid "I<hugetlb> (since Linux 3.5; B<CONFIG_CGROUP_HUGETLB>)" |
| 4369 |
msgstr "I<hugetlb> (начиная с Linux 3.5; B<CONFIG_CGROUP_HUGETLB>)" |
| 4370 |
|
| 4371 |
#. type: Plain text |
| 4372 |
#: debian-trixie fedora-44 fedora-rawhide |
| 4373 |
#, fuzzy |
| 4374 |
#| msgid "" |
| 4375 |
#| "Further information can be found in the kernel source file " |
| 4376 |
#| "I<Documentation/cgroup-v1/hugetlb.txt>." |
| 4377 |
msgid "" |
| 4378 |
"Further information can be found in the kernel source file I<Documentation/" |
| 4379 |
"admin-guide/cgroup-v1/hugetlb.rst> (or I<Documentation/cgroup-v1/" |
| 4380 |
"hugetlb.txt> in Linux 5.2 and earlier)." |
| 4381 |
msgstr "" |
| 4382 |
"Дополнительную информацию смотрите в файле исходного кода ядра " |
| 4383 |
"I<Documentation/cgroup-v1/hugetlb.txt>." |
| 4384 |
|
| 4385 |
#. type: TP |
| 4386 |
#: debian-trixie fedora-44 fedora-rawhide |
| 4387 |
#, no-wrap |
| 4388 |
msgid "I<pids> (since Linux 4.3; B<CONFIG_CGROUP_PIDS>)" |
| 4389 |
msgstr "I<pids> (начиная с Linux 4.3; B<CONFIG_CGROUP_PIDS>)" |
| 4390 |
|
| 4391 |
#. type: Plain text |
| 4392 |
#: debian-trixie fedora-44 fedora-rawhide |
| 4393 |
#, fuzzy |
| 4394 |
#| msgid "" |
| 4395 |
#| "Further information can be found in the kernel source file " |
| 4396 |
#| "I<Documentation/cgroup-v1/pids.txt>." |
| 4397 |
msgid "" |
| 4398 |
"Further information can be found in the kernel source file I<Documentation/" |
| 4399 |
"admin-guide/cgroup-v1/pids.rst> (or I<Documentation/cgroup-v1/pids.txt> in " |
| 4400 |
"Linux 5.2 and earlier)." |
| 4401 |
msgstr "" |
| 4402 |
"Дополнительную информацию смотрите в файле исходного кода ядра " |
| 4403 |
"I<Documentation/cgroup-v1/pids.txt>." |
| 4404 |
|
| 4405 |
#. type: TP |
| 4406 |
#: debian-trixie fedora-44 fedora-rawhide |
| 4407 |
#, no-wrap |
| 4408 |
msgid "I<rdma> (since Linux 4.11; B<CONFIG_CGROUP_RDMA>)" |
| 4409 |
msgstr "I<rdma> (начиная с Linux 4.11; B<CONFIG_CGROUP_RDMA>)" |
| 4410 |
|
| 4411 |
#. type: Plain text |
| 4412 |
#: debian-trixie fedora-44 fedora-rawhide |
| 4413 |
#, fuzzy |
| 4414 |
#| msgid "" |
| 4415 |
#| "Further information can be found in the kernel source file " |
| 4416 |
#| "I<Documentation/cgroup-v1/rdma.txt>." |
| 4417 |
msgid "" |
| 4418 |
"Further information can be found in the kernel source file I<Documentation/" |
| 4419 |
"admin-guide/cgroup-v1/rdma.rst> (or I<Documentation/cgroup-v1/rdma.txt> in " |
| 4420 |
"Linux 5.2 and earlier)." |
| 4421 |
msgstr "" |
| 4422 |
"Дополнительную информацию смотрите в файле исходного кода ядра " |
| 4423 |
"I<Documentation/cgroup-v1/rdma.txt>." |
| 4424 |
|
| 4425 |
#. type: Plain text |
| 4426 |
#: debian-trixie fedora-44 fedora-rawhide |
| 4427 |
#, fuzzy |
| 4428 |
#| msgid "" |
| 4429 |
#| "For more changes, see the I<Documentation/cgroup-v2.txt> file in the " |
| 4430 |
#| "kernel source." |
| 4431 |
msgid "" |
| 4432 |
"For more changes, see the I<Documentation/admin-guide/cgroup-v2.rst> file in " |
| 4433 |
"the kernel source (or I<Documentation/cgroup-v2.txt> in Linux 4.17 and " |
| 4434 |
"earlier)." |
| 4435 |
msgstr "" |
| 4436 |
"Дополнительную информацию смотрите в файле исходного кода ядра " |
| 4437 |
"I<Documentation/cgroup-v2.txt>." |
| 4438 |
|
| 4439 |
#. commit 9852ae3fe5293264f01c49f2571ef7688f7823ce |
| 4440 |
#. type: Plain text |
| 4441 |
#: debian-trixie |
| 4442 |
msgid "" |
| 4443 |
"The I<memory.events> should show statistics only for the cgroup itself, and " |
| 4444 |
"not for any descendant cgroups. This was the behavior before Linux 5.2. " |
| 4445 |
"Starting in Linux 5.2, the default behavior is to include statistics for " |
| 4446 |
"descendant cgroups in I<memory.events>, and this mount option can be used to " |
| 4447 |
"revert to the legacy behavior. This option is system wide and can be set on " |
| 4448 |
"mount or modified through remount only from the initial mount namespace; it " |
| 4449 |
"is silently ignored in noninitial namespaces." |
| 4450 |
msgstr "" |
| 4451 |
|
| 4452 |
#. type: Plain text |
| 4453 |
#: debian-trixie fedora-44 fedora-rawhide |
| 4454 |
#, fuzzy |
| 4455 |
#| msgid "" |
| 4456 |
#| "The following controllers, documented in the kernel source file " |
| 4457 |
#| "I<Documentation/cgroup-v2.txt>, are supported in cgroups version 2:" |
| 4458 |
msgid "" |
| 4459 |
"The following controllers, documented in the kernel source file " |
| 4460 |
"I<Documentation/admin-guide/cgroup-v2.rst> (or I<Documentation/cgroup-" |
| 4461 |
"v2.txt> in Linux 4.17 and earlier), are supported in cgroups version 2:" |
| 4462 |
msgstr "" |
| 4463 |
"Следующие контроллеры, описанные в файле исходного кода ядра I<Documentation/" |
| 4464 |
"cgroup-v2.txt>, поддерживаются в cgroups версии 2:" |
| 4465 |
|
| 4466 |
#. type: Plain text |
| 4467 |
#: debian-trixie fedora-44 fedora-rawhide |
| 4468 |
#, no-wrap |
| 4469 |
msgid "" |
| 4470 |
"$ B<cat mygrp/cgroup.events>\n" |
| 4471 |
"populated 1\n" |
| 4472 |
"frozen 0\n" |
| 4473 |
msgstr "" |
| 4474 |
|
| 4475 |
#. type: Plain text |
| 4476 |
#: debian-trixie fedora-44 fedora-rawhide |
| 4477 |
msgid "" |
| 4478 |
"One of the consequences of the above pathways to creating a threaded subtree " |
| 4479 |
"is that the threaded root cgroup can be a parent only to I<threaded> (and " |
| 4480 |
"I<domain invalid>) cgroups. The threaded root cgroup can't be a parent of " |
| 4481 |
"a I<domain> cgroups, and a I<threaded> cgroup can't have a sibling that is a " |
| 4482 |
"I<domain> cgroup." |
| 4483 |
msgstr "" |
| 4484 |
"Следствием одного из этих путей создания поддерева нитей является то, что " |
| 4485 |
"cgroup корня нитей может быть родителем только cgroup с типом I<threaded> (и " |
| 4486 |
"I<domain invalid>). cgroup корня нитей не может быть родителем cgroup с " |
| 4487 |
"типом I<domain> и cgroup с типом I<threaded> не может быть на одном уровне с " |
| 4488 |
"cgroup с типом I<domain>." |
| 4489 |
|
| 4490 |
#. type: Plain text |
| 4491 |
#: debian-trixie fedora-44 fedora-rawhide |
| 4492 |
#, no-wrap |
| 4493 |
msgid "" |
| 4494 |
"$ B<cat /sys/kernel/cgroup/delegate>\n" |
| 4495 |
"cgroup.procs\n" |
| 4496 |
"cgroup.subtree_control\n" |
| 4497 |
"cgroup.threads\n" |
| 4498 |
msgstr "" |
| 4499 |
"$ B<cat /sys/kernel/cgroup/delegate>\n" |
| 4500 |
"cgroup.procs\n" |
| 4501 |
"cgroup.subtree_control\n" |
| 4502 |
"cgroup.threads\n" |
| 4503 |
|
| 4504 |
#. type: Plain text |
| 4505 |
#: debian-trixie fedora-44 fedora-rawhide |
| 4506 |
#, fuzzy, no-wrap |
| 4507 |
#| msgid "" |
| 4508 |
#| "$ B<cat /sys/kernel/cgroup/features>\n" |
| 4509 |
#| "nsdelegate\n" |
| 4510 |
msgid "" |
| 4511 |
"$ B<cat /sys/kernel/cgroup/features>\n" |
| 4512 |
"nsdelegate\n" |
| 4513 |
"memory_localevents\n" |
| 4514 |
msgstr "" |
| 4515 |
"$ B<cat /sys/kernel/cgroup/features>\n" |
| 4516 |
"nsdelegate\n" |
| 4517 |
|
| 4518 |
#. type: TH |
| 4519 |
#: fedora-44 fedora-rawhide |
| 4520 |
#, no-wrap |
| 4521 |
msgid "2024-12-04" |
| 4522 |
msgstr "4 декабря 2024 г." |
| 4523 |
|
| 4524 |
#. type: TH |
| 4525 |
#: fedora-44 fedora-rawhide |
| 4526 |
#, no-wrap |
| 4527 |
msgid "Linux man-pages 6.13" |
| 4528 |
msgstr "Страницы руководства Linux 6.13" |
| 4529 |
|
| 4530 |
#. type: TH |
| 4531 |
#: mageia-cauldron |
| 4532 |
#, no-wrap |
| 4533 |
msgid "Linux man-pages 6.17" |
| 4534 |
msgstr "Страницы руководства Linux 6.17" |
| 4535 |
|
| 4536 |
#. type: TH |
| 4537 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 4538 |
#, no-wrap |
| 4539 |
msgid "Linux man-pages (unreleased)" |
| 4540 |
msgstr "Страницы руководства Linux (не выпущены)" |