Debian Codegraph @

po/sv/man7/cgroups.7.po

raw
1 # Swedish translation of manpages
2 # This file is distributed under the same license as the manpages-l10n package.
3 # Copyright © of this file:
4 # Göran Uddeborg <[email protected]>, 2023, 2024, 2025, 2026.
5 msgid ""
6 msgstr ""
7 "Project-Id-Version: manpages-l10n 4.19.0\n"
8 "POT-Creation-Date: 2026-06-05 06:20+0200\n"
9 "PO-Revision-Date: 2026-05-20 23:24+0200\n"
10 "Last-Translator: Göran Uddeborg <[email protected]>\n"
11 "Language-Team: Swedish <[email protected]>\n"
12 "Language: sv\n"
13 "MIME-Version: 1.0\n"
14 "Content-Type: text/plain; charset=UTF-8\n"
15 "Content-Transfer-Encoding: 8bit\n"
16 "Plural-Forms: nplurals=2; plural=(n != 1);\n"
17
18 #. type: TH
19 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
20 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
21 #, no-wrap
22 msgid "cgroups"
23 msgstr "cgroups"
24
25 #. type: TH
26 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
27 #: opensuse-tumbleweed
28 #, no-wrap
29 msgid "2026-02-08"
30 msgstr "8 februari 2026"
31
32 #. type: TH
33 #: archlinux debian-unstable
34 #, no-wrap
35 msgid "Linux man-pages 6.18"
36 msgstr "Linux man-pages 6.18"
37
38 #. type: SH
39 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
40 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
41 #, no-wrap
42 msgid "NAME"
43 msgstr "NAMN"
44
45 #. type: Plain text
46 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
47 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
48 msgid "cgroups - Linux control groups"
49 msgstr "cgroups — Linux styrgrupper"
50
51 #. type: SH
52 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
53 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
54 #, no-wrap
55 msgid "DESCRIPTION"
56 msgstr "BESKRIVNING"
57
58 #. type: Plain text
59 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
60 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
61 msgid ""
62 "Control groups, usually referred to as cgroups, are a Linux kernel feature "
63 "which allow processes to be organized into hierarchical groups whose usage "
64 "of various types of resources can then be limited and monitored. The "
65 "kernel's cgroup interface is provided through a pseudo-filesystem called "
66 "cgroupfs. Grouping is implemented in the core cgroup kernel code, while "
67 "resource tracking and limits are implemented in a set of per-resource-type "
68 "subsystems (memory, CPU, and so on)."
69 msgstr ""
70 "Styrgrupper, vanligen refererade till som cgroups, är en funktion i "
71 "Linuxkärnan som gör att processer kan organiseras i hierarkiska grupper vars "
72 "användning av olika typer av resurser sedan kan begränsas och övervakas. "
73 "Kärnans cgroup-gränssnitt tillhandahålls via ett pseudofilsystem som kallas "
74 "cgroupfs. Gruppering implementeras i kärnans centrala cgroup-kod, medan "
75 "resursspårning och -begränsning implementeras i ett antal undersystem per "
76 "resurstyp (minne, CPU, och så vidare)."
77
78 #. type: SS
79 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
80 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
81 #, no-wrap
82 msgid "Terminology"
83 msgstr "Terminologi"
84
85 #. type: Plain text
86 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
87 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
88 msgid ""
89 "A I<cgroup> is a collection of processes that are bound to a set of limits "
90 "or parameters defined via the cgroup filesystem."
91 msgstr ""
92 "En I<cgroup> är en samling av processer som är bundna av en uppsättning "
93 "gränser eller parametrar som definieras via cgroup-filsystemet."
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<subsystem> is a kernel component that modifies the behavior of the "
100 "processes in a cgroup. Various subsystems have been implemented, making it "
101 "possible to do things such as limiting the amount of CPU time and memory "
102 "available to a cgroup, accounting for the CPU time used by a cgroup, and "
103 "freezing and resuming execution of the processes in a cgroup. Subsystems "
104 "are sometimes also known as I<resource controllers> (or simply, controllers)."
105 msgstr ""
106 "Ett I<undersystem> är en kärnkomponent som modifierar beteendet hos "
107 "processerna i en cgroup. Olika undersystem har implementerats, vilket gör "
108 "det möjligt att göra saker som att begränsa mängden CPU-tid och minne som är "
109 "tillgängligt i en cgroup, bokföring av CPU-tiden som används av en cgroup "
110 "och frysning och återupptagande av körningen av processerna i en cgroup. "
111 "Undersystem är också ibland kända som I<resurshanterare> (I<resource "
112 "controllers>) (eller helt enkelt, hanterare (I<controllers>))."
113
114 #. type: Plain text
115 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
116 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
117 msgid ""
118 "The cgroups for a controller are arranged in a I<hierarchy>. This hierarchy "
119 "is defined by creating, removing, and renaming subdirectories within the "
120 "cgroup filesystem. At each level of the hierarchy, attributes (e.g., "
121 "limits) can be defined. The limits, control, and accounting provided by "
122 "cgroups generally have effect throughout the subhierarchy underneath the "
123 "cgroup where the attributes are defined. Thus, for example, the limits "
124 "placed on a cgroup at a higher level in the hierarchy cannot be exceeded by "
125 "descendant cgroups."
126 msgstr ""
127 "En hanterares cgroups är arrangerade i en I<hierarki>. Denna hierarki "
128 "defineras genom att skapa, ta bort och byta namn på underkataloger i cgroup-"
129 "filsystemet. På varje nivå av hierarkin kan attribut (t.ex., gränser) "
130 "definieras. Gränserna, styrningen och bokföringen som erbjuds av cgroups har "
131 "allmänt sett påverkan genom underhierarkin under den cgroup där attributen "
132 "definieras. Alltså kan till exempel inte gränserna som placeras på en cgroup "
133 "på en högre nivå i hierarkin överskridas av avkomme-cgroups."
134
135 #. type: SS
136 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
137 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
138 #, no-wrap
139 msgid "Cgroups version 1 and version 2"
140 msgstr "Cgroups version 1 och version 2"
141
142 #. type: Plain text
143 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
144 #: opensuse-tumbleweed
145 msgid ""
146 "The initial release of the cgroups implementation was in Linux 2.6.24. Over "
147 "time, various cgroup controllers have been added to allow the management of "
148 "various types of resources. However, the development of these controllers "
149 "was largely uncoordinated, with the result that many inconsistencies arose "
150 "between controllers and management of the cgroup hierarchies became rather "
151 "complex. A longer description of these problems can be found in the kernel "
152 "source file I<Documentation/admin-guide/cgroup-v2.rst> (or I<Documentation/"
153 "cgroup-v2.rst> in Linux 4.17 and earlier)."
154 msgstr ""
155 "Den ursprungliga utgåvan av cgroups-implementationen var i Linux 2.6.24. Med "
156 "tiden har olika cgroup-hanterare lagts till för att möjliggöra hanteringen "
157 "av olika typer av resurser. Dock var utvecklingen av dessa hanterare i stort "
158 "sett okoordinerad, med resultatet att många inkonsistenser uppstod mellan "
159 "hanterare och användandet av cgroup-hierarkier blev ganska komplext. En "
160 "längre beskrivning av dessa problem finns i kärnans källfil I<Documentation/"
161 "admin-guide/cgroup-v2.rst> (eller I<Documentation/cgroup-v2.rst> i Linux "
162 "4.17 och tidigare)."
163
164 #. type: Plain text
165 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
166 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
167 msgid ""
168 "Because of the problems with the initial cgroups implementation (cgroups "
169 "version 1), starting in Linux 3.10, work began on a new, orthogonal "
170 "implementation to remedy these problems. Initially marked experimental, and "
171 "hidden behind the I<-o\\ __DEVEL__sane_behavior> mount option, the new "
172 "version (cgroups version 2) was eventually made official with the release "
173 "of Linux 4.5. Differences between the two versions are described in the "
174 "text below. The file I<cgroup.sane_behavior>, present in cgroups v1, is a "
175 "relic of this mount option. The file always reports \"0\" and is only "
176 "retained for backward compatibility."
177 msgstr ""
178 "På grund av problemen med den ursprungliga cgroups-implementationen (cgroups "
179 "version 1) inleddes, med början i Linux 3.10, arbete på en ny, ortogonal "
180 "implementation för att åtgärda dessa problem. Från början markerad "
181 "experimentell, och dold bakom monteringsflaggan I<-o\\ "
182 "__DEVEL__sane_behavior> gjordes den nya versionen (cgroups version 2) "
183 "slutligen officiell i och med utgåvan av Linux 4.5. Skillnader mellan de två "
184 "versionerna beskrivs i texten nedan. Filen I<cgroup.sane_behavior>, som "
185 "finns i cgroups v1, är en relik från denna monteringsflagga. Filen "
186 "rapporterar alltid ”0” och finns bara kvar för bakåtkompatibilitet."
187
188 #. type: Plain text
189 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
190 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
191 msgid ""
192 "Although cgroups v2 is intended as a replacement for cgroups v1, the older "
193 "system continues to exist (and for compatibility reasons is unlikely to be "
194 "removed). Currently, cgroups v2 implements only a subset of the controllers "
195 "available in cgroups v1. The two systems are implemented so that both v1 "
196 "controllers and v2 controllers can be mounted on the same system. Thus, for "
197 "example, it is possible to use those controllers that are supported under "
198 "version 2, while also using version 1 controllers where version 2 does not "
199 "yet support those controllers. The only restriction here is that a "
200 "controller can't be simultaneously employed in both a cgroups v1 hierarchy "
201 "and in the cgroups v2 hierarchy."
202 msgstr ""
203 "Även om cgroups v2 är avsett att vara en ersättning för cgroups v1 finns det "
204 "äldre systemet kvar (och av kompatibilitetsskäl är det osannolikt att det "
205 "kommer tas bort). För närvarande implementerar cgroups v2 endast en delmängd "
206 "av hanterarna som är tillgängliga i cgroups v1. De två systemen är "
207 "implementerade så att både v1-hanterare och v2-hanterare kan monteras på "
208 "samma system. Alltså är det till exempel möjligt att använda de hanterare "
209 "som stödjs under version 2, men också använda version 1-hanterare där "
210 "version 2 ännu inte stödjer dessa hanterare. Den enda begränsningen är att "
211 "en hanterare inte samtidigt kan användas i både en cgroups v1-hierarki och i "
212 "cgroups v2-hierarkin."
213
214 #. type: SH
215 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
216 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
217 #, no-wrap
218 msgid "CGROUPS VERSION 1"
219 msgstr "CGROUPS VERSION 1"
220
221 #. type: Plain text
222 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
223 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
224 msgid ""
225 "Under cgroups v1, each controller may be mounted against a separate cgroup "
226 "filesystem that provides its own hierarchical organization of the processes "
227 "on the system. It is also possible to comount multiple (or even all) "
228 "cgroups v1 controllers against the same cgroup filesystem, meaning that the "
229 "comounted controllers manage the same hierarchical organization of processes."
230 msgstr ""
231 "Under cgroups v1 kan varje hanterare monteras mot ett separat cgroup-"
232 "filsystem som ger sin egen hierarkiska organisation av processerna på "
233 "systemet. Det är också möjligt att sammontera flera (eller alla) cgroups v1-"
234 "hanterare mot samma cgroup-filsystem, vilket betyder att de sammonterade "
235 "hanterarna använder samma hierarkiska organisation av processer."
236
237 #. type: Plain text
238 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
239 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
240 msgid ""
241 "For each mounted hierarchy, the directory tree mirrors the control group "
242 "hierarchy. Each control group is represented by a directory, with each of "
243 "its child control cgroups represented as a child directory. For instance, "
244 "I</user/joe/1.session> represents control group I<1.session>, which is a "
245 "child of cgroup I<joe>, which is a child of I</user>. Under each cgroup "
246 "directory is a set of files which can be read or written to, reflecting "
247 "resource limits and a few general cgroup properties."
248 msgstr ""
249 "För varje monterad hierarki avspeglar katalogträdet styrgruppshierarkin. "
250 "Varje styrgrupp representeras av en katalog, där var och en av dess barnstyr-"
251 "cgroup representeras av en barnkatalog. Till exempel representerar I</user/"
252 "johan/1.session> styrgruppen I<1.session>, vilken är ett barn till I<johan>, "
253 "vilken är ett barn till I</user>. Under varje cgroup-katalog finns en "
254 "uppsättning filer vilka kan läsas eller skrivas till, vilket avspeglar "
255 "resursbegränsningar och några allmänna cgroup-egenskaper."
256
257 #. type: SS
258 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
259 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
260 #, no-wrap
261 msgid "Tasks (threads) versus processes"
262 msgstr "Uppgifter (trådar) respektive processer"
263
264 #. type: Plain text
265 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
266 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
267 msgid ""
268 "In cgroups v1, a distinction is drawn between I<processes> and I<tasks>. In "
269 "this view, a process can consist of multiple tasks (more commonly called "
270 "threads, from a user-space perspective, and called such in the remainder of "
271 "this man page). In cgroups v1, it is possible to independently manipulate "
272 "the cgroup memberships of the threads in a process."
273 msgstr ""
274 "I cgroups v1 dras en distinktion mellan I<processer> och I<uppgifter>. I "
275 "denna vy kan en process bestå av flera uppgifter (oftare kallade trådar, "
276 "från ett användarperspektiv, och kallas så i resten av denna manualsida). I "
277 "cgroups v1 är det möjligt att hantera cgroup-medlemskapet hos trådarna i en "
278 "process oberoende av varandra."
279
280 #. type: Plain text
281 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
282 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
283 msgid ""
284 "The cgroups v1 ability to split threads across different cgroups caused "
285 "problems in some cases. For example, it made no sense for the I<memory> "
286 "controller, since all of the threads of a process share a single address "
287 "space. Because of these problems, the ability to independently manipulate "
288 "the cgroup memberships of the threads in a process was removed in the "
289 "initial cgroups v2 implementation, and subsequently restored in a more "
290 "limited form (see the discussion of \"thread mode\" below)."
291 msgstr ""
292 "Cgroups v1 möjlighet att dela trådar över olika cgroups orsakade problem i "
293 "en del fall. Till exempel var det inte meningsfullt för I<minnes>hanteraren "
294 "eftersom alla trådarna i en process delar en enda adressrymd. På grund av "
295 "dessa problem togs möjlighetn att oberoende hantera cgroup-medlemskapet hos "
296 "trådar i en process bort i den ursprungliga cgroups v2-implementationen, och "
297 "återställdes senare i en mer begränsad form (se diskussionen om ”trådläge” "
298 "nedan)."
299
300 #. type: SS
301 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
302 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
303 #, no-wrap
304 msgid "Mounting v1 controllers"
305 msgstr "Montering av v1-hanterare"
306
307 #. type: Plain text
308 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
309 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
310 msgid ""
311 "The use of cgroups requires a kernel built with the B<CONFIG_CGROUP> "
312 "option. In addition, each of the v1 controllers has an associated "
313 "configuration option that must be set in order to employ that controller."
314 msgstr ""
315 "Användningen av cgroups förutsätter en kärna byggd med alternativet "
316 "B<CONFIG_CGROUP>. Dessutom har var och en av v1-hanterarna ett associerat "
317 "konfigurationsalternativ som måste vara satt för att använda den hanteraren."
318
319 #. type: Plain text
320 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
321 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
322 msgid ""
323 "In order to use a v1 controller, it must be mounted against a cgroup "
324 "filesystem. The usual place for such mounts is under a B<tmpfs>(5) "
325 "filesystem mounted at I</sys/fs/cgroup>. Thus, one might mount the I<cpu> "
326 "controller as follows:"
327 msgstr ""
328 "För att använda en v1-hanterare måste den monteras mot ett cgroup-filsystem. "
329 "Den vanliga platsen för sådana monteringar är under ett B<tmpfs>(5)-"
330 "filsystem monterat på I</sys/fs/cgroup>. Man kan alltså montera I<cpu>-"
331 "hanteraren enligt följande:"
332
333 #. type: Plain text
334 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
335 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
336 #, no-wrap
337 msgid "mount -t cgroup -o cpu none /sys/fs/cgroup/cpu\n"
338 msgstr "mount -t cgroup -o cpu none /sys/fs/cgroup/cpu\n"
339
340 #. type: Plain text
341 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
342 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
343 msgid ""
344 "It is possible to comount multiple controllers against the same hierarchy. "
345 "For example, here the I<cpu> and I<cpuacct> controllers are comounted "
346 "against a single hierarchy:"
347 msgstr ""
348 "Det är möjligt att sammontera flera hanterare mot samma hierarki. Till "
349 "exempel sammonteras här hanterarna I<cpu> och I<cpuacct> mot en enda "
350 "hierarki:"
351
352 #. type: Plain text
353 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
354 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
355 #, no-wrap
356 msgid "mount -t cgroup -o cpu,cpuacct none /sys/fs/cgroup/cpu,cpuacct\n"
357 msgstr "mount -t cgroup -o cpu,cpuacct none /sys/fs/cgroup/cpu,cpuacct\n"
358
359 #. type: Plain text
360 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
361 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
362 msgid ""
363 "Comounting controllers has the effect that a process is in the same cgroup "
364 "for all of the comounted controllers. Separately mounting controllers "
365 "allows a process to be in cgroup I</foo1> for one controller while being in "
366 "I</foo2/foo3> for another."
367 msgstr ""
368 "Sammontering av hanterare har effekten att en process är i samma cgroup för "
369 "alla sammonterade hanterare. Separat monterade hanterare gör det möjligt för "
370 "en process att finnas i en cgroup I</apa1> för en hanterare medan den finns "
371 "i I</apa2/apa3> för en annan."
372
373 #. type: Plain text
374 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
375 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
376 msgid ""
377 "It is possible to comount all v1 controllers against the same hierarchy:"
378 msgstr "Det är möjligt att sammontera alla v1-hanterare mot samma hierarki:"
379
380 #. type: Plain text
381 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
382 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
383 #, no-wrap
384 msgid "mount -t cgroup -o all cgroup /sys/fs/cgroup\n"
385 msgstr "mount -t cgroup -o all cgroup /sys/fs/cgroup\n"
386
387 #. type: Plain text
388 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
389 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
390 msgid ""
391 "(One can achieve the same result by omitting I<-o all>, since it is the "
392 "default if no controllers are explicitly specified.)"
393 msgstr ""
394 "(Man kan åstadkomma samma resultat genom att utelämna I<-o all> eftersom det "
395 "är standardbeteendet om inga hanterare uttryckligen anges.)"
396
397 #. type: Plain text
398 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
399 #: opensuse-leap-16-1 opensuse-tumbleweed
400 msgid ""
401 "It is not possible to mount the same controller against multiple cgroup "
402 "hierarchies. For example, it is not possible to mount both the I<cpu> and "
403 "I<cpuacct> controllers against one hierarchy, and to mount the I<cpu> "
404 "controller alone against another hierarchy. It is possible to create "
405 "multiple mounts with exactly the same set of comounted controllers. "
406 "However, in this case all that results is multiple mount points providing a "
407 "view of the same hierarchy."
408 msgstr ""
409 "Det är inte möjligt att montera samma hanterare mot flera cgroup-hierarkier. "
410 "Till exempel är det inte möjligt att montera både hanteraren I<cpu> och "
411 "I<cpuacct> mot en hierarki, och att montera hanteraren I<cpu> ensam mot en "
412 "annan hierarki. Det är möjligt att skapa flera monteringar med exakt samma "
413 "uppsättning av sammonterade hanterare. I det fallet är dock det enda som "
414 "händer att flera monteringspunkter ger en vy av samma hierarki."
415
416 #. type: Plain text
417 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
418 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
419 msgid ""
420 "Note that on many systems, the v1 controllers are automatically mounted "
421 "under I</sys/fs/cgroup>; in particular, B<systemd>(1) automatically creates "
422 "such mounts."
423 msgstr ""
424 "Observera att på många system är v1-hanterarna automatiskt monterade under "
425 "I</sys/fs/cgroup>; speciellt skapar B<systemd>(1) automatiskt sådana "
426 "monteringar."
427
428 #. type: SS
429 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
430 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
431 #, no-wrap
432 msgid "Unmounting v1 controllers"
433 msgstr "Avmontering av v1-hanterare"
434
435 #. type: Plain text
436 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
437 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
438 msgid ""
439 "A mounted cgroup filesystem can be unmounted using the B<umount>(8) "
440 "command, as in the following example:"
441 msgstr ""
442 "Ett monterat cgroup-filsystem kan avmonteras med kommandot B<umount>(8), som "
443 "i följande exempel:"
444
445 #. type: Plain text
446 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
447 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
448 #, no-wrap
449 msgid "umount /sys/fs/cgroup/pids\n"
450 msgstr "umount /sys/fs/cgroup/pids\n"
451
452 #. type: Plain text
453 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
454 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
455 msgid ""
456 "I<But note well>: a cgroup filesystem is unmounted only if it is not busy, "
457 "that is, it has no child cgroups. If this is not the case, then the only "
458 "effect of the B<umount>(8) is to make the mount invisible. Thus, to ensure "
459 "that the mount is really removed, one must first remove all child cgroups, "
460 "which in turn can be done only after all member processes have been moved "
461 "from those cgroups to the root cgroup."
462 msgstr ""
463 "I<Men observera även>: ett cgroup-filsystem avmonteras bara om det inte är "
464 "upptaget, det vill säga att det inte har någon barn-cgroup. Om det inte är "
465 "fallet är enda effekten av B<umount>(8) att göra monteringen osynlig. Alltså "
466 "måste man för att säkerställa att en montering verkligen tas bort först ta "
467 "bort alla barn-cgroup:er, vilket i sin tur endast kan göras efter att alla "
468 "medlemsprocesser har flyttats ifrån dessa cgroup:er till root-cgroup:en."
469
470 #. type: SS
471 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
472 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
473 #, no-wrap
474 msgid "Cgroups version 1 controllers"
475 msgstr "Cgroup version 1-hanterare"
476
477 #. type: Plain text
478 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
479 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
480 msgid ""
481 "Each of the cgroups version 1 controllers is governed by a kernel "
482 "configuration option (listed below). Additionally, the availability of the "
483 "cgroups feature is governed by the B<CONFIG_CGROUPS> kernel configuration "
484 "option."
485 msgstr ""
486 "Varje hanterare i cgroup version 1 styrs av ett kärnkonfigurationsalternativ "
487 "(uppräknat nedan). Dessutom styrs tillgängligheten av funktionen cgroup av "
488 "kärnkonfigurationsalternativet B<CONFIG_CGROUPS>."
489
490 #. type: TP
491 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
492 #: opensuse-tumbleweed
493 #, no-wrap
494 msgid "I<cpu> (since Linux 2.6.24; \\f[B]CONFIG_CGROUP_SCHED\\fR)"
495 msgstr "I<cpu> (från Linux 2.6.24; \\f[B]CONFIG_CGROUP_SCHED\\fR)"
496
497 #. type: Plain text
498 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
499 #: opensuse-tumbleweed
500 msgid ""
501 "Cgroups can be guaranteed a minimum number of \"CPU shares\" when a system "
502 "is busy. This does not limit a cgroup's CPU usage if the CPUs are not "
503 "busy. For further information, see I<Documentation/scheduler/sched-design-"
504 "CFS.rst>."
505 msgstr ""
506 "Cgroups kan garanteras ett minsta antal ”CPU-andelar” när ett system är "
507 "belastat. Detta begränsar inte en cgroup:s CPU-användning om CPU:erna inte "
508 "är belastade. För ytterligare information, se I<Documentation/scheduler/"
509 "sched-design-CFS.rst>."
510
511 #. type: Plain text
512 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
513 #: opensuse-tumbleweed
514 msgid ""
515 "In Linux 3.2, this controller was extended to provide CPU \"bandwidth\" "
516 "control. If the kernel is configured with B<CONFIG_CFS_BANDWIDTH>, then "
517 "within each scheduling period (defined via a file in the cgroup directory), "
518 "it is possible to define an upper limit on the CPU time allocated to the "
519 "processes in a cgroup. This upper limit applies even if there is no other "
520 "competition for the CPU. Further information can be found in the kernel "
521 "source file I<Documentation/scheduler/sched-bwc.rst>."
522 msgstr ""
523 "I Linux 3.2 utökades denna styrgrupp till att tillandahålla styrning av ”CPU-"
524 "bandbredd”. Om kärnan konfigureras med B<CONFIG_CFS_BANDWIDTH> är det, inom "
525 "varje schemaläggningsperiod (definierad via en fil i cgroup-katalogen), "
526 "möjligt att definiera en övre gräns på CPU-tiden som tilldelas till "
527 "processer i en cgroup. Denna övre gräns gäller även om det inte finns någon "
528 "annan konkurrens om CPU:n. Ytterligare information finns i kärnans källfil "
529 "I<Documentation/scheduler/sched-bwc.rst>."
530
531 #. type: TP
532 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
533 #: opensuse-tumbleweed
534 #, no-wrap
535 msgid "I<cpuacct> (since Linux 2.6.24; \\f[B]CONFIG_CGROUP_CPUACCT\\fR)"
536 msgstr "I<cpuacct> (sedan Linux 2.6.24; \\f[B]CONFIG_CGROUP_CPUACCT\\fR)"
537
538 #. type: Plain text
539 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
540 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
541 msgid "This provides accounting for CPU usage by groups of processes."
542 msgstr ""
543 "Denna tillhandahåller bokföring av CPU-användning av grupper av processer."
544
545 #. type: Plain text
546 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
547 #: opensuse-tumbleweed
548 msgid ""
549 "Further information can be found in the kernel source file I<Documentation/"
550 "admin-guide/cgroup-v1/cpuacct.rst>."
551 msgstr ""
552 "Ytterligare information finns i kärnans källfil I<Documentation/admin-guide/"
553 "cgroup-v1/cpuacct.rst>."
554
555 #. type: TP
556 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
557 #: opensuse-tumbleweed
558 #, no-wrap
559 msgid "I<cpuset> (since Linux 2.6.24; \\f[B]CONFIG_CPUSETS\\fR)"
560 msgstr "I<cpuset> (sedan Linux 2.6.24; \\f[B]CONFIG_CPUSETS\\fR)"
561
562 #. type: Plain text
563 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
564 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
565 msgid ""
566 "This cgroup can be used to bind the processes in a cgroup to a specified set "
567 "of CPUs and NUMA nodes."
568 msgstr ""
569 "Denna cgroup kan användas för att binda processerna i en cgroup till en "
570 "specifik uppsättning av CPU:er och NUMA-noder."
571
572 #. type: Plain text
573 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
574 #: opensuse-tumbleweed
575 msgid ""
576 "Further information can be found in the kernel source file I<Documentation/"
577 "admin-guide/cgroup-v1/cpusets.rst>."
578 msgstr ""
579 "Ytterligare information finns i kärnans källfil I<Documentation/admin-guide/"
580 "cgroup-v1/cpusets.rst>."
581
582 #. type: TP
583 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
584 #: opensuse-tumbleweed
585 #, no-wrap
586 msgid "I<memory> (since Linux 2.6.25; \\f[B]CONFIG_MEMCG\\fR)"
587 msgstr "I<memory> (sedan Linux 2.6.25; \\f[B]CONFIG_MEMCG\\fR)"
588
589 #. type: Plain text
590 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
591 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
592 msgid ""
593 "The memory controller supports reporting and limiting of process memory, "
594 "kernel memory, and swap used by cgroups."
595 msgstr ""
596 "Minneshanteraren stödjer rapportering och begränsning av processminne, "
597 "kärnminne och växling som används av cgroup:er."
598
599 #. type: Plain text
600 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
601 #: opensuse-tumbleweed
602 msgid ""
603 "Further information can be found in the kernel source file I<Documentation/"
604 "admin-guide/cgroup-v1/memory.rst>."
605 msgstr ""
606 "Ytterligare information finns i kärnans källfil I<Documentation/admin-guide/"
607 "cgroup-v1/memory.rst>."
608
609 #. type: TP
610 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
611 #: opensuse-tumbleweed
612 #, no-wrap
613 msgid "I<devices> (since Linux 2.6.26; \\f[B]CONFIG_CGROUP_DEVICE\\fR)"
614 msgstr "I<devices> (sedan Linux 2.6.26; \\f[B]CONFIG_CGROUP_DEVICE\\fR)"
615
616 #. type: Plain text
617 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
618 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
619 msgid ""
620 "This supports controlling which processes may create (mknod) devices as well "
621 "as open them for reading or writing. The policies may be specified as allow-"
622 "lists and deny-lists. Hierarchy is enforced, so new rules must not violate "
623 "existing rules for the target or ancestor cgroups."
624 msgstr ""
625 "Detta stödjer styrning av vilka processer som får skapa (mknod) enheter "
626 "liksom öppna dem för läsning eller skrivning. Policyerna kan anges som "
627 "tillåtelselistor och nekandelistor. Hierarkin upprätthålls, så att nya "
628 "regler inte får bryta mot befintliga regler för målet eller anfader-cgroup:"
629 "er."
630
631 #. type: Plain text
632 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
633 #: opensuse-tumbleweed
634 msgid ""
635 "Further information can be found in the kernel source file I<Documentation/"
636 "admin-guide/cgroup-v1/devices.rst>."
637 msgstr ""
638 "Ytterligare information finns i kärnans källfil I<Documentation/admin-guide/"
639 "cgroup-v1/devices.rst>."
640
641 #. type: TP
642 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
643 #: opensuse-tumbleweed
644 #, no-wrap
645 msgid "I<freezer> (since Linux 2.6.28; \\f[B]CONFIG_CGROUP_FREEZER\\fR)"
646 msgstr "I<freezer> (sedan Linux 2.6.28; \\f[B]CONFIG_CGROUP_FREEZER\\fR)"
647
648 #. type: Plain text
649 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
650 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
651 msgid ""
652 "The I<freezer> cgroup can suspend and restore (resume) all processes in a "
653 "cgroup. Freezing a cgroup I</A> also causes its children, for example, "
654 "processes in I</A/B>, to be frozen."
655 msgstr ""
656 "Cgroup:en I<freezer> kan försätta alla processer i en cgroup i vänteläge "
657 "(suspend) och återuppta (resume) dem. Att frysa en cgroup I</A> får även "
658 "dess barn, till exempel processer i I</A/B>, att frysas."
659
660 #. type: Plain text
661 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
662 #: opensuse-tumbleweed
663 msgid ""
664 "Further information can be found in the kernel source file I<Documentation/"
665 "admin-guide/cgroup-v1/freezer-subsystem.rst>."
666 msgstr ""
667 "Ytterligare information finns i kärnans källfil I<Documentation/admin-guide/"
668 "cgroup-v1/freezer-subsystem.rst>."
669
670 #. type: TP
671 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
672 #: opensuse-tumbleweed
673 #, no-wrap
674 msgid "I<net_cls> (since Linux 2.6.29; \\f[B]CONFIG_CGROUP_NET_CLASSID\\fR)"
675 msgstr "I<net_cls> (sedan Linux 2.6.29; \\f[B]CONFIG_CGROUP_NET_CLASSID\\fR)"
676
677 #. type: Plain text
678 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
679 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
680 msgid ""
681 "This places a classid, specified for the cgroup, on network packets created "
682 "by a cgroup. These classids can then be used in firewall rules, as well as "
683 "used to shape traffic using B<tc>(8). This applies only to packets leaving "
684 "the cgroup, not to traffic arriving at the cgroup."
685 msgstr ""
686 "Denna lägger ett klass-id, angivet för cgroup:en, på nätverkspaket som "
687 "skapas av en cgroup. Dessa klass-id:n kan sedan användas i brandväggsregler, "
688 "liksom användas för att forma trafiken med B<tc>(8). Detta gäller endast "
689 "paket som lämnar cgroup:en, inte trafik som kommer till cgroup:en."
690
691 #. type: Plain text
692 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
693 #: opensuse-tumbleweed
694 msgid ""
695 "Further information can be found in the kernel source file I<Documentation/"
696 "admin-guide/cgroup-v1/net_cls.rst>."
697 msgstr ""
698 "Ytterligare information finns i kärnans källfil I<Documentation/admin-guide/"
699 "cgroup-v1/net_cls.rst>."
700
701 #. type: TP
702 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
703 #: opensuse-tumbleweed
704 #, no-wrap
705 msgid "I<blkio> (since Linux 2.6.33; \\f[B]CONFIG_BLK_CGROUP\\fR)"
706 msgstr "I<blkio> (sedan Linux 2.6.33; \\f[B]CONFIG_BLK_CGROUP\\fR)"
707
708 #. type: Plain text
709 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
710 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
711 msgid ""
712 "The I<blkio> cgroup controls and limits access to specified block devices by "
713 "applying IO control in the form of throttling and upper limits against leaf "
714 "nodes and intermediate nodes in the storage hierarchy."
715 msgstr ""
716 "Cgroup:en I<blkio> styr och begränsar åtkomst till angivna blockenheter "
717 "genom att lägga på IO-styrning i form av strypning och övre gränser på "
718 "lövnoder och mellanliggande noder i lagringshierarkin."
719
720 #. type: Plain text
721 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
722 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
723 msgid ""
724 "Two policies are available. The first is a proportional-weight time-based "
725 "division of disk implemented with CFQ. This is in effect for leaf nodes "
726 "using CFQ. The second is a throttling policy which specifies upper I/O rate "
727 "limits on a device."
728 msgstr ""
729 "Två policyer är tillgängliga. Den första är med proportionell vikt "
730 "tidsbaserad uppdelning av disk implementerad med CFQ. Denna är i kraft för "
731 "lövnoder som använder CFQ. Den andra är en strypningspolicy som anger övre "
732 "gränser för I/O-hastighet för en enhet."
733
734 #. type: Plain text
735 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
736 #: opensuse-tumbleweed
737 msgid ""
738 "Further information can be found in the kernel source file I<Documentation/"
739 "admin-guide/cgroup-v1/blkio-controller.rst>."
740 msgstr ""
741 "Ytterligare information finns i kärnans källfil I<Documentation/admin-guide/"
742 "cgroup-v1/blkio-controller.rst>."
743
744 #. type: TP
745 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
746 #: opensuse-tumbleweed
747 #, no-wrap
748 msgid "I<perf_event> (since Linux 2.6.39; \\f[B]CONFIG_CGROUP_PERF\\fR)"
749 msgstr "I<perf_event> (sedan Linux 2.6.39; \\f[B]CONFIG_CGROUP_PERF\\fR)"
750
751 #. type: Plain text
752 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
753 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
754 msgid ""
755 "This controller allows I<perf> monitoring of the set of processes grouped in "
756 "a cgroup."
757 msgstr ""
758 "Denna hanterare medger I<perf>-övervakning av uppsättningen processer som är "
759 "grupperade i en cgroup."
760
761 #. type: Plain text
762 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
763 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
764 msgid "Further information can be found in the kernel source files"
765 msgstr "Ytterligare information finns i kärnans källfiler"
766
767 #. type: TP
768 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
769 #: opensuse-tumbleweed
770 #, no-wrap
771 msgid "I<net_prio> (since Linux 3.3; \\f[B]CONFIG_CGROUP_NET_PRIO\\fR)"
772 msgstr "I<net_prio> (sedan Linux 3.3; \\f[B]CONFIG_CGROUP_NET_PRIO\\fR)"
773
774 #. type: Plain text
775 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
776 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
777 msgid ""
778 "This allows priorities to be specified, per network interface, for cgroups."
779 msgstr ""
780 "Denna tillåter att prioriteter anges, per nätverksgränssnitt, för cgroup:er."
781
782 #. type: Plain text
783 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
784 #: opensuse-tumbleweed
785 msgid ""
786 "Further information can be found in the kernel source file I<Documentation/"
787 "admin-guide/cgroup-v1/net_prio.rst>."
788 msgstr ""
789 "Ytterligare information finns i kärnans källfil I<Documentation/admin-guide/"
790 "cgroup-v1/net_prio.rst>."
791
792 #. type: TP
793 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
794 #: opensuse-tumbleweed
795 #, no-wrap
796 msgid "I<hugetlb> (since Linux 3.5; \\f[B]CONFIG_CGROUP_HUGETLB\\fR)"
797 msgstr "I<hugetlb> (sedan Linux 3.5; \\f[B]CONFIG_CGROUP_HUGETLB\\fR)"
798
799 #. type: Plain text
800 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
801 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
802 msgid "This supports limiting the use of huge pages by cgroups."
803 msgstr ""
804 "Denna stödjer att man begränsar användningen av väldiga sidor med "
805 "styrgrupper."
806
807 #. type: Plain text
808 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
809 #: opensuse-tumbleweed
810 msgid ""
811 "Further information can be found in the kernel source file I<Documentation/"
812 "admin-guide/cgroup-v1/hugetlb.rst>."
813 msgstr ""
814 "Ytterligare information finns i kärnans källfil I<Documentation/admin-guide/"
815 "cgroup-v1/hugetlb.rst>."
816
817 #. type: TP
818 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
819 #: opensuse-tumbleweed
820 #, no-wrap
821 msgid "I<pids> (since Linux 4.3; \\f[B]CONFIG_CGROUP_PIDS\\fR)"
822 msgstr "I<pids> (sedan Linux 4.3; \\f[B]CONFIG_CGROUP_PIDS\\fR)"
823
824 #. type: Plain text
825 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
826 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
827 msgid ""
828 "This controller permits limiting the number of process that may be created "
829 "in a cgroup (and its descendants)."
830 msgstr ""
831 "Denna hanterare tillåter att man begränsar antalet processer som kan skapas "
832 "i en styrgrupp (och dess avkommor)."
833
834 #. type: Plain text
835 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
836 #: opensuse-tumbleweed
837 msgid ""
838 "Further information can be found in the kernel source file I<Documentation/"
839 "admin-guide/cgroup-v1/pids.rst>."
840 msgstr ""
841 "Ytterligare information finns i kärnans källfil I<Documentation/admin-guide/"
842 "cgroup-v1/pids.rst>."
843
844 #. type: TP
845 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
846 #: opensuse-tumbleweed
847 #, no-wrap
848 msgid "I<rdma> (since Linux 4.11; \\f[B]CONFIG_CGROUP_RDMA\\fR)"
849 msgstr "I<rdma> (sedan Linux 4.11; \\f[B]CONFIG_CGROUP_RDMA\\fR)"
850
851 #. type: Plain text
852 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
853 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
854 msgid ""
855 "The RDMA controller permits limiting the use of RDMA/IB-specific resources "
856 "per cgroup."
857 msgstr ""
858 "RDMA-hanteraren tillåter att man begränsar användningen av RDMA/IB-specifika "
859 "resurser per styrgrupp."
860
861 #. type: Plain text
862 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
863 #: opensuse-tumbleweed
864 msgid ""
865 "Further information can be found in the kernel source file I<Documentation/"
866 "admin-guide/cgroup-v1/rdma.rst>."
867 msgstr ""
868 "Ytterligare information finns i kärnans källfil I<Documentation/admin-guide/"
869 "cgroup-v1/rdma.rst>."
870
871 #. type: SS
872 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
873 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
874 #, no-wrap
875 msgid "Creating cgroups and moving processes"
876 msgstr "Att skapa styrgrupper och flytta processer"
877
878 #. type: Plain text
879 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
880 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
881 msgid ""
882 "A cgroup filesystem initially contains a single root cgroup, '/', which all "
883 "processes belong to. A new cgroup is created by creating a directory in the "
884 "cgroup filesystem:"
885 msgstr ""
886 "Ett styrgruppfilsystem innehåller initialt en ensam rotstyrgrupp, ”/”, "
887 "vilken alla processer hör till. En ny styrgrupp skapas genom att skapa en "
888 "katalog i styrgruppfilsystemet:"
889
890 #. type: Plain text
891 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
892 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
893 #, no-wrap
894 msgid "mkdir /sys/fs/cgroup/cpu/cg1\n"
895 msgstr "mkdir /sys/fs/cgroup/cpu/sg1\n"
896
897 #. type: Plain text
898 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
899 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
900 msgid "This creates a new empty cgroup."
901 msgstr "Detta skapar en ny tom styrgrupp."
902
903 #. type: Plain text
904 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
905 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
906 msgid ""
907 "A process may be moved to this cgroup by writing its PID into the cgroup's "
908 "I<cgroup.procs> file:"
909 msgstr ""
910 "En process kan flyttas till denna styrgrup genom att skriva dess PID in i "
911 "styrgruppens fil I<cgroup.procs>:"
912
913 #. type: Plain text
914 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
915 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
916 #, no-wrap
917 msgid "echo $$ E<gt> /sys/fs/cgroup/cpu/cg1/cgroup.procs\n"
918 msgstr "echo $$ E<gt> /sys/fs/cgroup/cpu/sg1/cgroup.procs\n"
919
920 #. type: Plain text
921 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
922 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
923 msgid "Only one PID at a time should be written to this file."
924 msgstr "Endast en PID åt gången får skrivas till denna fil."
925
926 #. type: Plain text
927 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
928 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
929 msgid ""
930 "Writing the value 0 to a I<cgroup.procs> file causes the writing process to "
931 "be moved to the corresponding cgroup."
932 msgstr ""
933 "Om man skriver värdet 0 till en fil I<cgroup.procs> flyttas den skrivande "
934 "processen till motsvarande styrgrupp."
935
936 #. type: Plain text
937 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
938 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
939 msgid ""
940 "When writing a PID into the I<cgroup.procs>, all threads in the process are "
941 "moved into the new cgroup at once."
942 msgstr ""
943 "När man skriver ett PID in i I<cgroup.procs> flyttas alla trådar i processen "
944 "in i den nya styrgruppen på en gång."
945
946 #. type: Plain text
947 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
948 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
949 msgid ""
950 "Within a hierarchy, a process can be a member of exactly one cgroup. "
951 "Writing a process's PID to a I<cgroup.procs> file automatically removes it "
952 "from the cgroup of which it was previously a member."
953 msgstr ""
954 "Inom en hierarki kan en process vara medlem av precis en styrgrupp. När man "
955 "skriver en process PID till en fil I<cgroup.procs> tas den automatiskt bort "
956 "från den styrgrupp den var medlem av tidigare."
957
958 #. type: Plain text
959 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
960 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
961 msgid ""
962 "The I<cgroup.procs> file can be read to obtain a list of the processes that "
963 "are members of a cgroup. The returned list of PIDs is not guaranteed to be "
964 "in order. Nor is it guaranteed to be free of duplicates. (For example, a "
965 "PID may be recycled while reading from the list.)"
966 msgstr ""
967 "Filen I<cgroup.procs> kan läsas för att hämta en lista på processer som är "
968 "medlemmar av en styrgrupp. Den returnerade listan av PID:er är inte "
969 "garanterat i ordning. Inte heller är den garanterat fri från upprepningar. "
970 "(Till exempel kan ett PID ha blivit återanvänt medan listan lästes.)"
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 "In cgroups v1, an individual thread can be moved to another cgroup by "
977 "writing its thread ID (i.e., the kernel thread ID returned by B<clone>(2) "
978 "and B<gettid>(2)) to the I<tasks> file in a cgroup directory. This file "
979 "can be read to discover the set of threads that are members of the cgroup."
980 msgstr ""
981 "I cgroups v1 kan en enskild tråd flyttas till en annan styrgrupp genom att "
982 "skriva dess tråd-ID (d.v.s., kärnans tråd-ID returnerat från B<clone>(2) och "
983 "B<gettid>(2)) till filen I<tasks> i en styrgruppskatalog. Denna fil kan "
984 "läsas för att se uppsättningen av trådar som är medlemmar av styrgruppen."
985
986 #. type: SS
987 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
988 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
989 #, no-wrap
990 msgid "Removing cgroups"
991 msgstr "Att ta bort styrgrupper"
992
993 #. type: Plain text
994 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
995 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
996 msgid ""
997 "To remove a cgroup, it must first have no child cgroups and contain no "
998 "(nonzombie) processes. So long as that is the case, one can simply remove "
999 "the corresponding directory pathname. Note that files in a cgroup directory "
1000 "cannot and need not be removed."
1001 msgstr ""
1002 "För att ta bort en styrgrupp får den först inte ha några barnstyrgrupper och "
1003 "inte innehålla några processer (andra än zombier). Förutsatt att det är "
1004 "fallet kan man helt enkelt ta bort motsvarande katalogsökväg. Observera att "
1005 "filer i en styrgruppskatalog inte kan och inte behöver tas bort."
1006
1007 #. type: SS
1008 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1009 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1010 #, no-wrap
1011 msgid "Cgroups v1 release notification"
1012 msgstr "Cgroups v1 notifieringar om släpp"
1013
1014 #. type: Plain text
1015 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1016 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1017 msgid ""
1018 "Two files can be used to determine whether the kernel provides notifications "
1019 "when a cgroup becomes empty. A cgroup is considered to be empty when it "
1020 "contains no child cgroups and no member processes."
1021 msgstr ""
1022 "Två filer kan användas för att avgöra huruvida kärnan skall tillhandahålla "
1023 "notifieringar när en styrgrupp blir tom. En styrgrupp anses tom när den inte "
1024 "innehåller några barnstyrgrupper och inga medlemsprocesser."
1025
1026 #. type: Plain text
1027 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1028 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1029 msgid ""
1030 "A special file in the root directory of each cgroup hierarchy, "
1031 "I<release_agent>, can be used to register the pathname of a program that may "
1032 "be invoked when a cgroup in the hierarchy becomes empty. The pathname of "
1033 "the newly empty cgroup (relative to the cgroup mount point) is provided as "
1034 "the sole command-line argument when the I<release_agent> program is "
1035 "invoked. The I<release_agent> program might remove the cgroup directory, or "
1036 "perhaps repopulate it with a process."
1037 msgstr ""
1038 "En speciell fil i rotkatalogen av varje styrgruppshierarki, "
1039 "I<release_agent>, kan användas för att registrera sökvägsnamnet till ett "
1040 "program som kan anropas när en styrgrupp i hierarkin blir tom. Sökvägen till "
1041 "den nyss tömda styrgruppen (relativt monteringspunkten för styrgrupper) ges "
1042 "som det enda kommandoradsargumentet när programmet I<release_agent> anropas. "
1043 "Programmet I<release_agent> kan ta bort styrgruppskatalogen, eller kanske "
1044 "återpopulera den med en process."
1045
1046 #. type: Plain text
1047 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1048 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1049 msgid ""
1050 "The default value of the I<release_agent> file is empty, meaning that no "
1051 "release agent is invoked."
1052 msgstr ""
1053 "Standardvärdet i filen I<release_agent> är tomt, vilket betyder att ingen "
1054 "släppagent anropas."
1055
1056 #. type: Plain text
1057 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1058 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1059 msgid ""
1060 "The content of the I<release_agent> file can also be specified via a mount "
1061 "option when the cgroup filesystem is mounted:"
1062 msgstr ""
1063 "Innehållet i filen I<release_agent> kan också anges via en monteringsflagga "
1064 "när styrgruppsfilsystemet monteras:"
1065
1066 #. type: Plain text
1067 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1068 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1069 #, no-wrap
1070 msgid "mount -o release_agent=pathname ...\n"
1071 msgstr "mount -o release_agent=sökväg …\n"
1072
1073 #. type: Plain text
1074 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1075 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1076 msgid ""
1077 "Whether or not the I<release_agent> program is invoked when a particular "
1078 "cgroup becomes empty is determined by the value in the I<notify_on_release> "
1079 "file in the corresponding cgroup directory. If this file contains the value "
1080 "0, then the I<release_agent> program is not invoked. If it contains the "
1081 "value 1, the I<release_agent> program is invoked. The default value for "
1082 "this file in the root cgroup is 0. At the time when a new cgroup is "
1083 "created, the value in this file is inherited from the corresponding file in "
1084 "the parent cgroup."
1085 msgstr ""
1086 "Huruvida programmet I<release_agent> anropas eller inte när en viss "
1087 "styrgrupp blir tom avgörs av värdet i filen I<notify_on_release> i "
1088 "motsvarande styrgruppskatalog. Om denna fil innehåller värdet 0, då anropas "
1089 "inte programmet I<release_agent>. Om den innehåller värdet 1 anropas "
1090 "programmet I<release_agent>. Standardvärdet i denna fil i rotstyrgruppen är "
1091 "0. När en ny styrgrupp skapas ärvs värdet i denna fil från motsvarande fil i "
1092 "föräldrastyrgruppen."
1093
1094 #. type: SS
1095 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1096 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1097 #, no-wrap
1098 msgid "Cgroup v1 named hierarchies"
1099 msgstr "Cgroup v1 namngivna hierarkier"
1100
1101 #. type: Plain text
1102 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1103 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1104 msgid ""
1105 "In cgroups v1, it is possible to mount a cgroup hierarchy that has no "
1106 "attached controllers:"
1107 msgstr ""
1108 "I cgroups v1 är det möjligt att montera en styrgruppshierarki som inte har "
1109 "några tillkopplade hanterare:"
1110
1111 #. type: Plain text
1112 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1113 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1114 #, no-wrap
1115 msgid "mount -t cgroup -o none,name=somename none /some/mount/point\n"
1116 msgstr "mount -t cgroup -o none,name=ngtnamn none /någon/monterings/punkt\n"
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 "Multiple instances of such hierarchies can be mounted; each hierarchy must "
1123 "have a unique name. The only purpose of such hierarchies is to track "
1124 "processes. (See the discussion of release notification below.) An example "
1125 "of this is the I<name=systemd> cgroup hierarchy that is used by "
1126 "B<systemd>(1) to track services and user sessions."
1127 msgstr ""
1128 "Flera instanser av sådana hierarkier kan monteras; varje hierarki måste ha "
1129 "ett unikt namn. Det enda syftet med sådana hierarkier är att spåra "
1130 "processer. (Se diskussionen om släppnotifieringar nedan.) Ett exempel på "
1131 "detta är styrgruppshierarkin I<name=systemd> som används av B<systemd>(1) "
1132 "för att spåra tjänster och användarsessioner."
1133
1134 #. type: Plain text
1135 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1136 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1137 msgid ""
1138 "Since Linux 5.0, the I<cgroup_no_v1> kernel boot option (described below) "
1139 "can be used to disable cgroup v1 named hierarchies, by specifying "
1140 "I<cgroup_no_v1=named>."
1141 msgstr ""
1142 "Sedan Linux 5.0 kan kärnans uppstartsflagga I<cgroup_no_v1> (beskriven "
1143 "nedan) användas till att avaktivera namngivna hierarkier inom cgroup v1, "
1144 "genom att ange I<cgroup_no_v1=namngiven>."
1145
1146 #. type: SH
1147 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1148 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1149 #, no-wrap
1150 msgid "CGROUPS VERSION 2"
1151 msgstr "CGROUPS VERSION 2"
1152
1153 #. type: Plain text
1154 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1155 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1156 msgid ""
1157 "In cgroups v2, all mounted controllers reside in a single unified "
1158 "hierarchy. While (different) controllers may be simultaneously mounted "
1159 "under the v1 and v2 hierarchies, it is not possible to mount the same "
1160 "controller simultaneously under both the v1 and the v2 hierarchies."
1161 msgstr ""
1162 "I cgroups v2 bor alla monterade hanterare i en enda sammanslagen hierarki. "
1163 "Även om (olika) hanterare kan monteras samtidigt under v1- och v2-"
1164 "hierarkierna är det inte möjligt att montera samma hanterare samtidigt under "
1165 "både v1- och v2-hierarkierna."
1166
1167 #. type: Plain text
1168 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1169 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1170 msgid ""
1171 "The new behaviors in cgroups v2 are summarized here, and in some cases "
1172 "elaborated in the following subsections."
1173 msgstr ""
1174 "De nya beteendena i cgroups v2 sammanfattas här, och utvecklas i några fall "
1175 "i de följande underavsnitten."
1176
1177 #. type: IP
1178 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1179 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1180 #, no-wrap
1181 msgid "\\[bu]"
1182 msgstr "\\[bu]"
1183
1184 #. type: Plain text
1185 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1186 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1187 msgid ""
1188 "Cgroups v2 provides a unified hierarchy against which all controllers are "
1189 "mounted."
1190 msgstr ""
1191 "Cgroups v2 tillhandahåller en sammanslagen hierarki mot vilken alla "
1192 "hanterare monteras."
1193
1194 #. type: Plain text
1195 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1196 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1197 msgid ""
1198 "\"Internal\" processes are not permitted. With the exception of the root "
1199 "cgroup, processes may reside only in leaf nodes (cgroups that do not "
1200 "themselves contain child cgroups). The details are somewhat more subtle "
1201 "than this, and are described below."
1202 msgstr ""
1203 "”Interna” processer är inte tillåtna. Med undantag av rotstyrgruppen kan "
1204 "processer endast finnas i lövnoder (styrgrupper som inte själva innehåller "
1205 "barnstyrgrupper). Detaljerna är något mer subtila än detta, och beskrivs "
1206 "nedan."
1207
1208 #. type: Plain text
1209 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1210 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1211 msgid ""
1212 "Active cgroups must be specified via the files I<cgroup.controllers> and "
1213 "I<cgroup.subtree_control>."
1214 msgstr ""
1215 "Aktiva styrgrupper måste anges via filerna I<cgroup.controllers> och "
1216 "I<cgroup.subtree_control>."
1217
1218 #. type: Plain text
1219 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1220 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1221 msgid ""
1222 "The I<tasks> file has been removed. In addition, the I<cgroup."
1223 "clone_children> file that is employed by the I<cpuset> controller has been "
1224 "removed."
1225 msgstr ""
1226 "Filen I<tasks> har tagits bort. Dessutom har filen I<cgroup.clone_children> "
1227 "som används i hanteraren I<cpuset> tagits bort."
1228
1229 #. type: Plain text
1230 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1231 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1232 msgid ""
1233 "An improved mechanism for notification of empty cgroups is provided by the "
1234 "I<cgroup.events> file."
1235 msgstr ""
1236 "En förbättrad mekanism för notifieringar om tomma styrgrupper ges av filen "
1237 "I<cgroup.events>."
1238
1239 #. type: Plain text
1240 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
1241 #: opensuse-tumbleweed
1242 msgid ""
1243 "For more changes, see the I<Documentation/admin-guide/cgroup-v2.rst> file in "
1244 "the kernel source."
1245 msgstr ""
1246 "För fler ändringar, se filen I<Documentation/admin-guide/cgroup-v2.rst> i "
1247 "kärnans källa."
1248
1249 #. type: Plain text
1250 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1251 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1252 msgid ""
1253 "Some of the new behaviors listed above saw subsequent modification with the "
1254 "addition in Linux 4.14 of \"thread mode\" (described below)."
1255 msgstr ""
1256 "Några av de nya beteendena ovan modifierades senare med tillägget i Linux "
1257 "4.14 av ”trådläge” (beskrivet nedan)."
1258
1259 #. type: SS
1260 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1261 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1262 #, no-wrap
1263 msgid "Cgroups v2 unified hierarchy"
1264 msgstr "Cgroups v2 sammanslagen hierarki"
1265
1266 #. type: Plain text
1267 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1268 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1269 msgid ""
1270 "In cgroups v1, the ability to mount different controllers against different "
1271 "hierarchies was intended to allow great flexibility for application design. "
1272 "In practice, though, the flexibility turned out to be less useful than "
1273 "expected, and in many cases added complexity. Therefore, in cgroups v2, all "
1274 "available controllers are mounted against a single hierarchy. The available "
1275 "controllers are automatically mounted, meaning that it is not necessary (or "
1276 "possible) to specify the controllers when mounting the cgroup v2 filesystem "
1277 "using a command such as the following:"
1278 msgstr ""
1279 "I cgroups v1 var möjligheten att montera olika hanterare mot olika "
1280 "hierarkier avsedd att ge en stor flexibilitet i designen av program. I "
1281 "praktiken visade sig dock flexibiliteten vara mindre användbar än förväntat, "
1282 "och i många fall lade den till komplexitet. Därför monteras i cgroups v2 "
1283 "alla tillgängliga hanterare mot en enda hierarki. De tillgängliga hanterarna "
1284 "monteras automatiskt, vilket betyder att det inte är nödvändigt (eller "
1285 "möjligt) att ange hanterarna när man monterar filsystemet för cgroups v2 med "
1286 "ett kommando som det följande:"
1287
1288 #. type: Plain text
1289 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1290 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1291 #, no-wrap
1292 msgid "mount -t cgroup2 none /mnt/cgroup2\n"
1293 msgstr "mount -t cgroup2 none /mnt/cgroup2\n"
1294
1295 #. type: Plain text
1296 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1297 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1298 msgid ""
1299 "A cgroup v2 controller is available only if it is not currently in use via a "
1300 "mount against a cgroup v1 hierarchy. Or, to put things another way, it is "
1301 "not possible to employ the same controller against both a v1 hierarchy and "
1302 "the unified v2 hierarchy. This means that it may be necessary first to "
1303 "unmount a v1 controller (as described above) before that controller is "
1304 "available in v2. Since B<systemd>(1) makes heavy use of some v1 "
1305 "controllers by default, it can in some cases be simpler to boot the system "
1306 "with selected v1 controllers disabled. To do this, specify the "
1307 "I<cgroup_no_v1=list> option on the kernel boot command line; I<list> is a "
1308 "comma-separated list of the names of the controllers to disable, or the word "
1309 "I<all> to disable all v1 controllers. (This situation is correctly handled "
1310 "by B<systemd>(1), which falls back to operating without the specified "
1311 "controllers.)"
1312 msgstr ""
1313 "En hanterare i cgroup v2 är tillgänglig endast om den inte för närvarande "
1314 "används via en montering mot en cgroup v1-hierarki. Eller, för att uttrycka "
1315 "det på ett annat sätt, är det inte möjligt att använda samma hanterare mot "
1316 "både en v1-hierarki och den sammanslagna v2-hierarkin. Detta betyder att det "
1317 "kan vara nödvändigt att först avmontera en v1-hanterare (som beskrivet ovan) "
1318 "före den hanteraren är tillgänglig i v2. Eftersom B<systemd>(1) normalt "
1319 "använder sig mycket av några v1-hanterare kan det i några fall vara enklare "
1320 "att starta med de valda v1-hanterarna avaktiverade. För att göra detta, ange "
1321 "flaggan I<cgroup_no_v1=lista> på kärnans startkommandorad; I<lista> är en "
1322 "kommaseparerad lista av namnen på hanterare att avaktivera, eller ordet "
1323 "I<all> för att avaktivera alla v1-hanterare. (Denna situation hanteras "
1324 "korrekt av B<systemd>(1) som faller tillbaka på att arbeta utan de angivna "
1325 "hanterarna.)"
1326
1327 #. type: Plain text
1328 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1329 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1330 msgid ""
1331 "Note that on many modern systems, B<systemd>(1) automatically mounts the "
1332 "I<cgroup2> filesystem at I</sys/fs/cgroup/unified> during the boot process."
1333 msgstr ""
1334 "Observera att på många moderna system monterar B<systemd>(1) automatiskt "
1335 "filsystemet I<cgroup2> på I</sys/fs/cgroup/unified> under uppstartsprocessen."
1336
1337 #. type: SS
1338 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1339 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1340 #, no-wrap
1341 msgid "Cgroups v2 mount options"
1342 msgstr "Cgroups v2 monteringsflaggor"
1343
1344 #. type: Plain text
1345 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1346 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1347 #, fuzzy
1348 #| msgid ""
1349 #| "The following options (I<mount\\~-o>) can be specified when mounting the "
1350 #| "group v2 filesystem:"
1351 msgid ""
1352 "The following options (I<mount\\ -o>) can be specified when mounting the "
1353 "group v2 filesystem:"
1354 msgstr ""
1355 "Följande flaggor (I<mount\\~-o>) kan anges vid montering av cgroup v2-"
1356 "filsystemet:"
1357
1358 #. type: TP
1359 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1360 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1361 #, no-wrap
1362 msgid "I<nsdelegate> (since Linux 4.15)"
1363 msgstr "I<nsdelegate> (sedan Linux 4.15)"
1364
1365 #. type: Plain text
1366 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1367 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1368 msgid ""
1369 "Treat cgroup namespaces as delegation boundaries. For details, see below."
1370 msgstr ""
1371 "Behandla styrgruppsnamnrymder som delegeringsgränser. För detaljer se nedan."
1372
1373 #. type: TP
1374 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1375 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1376 #, no-wrap
1377 msgid "I<memory_localevents> (since Linux 5.2)"
1378 msgstr "I<memory_localevents> (sedan Linux 5.2)"
1379
1380 #. commit 9852ae3fe5293264f01c49f2571ef7688f7823ce
1381 #. type: Plain text
1382 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
1383 #: opensuse-leap-16-1 opensuse-tumbleweed
1384 msgid ""
1385 "The I<memory.events> should show statistics only for the cgroup itself, and "
1386 "not for any descendant cgroups. This was the behavior before Linux 5.2. "
1387 "Since Linux 5.2, the default behavior is to include statistics for "
1388 "descendant cgroups in I<memory.events>, and this mount option can be used to "
1389 "revert to the legacy behavior. This option is system wide and can be set on "
1390 "mount or modified through remount only from the initial mount namespace; it "
1391 "is silently ignored in noninitial namespaces."
1392 msgstr ""
1393 "I<memory.events> skall visa statistik endast för styrgruppen själv, och inte "
1394 "för några avkommestyrgrupper. Detta var beteendet före Linux 5.2. Sedan "
1395 "Linux 5.2 är standardbeteendet att inkludera statistik för "
1396 "avkommestyrgrupper i I<memory.events>, och denna monteringsflagga kan "
1397 "användas för att återgå till det tidigare beteendet. Denna flagga är "
1398 "systemvid och kan anges vid monteringar eller ändras genom ommonteringar "
1399 "endast från den intiala monteringsnamnrymden; den ignoreras tyst i andra "
1400 "namnrymder än den initiala."
1401
1402 #. type: SS
1403 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1404 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1405 #, no-wrap
1406 msgid "Cgroups v2 controllers"
1407 msgstr "Cgroups v2-hanterare"
1408
1409 #. type: Plain text
1410 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
1411 #: opensuse-tumbleweed
1412 msgid ""
1413 "The following controllers, documented in the kernel source file "
1414 "I<Documentation/admin-guide/cgroup-v2.rst>, are supported in cgroups version "
1415 "2:"
1416 msgstr ""
1417 "Följande hanterare, dokumenterade i kärnans källfil I<Documentation/admin-"
1418 "guide/cgroup-v2.rst>, stödjs i styrgrupper version 2:"
1419
1420 #. type: TP
1421 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1422 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1423 #, no-wrap
1424 msgid "I<cpu> (since Linux 4.15)"
1425 msgstr "I<cpu> (sedan Linux 4.15)"
1426
1427 #. type: Plain text
1428 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1429 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1430 msgid ""
1431 "This is the successor to the version 1 I<cpu> and I<cpuacct> controllers."
1432 msgstr ""
1433 "Detta är efterföljaren till hanterarna I<cpu> och I<cpuacct> i version 1."
1434
1435 #. type: TP
1436 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1437 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1438 #, no-wrap
1439 msgid "I<cpuset> (since Linux 5.0)"
1440 msgstr "I<cpuset> (sedan Linux 5.0)"
1441
1442 #. type: Plain text
1443 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1444 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1445 msgid "This is the successor of the version 1 I<cpuset> controller."
1446 msgstr "Detta är efterföljaren till hanteraren I<cpuset> i version 1."
1447
1448 #. type: TP
1449 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1450 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1451 #, no-wrap
1452 msgid "I<freezer> (since Linux 5.2)"
1453 msgstr "I<freezer> (sedan Linux 5.2)"
1454
1455 #. commit 76f969e8948d82e78e1bc4beb6b9465908e74873
1456 #. type: Plain text
1457 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1458 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1459 msgid "This is the successor of the version 1 I<freezer> controller."
1460 msgstr "Detta är efterföljaren till hanteraren I<freezer> i version 1."
1461
1462 #. type: TP
1463 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1464 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1465 #, no-wrap
1466 msgid "I<hugetlb> (since Linux 5.6)"
1467 msgstr "I<hugetlb> (sedan Linux 5.6)"
1468
1469 #. type: Plain text
1470 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1471 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1472 msgid "This is the successor of the version 1 I<hugetlb> controller."
1473 msgstr "Detta är efterföljaren till hanteraren I<hugetlb> i version 1."
1474
1475 #. type: TP
1476 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1477 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1478 #, no-wrap
1479 msgid "I<io> (since Linux 4.5)"
1480 msgstr "I<io> (sedan Linux 4.5)"
1481
1482 #. type: Plain text
1483 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1484 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1485 msgid "This is the successor of the version 1 I<blkio> controller."
1486 msgstr "Detta är efterföljaren till hanteraren I<blkio> i version 1."
1487
1488 #. type: TP
1489 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1490 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1491 #, no-wrap
1492 msgid "I<memory> (since Linux 4.5)"
1493 msgstr "I<memory> (sedan Linux 4.5)"
1494
1495 #. type: Plain text
1496 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1497 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1498 msgid "This is the successor of the version 1 I<memory> controller."
1499 msgstr "Detta är efterföljaren till hanteraren I<memory> i version 1."
1500
1501 #. type: TP
1502 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1503 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1504 #, no-wrap
1505 msgid "I<perf_event> (since Linux 4.11)"
1506 msgstr "I<perf_event> (sedan Linux 4.11)"
1507
1508 #. type: Plain text
1509 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1510 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1511 msgid "This is the same as the version 1 I<perf_event> controller."
1512 msgstr "Detta är samma som hanteraren I<perf_event> i version 1."
1513
1514 #. type: TP
1515 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1516 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1517 #, no-wrap
1518 msgid "I<pids> (since Linux 4.5)"
1519 msgstr "I<pids> (sedan Linux 4.5)"
1520
1521 #. type: Plain text
1522 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1523 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1524 msgid "This is the same as the version 1 I<pids> controller."
1525 msgstr "Detta är samma som hanteraren I<pids> i version 1."
1526
1527 #. type: TP
1528 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1529 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1530 #, no-wrap
1531 msgid "I<rdma> (since Linux 4.11)"
1532 msgstr "I<rdma> (sedan Linux 4.11)"
1533
1534 #. type: Plain text
1535 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1536 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1537 msgid "This is the same as the version 1 I<rdma> controller."
1538 msgstr "Detta är samma som hanteraren I<rdma> i version 1."
1539
1540 #. type: Plain text
1541 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1542 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1543 msgid ""
1544 "There is no direct equivalent of the I<net_cls> and I<net_prio> controllers "
1545 "from cgroups version 1. Instead, support has been added to B<iptables>(8) "
1546 "to allow eBPF filters that hook on cgroup v2 pathnames to make decisions "
1547 "about network traffic on a per-cgroup basis."
1548 msgstr ""
1549 "Det finns ingen direkt motsvarighet till hanterarna I<net_cls> och "
1550 "I<net_prio> från styrgrupper version 1. Istället har stöd lagts till i "
1551 "B<iptables>(8) för att tillåta eBPF-filter att haka på sökvägar i cgroup v2 "
1552 "för att ta beslut om nätverkstrafik baserat på styrgrupp."
1553
1554 #. type: Plain text
1555 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1556 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1557 msgid ""
1558 "The v2 I<devices> controller provides no interface files; instead, device "
1559 "control is gated by attaching an eBPF (B<BPF_CGROUP_DEVICE>) program to a "
1560 "v2 cgroup."
1561 msgstr ""
1562 "Hanteraren I<devices> i v2 ger inget gränssnitt till filer; istället "
1563 "begränsas enhetsstyrningen genom att koppla ett eBPF-program "
1564 "(B<BPF_CGROUP_DEVICE>) till en v2-styrgrupp."
1565
1566 #. type: SS
1567 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1568 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1569 #, no-wrap
1570 msgid "Cgroups v2 subtree control"
1571 msgstr "Cgroups v2 underträdsstyrning"
1572
1573 #. type: Plain text
1574 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1575 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1576 msgid "Each cgroup in the v2 hierarchy contains the following two files:"
1577 msgstr "Varje styrgrupp i v2-hierarkin innehåller följande två filer:"
1578
1579 #. type: TP
1580 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1581 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1582 #, no-wrap
1583 msgid "I<cgroup.controllers>"
1584 msgstr "I<cgroup.controllers>"
1585
1586 #. type: Plain text
1587 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1588 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1589 msgid ""
1590 "This read-only file exposes a list of the controllers that are I<available> "
1591 "in this cgroup. The contents of this file match the contents of the "
1592 "I<cgroup.subtree_control> file in the parent cgroup."
1593 msgstr ""
1594 "Denna endast läsbara fil exponerar en lista av hanterarna som finns "
1595 "I<tillgängliga> i denna styrgrupp. Innehållet i denna fil motsvarar "
1596 "innehållet i filen I<cgroup.subtree_control> i föräldrastyrgruppen."
1597
1598 #. type: TP
1599 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1600 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1601 #, no-wrap
1602 msgid "I<cgroup.subtree_control>"
1603 msgstr "I<cgroup.subtree_control>"
1604
1605 #. type: Plain text
1606 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1607 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1608 msgid ""
1609 "This is a list of controllers that are I<active> (I<enabled>) in the "
1610 "cgroup. The set of controllers in this file is a subset of the set in the "
1611 "I<cgroup.controllers> of this cgroup. The set of active controllers is "
1612 "modified by writing strings to this file containing space-delimited "
1613 "controller names, each preceded by '+' (to enable a controller) or '-' (to "
1614 "disable a controller), as in the following example:"
1615 msgstr ""
1616 "Detta är en lista över hanterare som är I<aktiva> (I<aktiverade>) i "
1617 "styrgruppen. Uppsättningen av hanterare i denna fil är en delmängd av "
1618 "mängden i I<cgroup.controllers> för denna styrgrupp. Uppsättningen av aktiva "
1619 "hanterare modifieras genom att till denna fil skriva strängar som innehåller "
1620 "blankavgränsade hanterarnamn, vart och ett föregånget av ”+” (för att "
1621 "aktivera hanteraren) eller ”-” (för att avaktivera hanteraren), som i "
1622 "följande exempel:"
1623
1624 #. type: Plain text
1625 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1626 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1627 #, no-wrap
1628 msgid "echo \\[aq]+pids -memory\\[aq] E<gt> x/y/cgroup.subtree_control\n"
1629 msgstr "echo \\[aq]+pids -memory\\[aq] E<gt> x/y/cgroup.subtree_control\n"
1630
1631 #. type: Plain text
1632 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1633 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1634 msgid ""
1635 "An attempt to enable a controller that is not present in I<cgroup."
1636 "controllers> leads to an B<ENOENT> error when writing to the I<cgroup."
1637 "subtree_control> file."
1638 msgstr ""
1639 "Ett försök att aktivera en hanterare som inte finns i I<cgroup.controllers> "
1640 "medför ett fel B<ENOENT> när man skriver till filen I<cgroup."
1641 "subtree_control>."
1642
1643 #. type: Plain text
1644 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1645 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1646 msgid ""
1647 "Because the list of controllers in I<cgroup.subtree_control> is a subset of "
1648 "those I<cgroup.controllers>, a controller that has been disabled in one "
1649 "cgroup in the hierarchy can never be re-enabled in the subtree below that "
1650 "cgroup."
1651 msgstr ""
1652 "Eftersom listan av hanterare i I<cgroup.subtree_control> är en delmängd av "
1653 "dem i I<cgroup.controllers> kan en hanterare som har avaktiverats i en "
1654 "styrgrupp i hierarkin aldrig återaktiveras i underträdet nedanför den "
1655 "styrgruppen."
1656
1657 #. type: Plain text
1658 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1659 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1660 msgid ""
1661 "A cgroup's I<cgroup.subtree_control> file determines the set of controllers "
1662 "that are exercised in the I<child> cgroups. When a controller (e.g., "
1663 "I<pids>) is present in the I<cgroup.subtree_control> file of a parent "
1664 "cgroup, then the corresponding controller-interface files (e.g., I<pids."
1665 "max>) are automatically created in the children of that cgroup and can be "
1666 "used to exert resource control in the child cgroups."
1667 msgstr ""
1668 "En styrgrupps fil I<cgroup.subree_control> avgör uppsättningen hanterare som "
1669 "används i I<barn>styrgruppen. När en hanterare (t.ex., I<pids>) finns i "
1670 "filen I<cgroup.subtree_control> i en föräldrastyrgrupp, då skapas "
1671 "automatiskt motsvarande hanterargränssnittsfiler (t.ex., I<pids.max>) i "
1672 "barnen till den styrgruppen och kan användas för att utöva resursstyrning i "
1673 "barnstyrgrupperna."
1674
1675 #. type: SS
1676 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1677 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1678 #, no-wrap
1679 msgid "Cgroups v2 \\[dq]no internal processes\\[dq] rule"
1680 msgstr "Cgroups v2-regeln \\[dq]inga interna processer\\[dq]"
1681
1682 #. type: Plain text
1683 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1684 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1685 msgid ""
1686 "Cgroups v2 enforces a so-called \"no internal processes\" rule. Roughly "
1687 "speaking, this rule means that, with the exception of the root cgroup, "
1688 "processes may reside only in leaf nodes (cgroups that do not themselves "
1689 "contain child cgroups). This avoids the need to decide how to partition "
1690 "resources between processes which are members of cgroup A and processes in "
1691 "child cgroups of A."
1692 msgstr ""
1693 "Cgroups v2 upprätthåller en så kallad ”inga interna processer”-regel. Grovt "
1694 "uttryckt betyder denna regel att, med undantag för rotstyrgruppen, processer "
1695 "endast får bo i lövnoder (styrgrupper som inte själva innehåller "
1696 "barnstyrgrupper). Detta undviker behovet av att avgöra hur resurser skall "
1697 "fördelas mellan processer som är medlemmar av en styrgrupp A och processer i "
1698 "barnstyrgrupper till A."
1699
1700 #. type: Plain text
1701 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1702 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1703 msgid ""
1704 "For instance, if cgroup I</cg1/cg2> exists, then a process may reside in I</"
1705 "cg1/cg2>, but not in I</cg1>. This is to avoid an ambiguity in cgroups v1 "
1706 "with respect to the delegation of resources between processes in I</cg1> and "
1707 "its child cgroups. The recommended approach in cgroups v2 is to create a "
1708 "subdirectory called I<leaf> for any nonleaf cgroup which should contain "
1709 "processes, but no child cgroups. Thus, processes which previously would "
1710 "have gone into I</cg1> would now go into I</cg1/leaf>. This has the "
1711 "advantage of making explicit the relationship between processes in I</cg1/"
1712 "leaf> and I</cg1>'s other children."
1713 msgstr ""
1714 "Till exempel, om styrgruppen I</sg1/sg2> finns, då kan en process bo i I</"
1715 "sg1/sg2>, men inte i I</sg1>. Detta är så för att undvika en tvetydighet i "
1716 "cgroups v1 med avseende på delegationen av resurser mellan processer i I</"
1717 "sg1> och dess barnstyrgrupper. Det rekommenderade sättet i cgroups v2 är att "
1718 "skapa en underkatalog som heter I<leaf> för alla styrgrupper som inte är "
1719 "löv, vilken skall innehålla processer men inga barnstyrgrupper. Alltså, "
1720 "processer vilka tidigare skulle ha hamnat i I</sg1> skulle nu hamna i I</sg1/"
1721 "leaf>. Detta har fördelen att göra relationen mellan processer i I</sg1/"
1722 "leaf> och I</sg1>s andra barn explicit."
1723
1724 #. type: Plain text
1725 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1726 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1727 msgid ""
1728 "The \"no internal processes\" rule is in fact more subtle than stated "
1729 "above. More precisely, the rule is that a (nonroot) cgroup can't both (1) "
1730 "have member processes, and (2) distribute resources into child "
1731 "cgroups\\[em]that is, have a nonempty I<cgroup.subtree_control> file. Thus, "
1732 "it I<is> possible for a cgroup to have both member processes and child "
1733 "cgroups, but before controllers can be enabled for that cgroup, the member "
1734 "processes must be moved out of the cgroup (e.g., perhaps into the child "
1735 "cgroups)."
1736 msgstr ""
1737 "Regeln om ”inga interna processer” är i verkligheten mer subtil än den "
1738 "uttrycks ovan. Mer exakt är regeln att en styrgrupp (annan än roten) inte "
1739 "både kan (1) ha medlemsprocesser, och (2) distribuera resurser till "
1740 "barnstyrgrupper \\[em] det vill säga, ha en fil I<cgroup.subtree_control> "
1741 "som inte är tom. Alltså I<är> det möjligt för en styrgrupp att både ha "
1742 "medlemsprocesser och barnstyrgrupper, men före några hanterare kan aktiveras "
1743 "för den styrgruppen måste medlemsprocesserna flyttas ut ur styrgruppen (t."
1744 "ex., kanske in i barnstyrgrupperna)."
1745
1746 #. type: Plain text
1747 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1748 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1749 msgid ""
1750 "With the Linux 4.14 addition of \"thread mode\" (described below), the \"no "
1751 "internal processes\" rule has been relaxed in some cases."
1752 msgstr ""
1753 "Med tillägget i Linux 4.14 av ”trådat läge” (beskrivet nedan) har regeln om "
1754 "”inga interna processer” blivit friare i några fall."
1755
1756 #. type: SS
1757 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1758 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1759 #, no-wrap
1760 msgid "Cgroups v2 cgroup.events file"
1761 msgstr "Cgroups v2 fil cgroup.events"
1762
1763 #. type: Plain text
1764 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1765 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1766 msgid ""
1767 "Each nonroot cgroup in the v2 hierarchy contains a read-only file, I<cgroup."
1768 "events>, whose contents are key-value pairs (delimited by newline "
1769 "characters, with the key and value separated by spaces) providing state "
1770 "information about the cgroup:"
1771 msgstr ""
1772 "Varje styrgrupp annan än roten i v2-hierarkin innehåller en fil endast för "
1773 "läsning, I<cgroup.events>, vars innehåll är nyckel-värde-par (begränsade med "
1774 "nyradstecken, med nyckeln och värdet separerade med blanktecken) som ger "
1775 "information om styrgruppen."
1776
1777 #. type: Plain text
1778 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
1779 #: opensuse-tumbleweed
1780 #, no-wrap
1781 msgid ""
1782 "$B< cat mygrp/cgroup.events>\n"
1783 "populated 1\n"
1784 "frozen 0\n"
1785 msgstr ""
1786 "$B< cat mingrp/cgroup.events>\n"
1787 "populated 1\n"
1788 "frozen 0\n"
1789
1790 #. type: Plain text
1791 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1792 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1793 msgid "The following keys may appear in this file:"
1794 msgstr "Följande nycklar kan förekomma i denna fil:"
1795
1796 #. type: TP
1797 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1798 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1799 #, no-wrap
1800 msgid "I<populated>"
1801 msgstr "I<populated>"
1802
1803 #. type: Plain text
1804 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1805 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1806 msgid ""
1807 "The value of this key is either 1, if this cgroup or any of its descendants "
1808 "has member processes, or otherwise 0."
1809 msgstr ""
1810 "Värdet på denna nyckel är antingen 1, om denna styrgrupp eller någon av dess "
1811 "avkommor har medlemsprocesser, annars 0."
1812
1813 #. type: TP
1814 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1815 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1816 #, no-wrap
1817 msgid "I<frozen> (since Linux 5.2)"
1818 msgstr "I<frozen> (sedan Linux 5.2)"
1819
1820 #. commit 76f969e8948d82e78e1bc4beb6b9465908e7487
1821 #. type: Plain text
1822 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1823 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1824 msgid ""
1825 "The value of this key is 1 if this cgroup is currently frozen, or 0 if it is "
1826 "not."
1827 msgstr ""
1828 "Värdet på denna nyckel är 1 om denna styrgrupp för närvarande är frusen, "
1829 "eller 0 om den inte är det."
1830
1831 #. type: Plain text
1832 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1833 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1834 msgid ""
1835 "The I<cgroup.events> file can be monitored, in order to receive notification "
1836 "when the value of one of its keys changes. Such monitoring can be done "
1837 "using B<inotify>(7), which notifies changes as B<IN_MODIFY> events, or "
1838 "B<poll>(2), which notifies changes by returning the B<POLLPRI> and "
1839 "B<POLLERR> bits in the I<revents> field."
1840 msgstr ""
1841 "Filen I<cgroup.events> kan övervakas för att ta emot notifieringar när "
1842 "värdet på en av dess nycklar ändras. Sådan övervakning kan göras med "
1843 "B<inotify>(7), vilket notifierar om ändringar som B<IN_MODIFY>-händelser, "
1844 "eller B<poll>(2), vilket notifierar om ändringar genom att returnera bitarna "
1845 "B<POLLPRI> och B<POLLERR> i fältet I<revents>."
1846
1847 #. type: SS
1848 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1849 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1850 #, no-wrap
1851 msgid "Cgroup v2 release notification"
1852 msgstr "Cgroup v2 släppnotifieringar"
1853
1854 #. type: Plain text
1855 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1856 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1857 msgid ""
1858 "Cgroups v2 provides a new mechanism for obtaining notification when a cgroup "
1859 "becomes empty. The cgroups v1 I<release_agent> and I<notify_on_release> "
1860 "files are removed, and replaced by the I<populated> key in the I<cgroup."
1861 "events> file. This key either has the value 0, meaning that the cgroup (and "
1862 "its descendants) contain no (nonzombie) member processes, or 1, meaning "
1863 "that the cgroup (or one of its descendants) contains member processes."
1864 msgstr ""
1865 "Cgroups v2 tillhandahåller en ny mekanism för att få notifieringar när en "
1866 "styrgrupp blir tom. Filerna I<release_agent> och I<notify_on_release> är "
1867 "borttagna, och ersatta av nyckeln I<populated> i filen I<cgroup.events>. "
1868 "Denna nyckel har antingen värdet 0, vilket betyder att styrgruppen (och dess "
1869 "avkommor) inte innehåller några medlemsprocesser (andra än zombier), eller "
1870 "1, vilket betyder att styrgruppen (eller en av dess avkommor) innehåller "
1871 "medlemsprocesser."
1872
1873 #. type: Plain text
1874 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1875 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1876 msgid ""
1877 "The cgroups v2 release-notification mechanism offers the following "
1878 "advantages over the cgroups v1 I<release_agent> mechanism:"
1879 msgstr ""
1880 "Mekanismen för släppnotifieringar i cgroups v2 ger följande fördelar framför "
1881 "mekanismen I<release_agent> i cgroups v1:"
1882
1883 #. type: Plain text
1884 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1885 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1886 msgid ""
1887 "It allows for cheaper notification, since a single process can monitor "
1888 "multiple I<cgroup.events> files (using the techniques described earlier). "
1889 "By contrast, the cgroups v1 mechanism requires the expense of creating a "
1890 "process for each notification."
1891 msgstr ""
1892 "Den tillåter billigare notifiering, eftersom en enda process kan övervaka "
1893 "flera I<cgroup.events>-filer (med teknikerna som beskrivs tidigare). Däremot "
1894 "medför mekanismen i cgroups v1 kostnaden i att skapa en process för varje "
1895 "notifiering."
1896
1897 #. type: Plain text
1898 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1899 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1900 msgid ""
1901 "Notification for different cgroup subhierarchies can be delegated to "
1902 "different processes. By contrast, the cgroups v1 mechanism allows only one "
1903 "release agent for an entire hierarchy."
1904 msgstr ""
1905 "Notifieringar för olika underhierarkier av styrgrupper kan delegeras till "
1906 "andra processer. Däremot tillåter mekanismen i cgroups v1 endast en "
1907 "släppagent för en hel hierarki."
1908
1909 #. type: SS
1910 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1911 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1912 #, no-wrap
1913 msgid "Cgroups v2 cgroup.stat file"
1914 msgstr "Cgroups v2 filen cgroup.stat"
1915
1916 #. commit ec39225cca42c05ac36853d11d28f877fde5c42e
1917 #. type: Plain text
1918 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1919 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1920 msgid ""
1921 "Each cgroup in the v2 hierarchy contains a read-only I<cgroup.stat> file "
1922 "(first introduced in Linux 4.14) that consists of lines containing key-"
1923 "value pairs. The following keys currently appear in this file:"
1924 msgstr ""
1925 "Varje styrgrupp i v2-hierarkin innehåller en fil I<cgroup.stat> endast för "
1926 "läsning (först introducerad i Linux 4.14) som består av rader som innehåller "
1927 "nyckel-värde-par. Följande nycklar finns för närvarande i denna fil:"
1928
1929 #. type: TP
1930 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1931 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1932 #, no-wrap
1933 msgid "I<nr_descendants>"
1934 msgstr "I<nr_descendants>"
1935
1936 #. type: Plain text
1937 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1938 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1939 msgid ""
1940 "This is the total number of visible (i.e., living) descendant cgroups "
1941 "underneath this cgroup."
1942 msgstr ""
1943 "Detta är det totala antalet synliga (d.v.s., levande) avkommestyrgrupper "
1944 "under denna styrgrupp."
1945
1946 #. type: TP
1947 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1948 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1949 #, no-wrap
1950 msgid "I<nr_dying_descendants>"
1951 msgstr "I<nr_dying_descendants>"
1952
1953 #. type: Plain text
1954 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1955 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1956 msgid ""
1957 "This is the total number of dying descendant cgroups underneath this "
1958 "cgroup. A cgroup enters the dying state after being deleted. It remains in "
1959 "that state for an undefined period (which will depend on system load) while "
1960 "resources are freed before the cgroup is destroyed. Note that the presence "
1961 "of some cgroups in the dying state is normal, and is not indicative of any "
1962 "problem."
1963 msgstr ""
1964 "Detta är det totala antalet döende avkommestyrgrupper under denna styrgrupp. "
1965 "En styrgrupp går in i tillståndet döende efter att ha tagits bort. Den finns "
1966 "kvar i detta tillstånd under en odefinierad period (vilken kommer bero på "
1967 "systemets last) medan resurser frigörs innan styrgruppen förstörs. Observera "
1968 "att förekomsten av några styrgrupper i tillståndet döende är normalt och "
1969 "indikerar inte något problem."
1970
1971 #. type: Plain text
1972 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1973 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1974 msgid ""
1975 "A process can't be made a member of a dying cgroup, and a dying cgroup can't "
1976 "be brought back to life."
1977 msgstr ""
1978 "En process kan inte göras till medlem av en döende styrgrupp, och en döende "
1979 "styrgrupp kan inte återupplivas."
1980
1981 #. type: SS
1982 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1983 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1984 #, no-wrap
1985 msgid "Limiting the number of descendant cgroups"
1986 msgstr "Begränsning av antalet avkommestyrgrupper"
1987
1988 #. type: Plain text
1989 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1990 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1991 msgid ""
1992 "Each cgroup in the v2 hierarchy contains the following files, which can be "
1993 "used to view and set limits on the number of descendant cgroups under that "
1994 "cgroup:"
1995 msgstr ""
1996 "Varje styrgrupp i v2-hierarkin innehåller följande filer, vilka kan användas "
1997 "för att visa och sätta begränsningar på antalet avkommestyrgrupper under den "
1998 "styrgruppen:"
1999
2000 #. type: TP
2001 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2002 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2003 #, no-wrap
2004 msgid "I<cgroup.max.depth> (since Linux 4.14)"
2005 msgstr "I<cgroup.max.depth> (sedan Linux 4.14)"
2006
2007 #. commit 1a926e0bbab83bae8207d05a533173425e0496d1
2008 #. type: Plain text
2009 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2010 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2011 msgid ""
2012 "This file defines a limit on the depth of nesting of descendant cgroups. A "
2013 "value of 0 in this file means that no descendant cgroups can be created. An "
2014 "attempt to create a descendant whose nesting level exceeds the limit fails "
2015 "(I<mkdir>(2) fails with the error B<EAGAIN>)."
2016 msgstr ""
2017 "Denna fil definerar en gräns på nästningsdjupet för avkommestyrgrupper. "
2018 "Värdet 0 i denna fil betyder att inga avkommestyrgrupper kan skapas. Ett "
2019 "försök att skapa en avkomma vars nästningsnivå överskrider gränsen "
2020 "misslyckas (I<mkdir>(2) misslyckas med felet B<EAGAIN>)."
2021
2022 #. type: Plain text
2023 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2024 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2025 msgid ""
2026 "Writing the string I<\\[dq]max\\[dq]> to this file means that no limit is "
2027 "imposed. The default value in this file is I<\\[dq]max\\[dq]>."
2028 msgstr ""
2029 "Att skriva strängen I<\\[dq]max\\[dq]> till denna fil betyder att ingen "
2030 "begränsning görs. Standardvärdet i denna fil är I<\\[dq]max\\[dq]>."
2031
2032 #. type: TP
2033 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2034 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2035 #, no-wrap
2036 msgid "I<cgroup.max.descendants> (since Linux 4.14)"
2037 msgstr "I<cgroup.max.descendants> (sedan Linux 4.14)"
2038
2039 #. commit 1a926e0bbab83bae8207d05a533173425e0496d1
2040 #. type: Plain text
2041 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2042 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2043 msgid ""
2044 "This file defines a limit on the number of live descendant cgroups that this "
2045 "cgroup may have. An attempt to create more descendants than allowed by the "
2046 "limit fails (I<mkdir>(2) fails with the error B<EAGAIN>)."
2047 msgstr ""
2048 "Denna fil definierar en gräns på antalet levande avkommestyrgrupper som "
2049 "denna styrgrupp får ha. Ett försök att skapa fler avkommor än tillåtet av "
2050 "denna gräns misslyckas (I<mkdir>(2) misslyckas med felet B<EAGAIN>)."
2051
2052 #. type: SH
2053 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2054 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2055 #, no-wrap
2056 msgid "CGROUPS DELEGATION: DELEGATING A HIERARCHY TO A LESS PRIVILEGED USER"
2057 msgstr "STYRGRUPPSDELEGERING: ATT DELEGERA EN HIERARKI TILL EN MINDRE PRIVILEGIERAD ANVÄNDARE"
2058
2059 #. type: Plain text
2060 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2061 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2062 msgid ""
2063 "In the context of cgroups, delegation means passing management of some "
2064 "subtree of the cgroup hierarchy to a nonprivileged user. Cgroups v1 "
2065 "provides support for delegation based on file permissions in the cgroup "
2066 "hierarchy but with less strict containment rules than v2 (as noted below). "
2067 "Cgroups v2 supports delegation with containment by explicit design. The "
2068 "focus of the discussion in this section is on delegation in cgroups v2, with "
2069 "some differences for cgroups v1 noted along the way."
2070 msgstr ""
2071 "I styrgruppssammanhang betyder delegering att man överlåter hanteringen av "
2072 "något underträd av denna styrgruppshierarki till en oprivilegierad "
2073 "användare. Cgroups v1 ger stöd för delegering baserat på filrättigheter i "
2074 "styrgruppshierarkin men med mindre strikta begränsningsregler än v2 (som "
2075 "noteras nedan). Cgroups v2 stödjer delegering med begränsningar genom en "
2076 "explicit design. Fokuset för diskussionen i detta avsnitt är på delegering i "
2077 "cgroups v2, med några avvikelser för cgroups v1 nämnda längs vägen."
2078
2079 #. type: Plain text
2080 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2081 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2082 msgid ""
2083 "Some terminology is required in order to describe delegation. A "
2084 "I<delegater> is a privileged user (i.e., root) who owns a parent cgroup. A "
2085 "I<delegatee> is a nonprivileged user who will be granted the permissions "
2086 "needed to manage some subhierarchy under that parent cgroup, known as the "
2087 "I<delegated subtree>."
2088 msgstr ""
2089 "Lite terminologi krävs för att beskriva delegering. En I<delegerare> är en "
2090 "privilegierad användare (d.v.s., root) som äger en föräldrastyrgrupp. En "
2091 "I<delegat> är en oprivilegierad användare som kommer få rättigheterna som "
2092 "behövs för att hantera någon underhierarki under föräldrastyrgruppen, känt "
2093 "som det I<delegerade underträdet>."
2094
2095 #. type: Plain text
2096 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2097 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2098 msgid ""
2099 "To perform delegation, the delegater makes certain directories and files "
2100 "writable by the delegatee, typically by changing the ownership of the "
2101 "objects to be the user ID of the delegatee. Assuming that we want to "
2102 "delegate the hierarchy rooted at (say) I</dlgt_grp> and that there are not "
2103 "yet any child cgroups under that cgroup, the ownership of the following is "
2104 "changed to the user ID of the delegatee:"
2105 msgstr ""
2106 "För att utföra en delegering gör delegeraren vissa kataloger och filer "
2107 "skrivbara för delegaten, typiskt genom att ändra ägarskap på objekten till "
2108 "att vara användar-ID:t för delegaten. Om vi antar att vi vill delegera "
2109 "hierarkin med rot vid (förslagsvis) I</dlgt_grp> och att det inte ännu finns "
2110 "några barnstyrgrupper under den styrgruppen, då ändras ägandet av följande "
2111 "till användar-ID:t för delegaten:"
2112
2113 #. type: TP
2114 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2115 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2116 #, no-wrap
2117 msgid "I</dlgt_grp>"
2118 msgstr "I</dlgt_grp>"
2119
2120 #. type: Plain text
2121 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2122 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2123 msgid ""
2124 "Changing the ownership of the root of the subtree means that any new cgroups "
2125 "created under the subtree (and the files they contain) will also be owned "
2126 "by the delegatee."
2127 msgstr ""
2128 "Att ändra ägarskap på roten till underträdet betyder att eventuella nya "
2129 "styrgrupper som skapas under det underträdet (och filerna de innehåller) "
2130 "också kommer ägas av delegaten."
2131
2132 #. type: TP
2133 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2134 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2135 #, no-wrap
2136 msgid "I</dlgt_grp/cgroup.procs>"
2137 msgstr "I</dlgt_grp/cgroup.procs>"
2138
2139 #. type: Plain text
2140 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2141 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2142 msgid ""
2143 "Changing the ownership of this file means that the delegatee can move "
2144 "processes into the root of the delegated subtree."
2145 msgstr ""
2146 "Att ändra ägandet av den här filen betyder att delegaten kan flytta "
2147 "processer in i roten av det delegerade underträdet."
2148
2149 #. type: TP
2150 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2151 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2152 #, no-wrap
2153 msgid "I</dlgt_grp/cgroup.subtree_control> (cgroups v2 only)"
2154 msgstr "I</dlgt_grp/cgroup.subtree_control> (endast cgroups v2)"
2155
2156 #. type: Plain text
2157 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2158 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2159 msgid ""
2160 "Changing the ownership of this file means that the delegatee can enable "
2161 "controllers (that are present in I</dlgt_grp/cgroup.controllers>) in order "
2162 "to further redistribute resources at lower levels in the subtree. (As an "
2163 "alternative to changing the ownership of this file, the delegater might "
2164 "instead add selected controllers to this file.)"
2165 msgstr ""
2166 "Att ändra ägandet av den här filen betyder att delegaten kan aktivera "
2167 "hanterare (som finns i I</dlgt_grp/cgroup.controllers>) för att vidare "
2168 "omfördela resurser till lägre nivåer i underträdet. (Som ett alternativ till "
2169 "att ändra ägandet av denna fil kan delegeraren istället lägga till valda "
2170 "hanterare till denna fil.)"
2171
2172 #. type: TP
2173 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2174 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2175 #, no-wrap
2176 msgid "I</dlgt_grp/cgroup.threads> (cgroups v2 only)"
2177 msgstr "I</dlgt_grp/cgroup.threads> (endast cgroups v2)"
2178
2179 #. type: Plain text
2180 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2181 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2182 msgid ""
2183 "Changing the ownership of this file is necessary if a threaded subtree is "
2184 "being delegated (see the description of \"thread mode\", below). This "
2185 "permits the delegatee to write thread IDs to the file. (The ownership of "
2186 "this file can also be changed when delegating a domain subtree, but "
2187 "currently this serves no purpose, since, as described below, it is not "
2188 "possible to move a thread between domain cgroups by writing its thread ID to "
2189 "the I<cgroup.threads> file.)"
2190 msgstr ""
2191 "Att ändra ägandet av den här filen är nödvändigt om ett trådat underträd "
2192 "delegeras (se beskrivningen av ”trådläge”, nedan). Detta tillåter delegaten "
2193 "att skriva tråd-ID:n till filen. (Ägandet av den här filen kan även ändras "
2194 "när man delegerar ett domänunderträd, men för närvarande fyller det inget "
2195 "syfte eftersom, vilket beskrivs nedan, det inte är möjligt att flytta en "
2196 "tråd mellan domänstyrgrupper genom att skriva dess tråd-ID till filen "
2197 "I<cgroups.thread>.)"
2198
2199 #. type: Plain text
2200 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2201 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2202 msgid ""
2203 "In cgroups v1, the corresponding file that should instead be delegated is "
2204 "the I<tasks> file."
2205 msgstr ""
2206 "I cgroups v1 är istället motsvarande fil som skall delegeras filen I<tasks>."
2207
2208 #. type: Plain text
2209 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2210 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2211 msgid ""
2212 "The delegater should I<not> change the ownership of any of the controller "
2213 "interfaces files (e.g., I<pids.max>, I<memory.high>) in I<dlgt_grp>. Those "
2214 "files are used from the next level above the delegated subtree in order to "
2215 "distribute resources into the subtree, and the delegatee should not have "
2216 "permission to change the resources that are distributed into the delegated "
2217 "subtree."
2218 msgstr ""
2219 "Delegeraren skall I<inte> ändra ägaren av någon annan av hanterarens "
2220 "gränssnittsfiler (t.ex., I<pids.max>, I<memory.high>) i I<dlgt_grp>. Dessa "
2221 "filer används från nästa nivå ovanför det delegerade underträdet för att "
2222 "fördela resurser in i underträdet, och delegaten skall inte ha rätt att "
2223 "ändra resurserna som fördelas in i det delegerade underträdet."
2224
2225 #. type: Plain text
2226 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2227 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2228 msgid ""
2229 "See also the discussion of the I</sys/kernel/cgroup/delegate> file in NOTES "
2230 "for information about further delegatable files in cgroups v2."
2231 msgstr ""
2232 "Se även diskussionen om filen I</sys/kernel/cgroup/delegate> i NOTERINGAR "
2233 "för information om ytterligare delegerbara filer i cgroups v2."
2234
2235 #. type: Plain text
2236 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2237 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2238 msgid ""
2239 "After the aforementioned steps have been performed, the delegatee can create "
2240 "child cgroups within the delegated subtree (the cgroup subdirectories and "
2241 "the files they contain will be owned by the delegatee) and move processes "
2242 "between cgroups in the subtree. If some controllers are present in "
2243 "I<dlgt_grp/cgroup.subtree_control>, or the ownership of that file was passed "
2244 "to the delegatee, the delegatee can also control the further redistribution "
2245 "of the corresponding resources into the delegated subtree."
2246 msgstr ""
2247 "Efter att de tidigare nämnda stegen har utförts kan delegaten skapa "
2248 "barnstyrgrupper inom det delegerade underträdet (styrgruppens underkataloger "
2249 "och filerna de innehåller kommer att ägas av delegaten) och flytta processer "
2250 "mellan styrgrupper i underträdet. Om några hanterare finns i I<dlgt_grp/"
2251 "cgroup.subtree_control>, eller om ägandet av den filen överläts på "
2252 "delegaten, kan delegaten även styra den vidare omfördelningen av motsvarande "
2253 "resurser in i det delegerade underträdet."
2254
2255 #. type: SS
2256 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2257 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2258 #, no-wrap
2259 msgid "Cgroups v2 delegation: nsdelegate and cgroup namespaces"
2260 msgstr "Cgroups v2-delegering: nsdelegate och styrgruppsnamnrymder"
2261
2262 #. commit 5136f6365ce3eace5a926e10f16ed2a233db5ba9
2263 #. type: Plain text
2264 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2265 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2266 msgid ""
2267 "Starting with Linux 4.13, there is a second way to perform cgroup delegation "
2268 "in the cgroups v2 hierarchy. This is done by mounting or remounting the "
2269 "cgroup v2 filesystem with the I<nsdelegate> mount option. For example, if "
2270 "the cgroup v2 filesystem has already been mounted, we can remount it with "
2271 "the I<nsdelegate> option as follows:"
2272 msgstr ""
2273 "Med start i Linux 4.13 finns det även ett andra sätt att utföra "
2274 "styrgruppsdelegering i cgroups v2-hierarkin. Detta görs genom att montera "
2275 "eller montera om cgroups v2-filsystemet med monteringsflaggan I<nsdelegate>. "
2276 "Till exempel, om cgroup v2-filsystemet redan har monterats kan vi montera om "
2277 "det med flaggan I<nsdelegate> så här:"
2278
2279 #. type: Plain text
2280 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2281 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2282 #, no-wrap
2283 msgid ""
2284 "mount -t cgroup2 -o remount,nsdelegate \\[rs]\n"
2285 " none /sys/fs/cgroup/unified\n"
2286 msgstr ""
2287 "mount -t cgroup2 -o remount,nsdelegate \\[rs]\n"
2288 " none /sys/fs/cgroup/unified\n"
2289
2290 #. type: Plain text
2291 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2292 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2293 msgid ""
2294 "The effect of this mount option is to cause cgroup namespaces to "
2295 "automatically become delegation boundaries. More specifically, the "
2296 "following restrictions apply for processes inside the cgroup namespace:"
2297 msgstr ""
2298 "Effekten av denna monteringsflagga är att den får styrgruppsnamnrymder att "
2299 "automatiskt bli delegeringsgränser. Mer specifikt gäller följande "
2300 "restriktioner för processer inuti styrgruppsnamnrymden:"
2301
2302 #. type: Plain text
2303 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2304 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2305 msgid ""
2306 "Writes to controller interface files in the root directory of the namespace "
2307 "will fail with the error B<EPERM>. Processes inside the cgroup namespace "
2308 "can still write to delegatable files in the root directory of the cgroup "
2309 "namespace such as I<cgroup.procs> and I<cgroup.subtree_control>, and can "
2310 "create subhierarchy underneath the root directory."
2311 msgstr ""
2312 "Skrivningar till hanterarens gränssnittsfiler i namnrymdens rotkatalog "
2313 "kommer misslyckas med felet B<EPERM>. Processer inuti styrgruppsnamnrymden "
2314 "kan fortfarande skriva till delegerbara filer i styrgruppsnamnrymdens "
2315 "rotkatalog såsom I<cgroup.procs> och I<cgroup.subtree_control>, och kan "
2316 "skapa underhierarkier under rotkatalogen."
2317
2318 #. type: Plain text
2319 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2320 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2321 msgid ""
2322 "Attempts to migrate processes across the namespace boundary are denied (with "
2323 "the error B<ENOENT>). Processes inside the cgroup namespace can still "
2324 "(subject to the containment rules described below) move processes between "
2325 "cgroups I<within> the subhierarchy under the namespace root."
2326 msgstr ""
2327 "Försök att migrera processer över namnrymdsgränsen förhindras (med felet "
2328 "B<ENOENT>). Processer inuti styrgruppsnamnrymden kan fortfarande (med hänsyn "
2329 "tagen till inneslutningsreglerna som beskrivs nedan) flytta processer mellan "
2330 "styrgrupper I<inom> underhierarkin under namnrymdsroten."
2331
2332 #. type: Plain text
2333 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2334 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2335 msgid ""
2336 "The ability to define cgroup namespaces as delegation boundaries makes "
2337 "cgroup namespaces more useful. To understand why, suppose that we already "
2338 "have one cgroup hierarchy that has been delegated to a nonprivileged user, "
2339 "I<cecilia>, using the older delegation technique described above. Suppose "
2340 "further that I<cecilia> wanted to further delegate a subhierarchy under the "
2341 "existing delegated hierarchy. (For example, the delegated hierarchy might "
2342 "be associated with an unprivileged container run by I<cecilia>.) Even if a "
2343 "cgroup namespace was employed, because both hierarchies are owned by the "
2344 "unprivileged user I<cecilia>, the following illegitimate actions could be "
2345 "performed:"
2346 msgstr ""
2347 "Möjligheten att definiera styrgruppsnamnrymder som delegeringsgränser gör "
2348 "styrgruppsnamnrymder mer användbara. För att förstå varför, anta att vi "
2349 "redan har en styrgruppshierarki som har delegerats till en oprivilegierad "
2350 "användare, I<cecilia>, med den äldre delegeringstekniken som beskrivs ovan. "
2351 "Anta vidare att I<cecilia> vill delegera en underhierarki vidare under den "
2352 "befintliga delegerade hierarkin. (Till exempel kanske den delegerade "
2353 "hierarkin kan vara associerad med en oprivilegierad behållare som körs av "
2354 "I<cecilia>.) Även om en styrgruppsnamnrymd användes skulle, eftersom båda "
2355 "hierarkierna ägs av den oprivilegierade användaren I<cecilia>, följande "
2356 "illegitima åtgärder kunna utföras."
2357
2358 #. type: Plain text
2359 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2360 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2361 msgid ""
2362 "A process in the inferior hierarchy could change the resource controller "
2363 "settings in the root directory of that hierarchy. (These resource "
2364 "controller settings are intended to allow control to be exercised from the "
2365 "I<parent> cgroup; a process inside the child cgroup should not be allowed to "
2366 "modify them.)"
2367 msgstr ""
2368 "En process i den underliggande hierarkin skulle kunna ändra "
2369 "resurshanterarens inställningar i hierarkins rotkatalog. (Dessa "
2370 "resurshanterares inställningar är avsedda att möjliggöra utövandet av "
2371 "styrning från I<föräldra>styrgruppen; en process inuti barngruppen skall "
2372 "inte få ändra dem.)"
2373
2374 #. type: Plain text
2375 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2376 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2377 msgid ""
2378 "A process inside the inferior hierarchy could move processes into and out of "
2379 "the inferior hierarchy if the cgroups in the superior hierarchy were somehow "
2380 "visible."
2381 msgstr ""
2382 "En process inuti den underliggande hierarkin skulle kunna flytta processer "
2383 "in i och ut ur den underliggande hierarkin om styrgrupperna i den "
2384 "överliggande hierarkin på något sätt var synliga."
2385
2386 #. type: Plain text
2387 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2388 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2389 msgid ""
2390 "Employing the I<nsdelegate> mount option prevents both of these "
2391 "possibilities."
2392 msgstr ""
2393 "Genom att använda monteringsflaggan I<nsdelegate> förhindras båda dessa "
2394 "möjligheter."
2395
2396 #. type: Plain text
2397 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2398 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2399 msgid ""
2400 "The I<nsdelegate> mount option only has an effect when performed in the "
2401 "initial mount namespace; in other mount namespaces, the option is silently "
2402 "ignored."
2403 msgstr ""
2404 "Monteringsflaggan I<nsdelegate> har bara någon effekt när den används i den "
2405 "initiala monteringsnamnrymden; i andra monteringsnamnrymder ignoreras "
2406 "flaggan tyst."
2407
2408 #. type: Plain text
2409 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2410 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2411 msgid ""
2412 "I<Note>: On some systems, B<systemd>(1) automatically mounts the cgroup v2 "
2413 "filesystem. In order to experiment with the I<nsdelegate> operation, it may "
2414 "be useful to boot the kernel with the following command-line options:"
2415 msgstr ""
2416 "I<Observera>: på en del system monterar B<systemd>(1) automatiskt "
2417 "filsystemet cgroup v2. För att experimentera med flaggan I<nsdelegate> kan "
2418 "det vara användbart att starta kärnan med följande kommandoradsflaggor:"
2419
2420 #. type: Plain text
2421 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2422 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2423 #, no-wrap
2424 msgid "cgroup_no_v1=all systemd.legacy_systemd_cgroup_controller\n"
2425 msgstr "cgroup_no_v1=all systemd.legacy_systemd_cgroup_controller\n"
2426
2427 #. type: Plain text
2428 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2429 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2430 msgid ""
2431 "These options cause the kernel to boot with the cgroups v1 controllers "
2432 "disabled (meaning that the controllers are available in the v2 hierarchy), "
2433 "and tells B<systemd>(1) not to mount and use the cgroup v2 hierarchy, so "
2434 "that the v2 hierarchy can be manually mounted with the desired options after "
2435 "boot-up."
2436 msgstr ""
2437 "Dessa flaggor får kärnan att starta med cgroups v1-hanterarna avaktiverade "
2438 "(vilket betyder att hanterarna finns tillgängliga i v2-hierarkin), och säger "
2439 "till B<systemd>(1) att inte montera och använda cgroup v2-hierarkin, så att "
2440 "v2-hierarkin kan monteras manuellt med de önskade flaggorna efter uppstart."
2441
2442 #. type: SS
2443 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2444 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2445 #, no-wrap
2446 msgid "Cgroup delegation containment rules"
2447 msgstr "Inneslutningsregler för styrgruppsdelegering"
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 "Some delegation I<containment rules> ensure that the delegatee can move "
2454 "processes between cgroups within the delegated subtree, but can't move "
2455 "processes from outside the delegated subtree into the subtree or vice "
2456 "versa. A nonprivileged process (i.e., the delegatee) can write the PID of a "
2457 "\"target\" process into a I<cgroup.procs> file only if all of the following "
2458 "are true:"
2459 msgstr ""
2460 "Några I<inneslutningsregler> för delegering säkerställer att delegaten kan "
2461 "flytta processer mellan styrgrupper inom det delegerade underträdet, men "
2462 "inte kan flytta processer utifrån det delegerade underträdet in i "
2463 "underträdet eller vice versa. En oprivilegierad process (d.v.s., delegaten) "
2464 "kan skriva PID:en för en ”mål”-process in i en fil I<cgroup.procs> endast om "
2465 "alla följande är sanna:"
2466
2467 #. type: Plain text
2468 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2469 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2470 msgid ""
2471 "The writer has write permission on the I<cgroup.procs> file in the "
2472 "destination cgroup."
2473 msgstr ""
2474 "Skrivaren har skrivrättigheter på filen I<cgroup.procs> i målstyrgruppen."
2475
2476 #. type: Plain text
2477 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2478 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2479 msgid ""
2480 "The writer has write permission on the I<cgroup.procs> file in the nearest "
2481 "common ancestor of the source and destination cgroups. Note that in some "
2482 "cases, the nearest common ancestor may be the source or destination cgroup "
2483 "itself. This requirement is not enforced for cgroups v1 hierarchies, with "
2484 "the consequence that containment in v1 is less strict than in v2. (For "
2485 "example, in cgroups v1 the user that owns two distinct delegated "
2486 "subhierarchies can move a process between the hierarchies.)"
2487 msgstr ""
2488 "Skrivaren har skrivrättigheter till filen I<cgroup.procs> i den närmaste "
2489 "gemensamma anfadern till käll- och målstyrgrupperna. Observera att i några "
2490 "fall kan den närmaste anfadern vara käll- eller målstyrgruppen själv. Detta "
2491 "krav vidmakthålls inte för cgroups v1-hierarkier, med konsekvensen att "
2492 "inneslutningen i v1 är mindre strikt än i v2. (Till exempel kan i cgroups "
2493 "v1 användaren som äger två distinkta delegerade underhierarkier flytta en "
2494 "process mellan hierarkierna.)"
2495
2496 #. type: Plain text
2497 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2498 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2499 msgid ""
2500 "If the cgroup v2 filesystem was mounted with the I<nsdelegate> option, the "
2501 "writer must be able to see the source and destination cgroups from its "
2502 "cgroup namespace."
2503 msgstr ""
2504 "Om cgroup v2-filsystemet monterades med flaggan I<nsdelegate> måste "
2505 "skrivaren kunna se käll- och målstyrgrupperna från sin egen "
2506 "styrgruppsnamnrymd."
2507
2508 #. commit 576dd464505fc53d501bb94569db76f220104d28
2509 #. type: Plain text
2510 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2511 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2512 msgid ""
2513 "In cgroups v1: the effective UID of the writer (i.e., the delegatee) matches "
2514 "the real user ID or the saved set-user-ID of the target process. Before "
2515 "Linux 4.11, this requirement also applied in cgroups v2 (This was a "
2516 "historical requirement inherited from cgroups v1 that was later deemed "
2517 "unnecessary, since the other rules suffice for containment in cgroups v2.)"
2518 msgstr ""
2519 "I cgroups v1: skrivarens effektiva UID (d.v.s., delegaten) matchar "
2520 "målprocessens verkliga användar-ID eller sparade set-user-ID. Före Linux "
2521 "4.11 gällde detta krav även i cgroups v2. (Detta var ett historiskt krav "
2522 "ärvt från cgroups v1 som senare bedömdes som onödigt, eftersom de andra "
2523 "reglerna räcker för inneslutning i cgroups v2.)"
2524
2525 #. type: Plain text
2526 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2527 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2528 msgid ""
2529 "I<Note>: one consequence of these delegation containment rules is that the "
2530 "unprivileged delegatee can't place the first process into the delegated "
2531 "subtree; instead, the delegater must place the first process (a process "
2532 "owned by the delegatee) into the delegated subtree."
2533 msgstr ""
2534 "I<Observera>: en konsekvens av dessa inneslutningsreger för delegering är "
2535 "att den oprivilegierade delegaten inte kan placera in den första processen i "
2536 "det delegerade underträdet; istället måste delegeraren placera in den första "
2537 "processen (en process som ägs av delegaten) i det delegerade underträdet."
2538
2539 #. type: SH
2540 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2541 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2542 #, no-wrap
2543 msgid "CGROUPS VERSION 2 THREAD MODE"
2544 msgstr "CGROUPS VERSION 2 TRÅDLÄGE"
2545
2546 #. type: Plain text
2547 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2548 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2549 msgid ""
2550 "Among the restrictions imposed by cgroups v2 that were not present in "
2551 "cgroups v1 are the following:"
2552 msgstr ""
2553 "Bland restriktionerna som åläggs av cgroups v2 och som inte fanns med i "
2554 "cgroups v1 är följande:"
2555
2556 #. type: Plain text
2557 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2558 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2559 msgid ""
2560 "I<No thread-granularity control>: all of the threads of a process must be in "
2561 "the same cgroup."
2562 msgstr ""
2563 "I<Ingen styrning på trådnivå>: alla trådarna i en process måste finnas i "
2564 "samma styrgrupp."
2565
2566 #. type: Plain text
2567 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2568 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2569 msgid ""
2570 "I<No internal processes>: a cgroup can't both have member processes and "
2571 "exercise controllers on child cgroups."
2572 msgstr ""
2573 "I<Inga interna processer>: en styrgrupp kan inte både ha medlemsprocesser "
2574 "och utöva styrning av barnstyrgrupper."
2575
2576 #. type: Plain text
2577 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2578 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2579 msgid ""
2580 "Both of these restrictions were added because the lack of these restrictions "
2581 "had caused problems in cgroups v1. In particular, the cgroups v1 ability to "
2582 "allow thread-level granularity for cgroup membership made no sense for some "
2583 "controllers. (A notable example was the I<memory> controller: since threads "
2584 "share an address space, it made no sense to split threads across different "
2585 "I<memory> cgroups.)"
2586 msgstr ""
2587 "Båda dessa restriktioner lades till för att avsaknaden av dessa "
2588 "restriktioner hade orsakat problem i cgroups v1. Speciellt var möjligheten i "
2589 "cgroups v1 att tillåta upplösning på trådnivå av styrgruppsmedlemskap inte "
2590 "meningsfull för några hanterare. (Ett noterbart exempel var hanteraren "
2591 "I<memory>: eftersom trådar delar en adressrymd är det inte meningsfullt att "
2592 "dela trådar mellan olika I<memory>-styrgrupper.)"
2593
2594 #. type: Plain text
2595 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2596 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2597 msgid ""
2598 "Notwithstanding the initial design decision in cgroups v2, there were use "
2599 "cases for certain controllers, notably the I<cpu> controller, for which "
2600 "thread-level granularity of control was meaningful and useful. To "
2601 "accommodate such use cases, Linux 4.14 added I<thread mode> for cgroups v2."
2602 msgstr ""
2603 "Oaktat det ursprungliga designbeslutet i cgroups v2 fanns det "
2604 "användningsfall för vissa hanterare, särskilt hanteraren I<cpu>, för vilka "
2605 "upplösning av styrningen på trådnivå var meningsfull och användbar. För att "
2606 "rymma sådana fall lade Linux 4.14 till I<trådläge> till cgroups v2."
2607
2608 #. type: Plain text
2609 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2610 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2611 msgid "Thread mode allows the following:"
2612 msgstr "Trådläge tillåter följande:"
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 creation of I<threaded subtrees> in which the threads of a process may "
2619 "be spread across cgroups inside the tree. (A threaded subtree may contain "
2620 "multiple multithreaded processes.)"
2621 msgstr ""
2622 "Att skapa I<trådade underträd> i vilka en process trådar kan spridas mellan "
2623 "styrgrupper inuti trädet. (Ett trådunderträd kan innehålla flera "
2624 "multitrådade processer.)"
2625
2626 #. type: Plain text
2627 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2628 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2629 msgid ""
2630 "The concept of I<threaded controllers>, which can distribute resources "
2631 "across the cgroups in a threaded subtree."
2632 msgstr ""
2633 "Begreppet I<trådade hanterare> vilka kan fördela resurser mellan "
2634 "styrgrupperna i ett trådat underträd."
2635
2636 #. type: Plain text
2637 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2638 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2639 msgid ""
2640 "A relaxation of the \"no internal processes rule\", so that, within a "
2641 "threaded subtree, a cgroup can both contain member threads and exercise "
2642 "resource control over child cgroups."
2643 msgstr ""
2644 "Lättandet av ”regeln inga interna processer”, så att en styrgrupp kan, inom "
2645 "ett trådat underträd, både innehålla medlemstrådar och utöva resurshantering "
2646 "mellan barnstyrgrupper."
2647
2648 #. type: Plain text
2649 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2650 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2651 msgid ""
2652 "With the addition of thread mode, each nonroot cgroup now contains a new "
2653 "file, I<cgroup.type>, that exposes, and in some circumstances can be used to "
2654 "change, the \"type\" of a cgroup. This file contains one of the following "
2655 "type values:"
2656 msgstr ""
2657 "Med tillägget av trådläge innehåller numera varje styrgrupp utom roten en ny "
2658 "fil, I<cgroup.type>, som visar, och under vissa omständigheter kan användas "
2659 "för att ändra, en styrgrupps ”typ”. Denna fil innehåller ett av följande "
2660 "typvärden:"
2661
2662 #. type: TP
2663 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2664 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2665 #, no-wrap
2666 msgid "I<domain>"
2667 msgstr "I<domain>"
2668
2669 #. type: Plain text
2670 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2671 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2672 msgid ""
2673 "This is a normal v2 cgroup that provides process-granularity control. If a "
2674 "process is a member of this cgroup, then all threads of the process are (by "
2675 "definition) in the same cgroup. This is the default cgroup type, and "
2676 "provides the same behavior that was provided for cgroups in the initial "
2677 "cgroups v2 implementation."
2678 msgstr ""
2679 "Detta är en normal v2-styrgrupp som tillhandahåller styrning på processnivå. "
2680 "Om en process är medlem av denna styrgrupp, då är alla processens trådar "
2681 "(per definition) i samma styrgrupp. Detta är standardtypen för styrgrupper, "
2682 "och ger samma beteende som gavs för styrgrupper i den ursprungliga "
2683 "implementationen av cgroups v2."
2684
2685 #. type: TP
2686 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2687 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2688 #, no-wrap
2689 msgid "I<threaded>"
2690 msgstr "I<threaded>"
2691
2692 #. type: Plain text
2693 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2694 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2695 msgid ""
2696 "This cgroup is a member of a threaded subtree. Threads can be added to this "
2697 "cgroup, and controllers can be enabled for the cgroup."
2698 msgstr ""
2699 "Denna styrgrupp är medlem i ett trådat underträd. Trådar kan läggas till "
2700 "till denna styrgrupp, och hanterare kan aktiveras för styrgruppen."
2701
2702 #. type: TP
2703 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2704 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2705 #, no-wrap
2706 msgid "I<domain threaded>"
2707 msgstr "I<domain threaded>"
2708
2709 #. type: Plain text
2710 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2711 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2712 msgid ""
2713 "This is a domain cgroup that serves as the root of a threaded subtree. This "
2714 "cgroup type is also known as \"threaded root\"."
2715 msgstr ""
2716 "Detta är en domänstyrgrupp som tjänstgör som roten i ett trådat underträd. "
2717 "Denna styrgruppstyp är även känd som ”trådad rot”."
2718
2719 #. type: TP
2720 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2721 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2722 #, no-wrap
2723 msgid "I<domain invalid>"
2724 msgstr "I<domain invalid>"
2725
2726 #. type: Plain text
2727 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2728 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2729 msgid ""
2730 "This is a cgroup inside a threaded subtree that is in an \"invalid\" state. "
2731 "Processes can't be added to the cgroup, and controllers can't be enabled for "
2732 "the cgroup. The only thing that can be done with this cgroup (other than "
2733 "deleting it) is to convert it to a I<threaded> cgroup by writing the string "
2734 "I<\\[dq]threaded\\[dq]> to the I<cgroup.type> file."
2735 msgstr ""
2736 "Detta är en styrgrupp inuti ett trådat underträd som är i ett ”felaktigt” "
2737 "tillstånd. Processer kan inte läggas till till styrgruppen, och hanterare "
2738 "kan inte aktiveras för styrgruppen. Det enda man kan göra med denna "
2739 "styrgrupp (bortsett från att ta bort den) är att konvertera den till en "
2740 "I<trådad> styrgrupp genom att skriva strängen I<\\[dq]threaded\\[dq]> till "
2741 "filen I<cgroup.type>."
2742
2743 #. type: Plain text
2744 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2745 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2746 msgid ""
2747 "The rationale for the existence of this \"interim\" type during the creation "
2748 "of a threaded subtree (rather than the kernel simply immediately converting "
2749 "all cgroups under the threaded root to the type I<threaded>) is to allow "
2750 "for possible future extensions to the thread mode model"
2751 msgstr ""
2752 "Motiveringen till existensen av denna ”provisoriska” typ under skapandet av "
2753 "ett trådat underträd (istället för att kärnan helt enkelt omedelbart "
2754 "konverterar alla styrgrupper under en trådad rot till typen I<trådad>) är "
2755 "att ge utrymme för möjliga framtida utökningar av modellen för trådat läge."
2756
2757 #. type: SS
2758 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2759 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2760 #, no-wrap
2761 msgid "Threaded versus domain controllers"
2762 msgstr "Trådade hanterare kontra domänhanterare"
2763
2764 #. type: Plain text
2765 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2766 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2767 msgid ""
2768 "With the addition of threads mode, cgroups v2 now distinguishes two types of "
2769 "resource controllers:"
2770 msgstr ""
2771 "I och med tillägget av trådat läge särskiljer cgroups v2 nu två typer av "
2772 "resurshanterare:"
2773
2774 #. In the kernel source, look for ".threaded[ \t]*= true" in
2775 #. initializations of struct cgroup_subsys
2776 #. type: Plain text
2777 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2778 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2779 msgid ""
2780 "I<Threaded> controllers: these controllers support thread-granularity for "
2781 "resource control and can be enabled inside threaded subtrees, with the "
2782 "result that the corresponding controller-interface files appear inside the "
2783 "cgroups in the threaded subtree. As at Linux 4.19, the following "
2784 "controllers are threaded: I<cpu>, I<perf_event>, and I<pids>."
2785 msgstr ""
2786 "I<Trådade> hanterare: dessa hanterare stödjer resursstyrning på trådnivå och "
2787 "kan aktiveras inuti trådade underträd, med resultatet att motsvarande "
2788 "hanterargränssnittsfiler dyker upp inuti styrgrupperna i det trådade "
2789 "underträdet. Från och med Linux 4.19 är följande hanterare trådade: I<cpu>, "
2790 "I<perf_event> och I<pids>."
2791
2792 #. type: Plain text
2793 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2794 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2795 msgid ""
2796 "I<Domain> controllers: these controllers support only process granularity "
2797 "for resource control. From the perspective of a domain controller, all "
2798 "threads of a process are always in the same cgroup. Domain controllers "
2799 "can't be enabled inside a threaded subtree."
2800 msgstr ""
2801 "I<Domän>hanterare: dessa hanterare stödjer endast resursstyrning på "
2802 "processnivå. Från en domänhanterares perspektiv är alla trådar i en process "
2803 "alltid i samma styrgrupp. Domänhanterare kan inte aktiveras inuti ett trådat "
2804 "underträd."
2805
2806 #. type: SS
2807 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2808 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2809 #, no-wrap
2810 msgid "Creating a threaded subtree"
2811 msgstr "Att skapa ett trådat underträd"
2812
2813 #. type: Plain text
2814 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2815 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2816 msgid ""
2817 "There are two pathways that lead to the creation of a threaded subtree. The "
2818 "first pathway proceeds as follows:"
2819 msgstr ""
2820 "Det finns två vägar som leder till att ett trådat underträd skapas. Den "
2821 "första vägen är som följer:"
2822
2823 #. type: IP
2824 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2825 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2826 #, no-wrap
2827 msgid "(1)"
2828 msgstr "(1)"
2829
2830 #. type: Plain text
2831 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2832 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2833 msgid ""
2834 "We write the string I<\\[dq]threaded\\[dq]> to the I<cgroup.type> file of a "
2835 "cgroup I<y/z> that currently has the type I<domain>. This has the following "
2836 "effects:"
2837 msgstr ""
2838 "Vi skriver strängen I<\\[dq]threaded\\[dq]> till filen I<cgroup.type> i en "
2839 "styrgrupp I<y/z> som just nu har typen I<domän>. Detta har följande effekter:"
2840
2841 #. type: Plain text
2842 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2843 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2844 msgid "The type of the cgroup I<y/z> becomes I<threaded>."
2845 msgstr "Typen på styrgruppen I<y/z> blir I<trådad>."
2846
2847 #. type: Plain text
2848 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2849 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2850 msgid ""
2851 "The type of the parent cgroup, I<y>, becomes I<domain threaded>. The parent "
2852 "cgroup is the root of a threaded subtree (also known as the \"threaded "
2853 "root\")."
2854 msgstr ""
2855 "Föräldrastyrgruppens, I<y>, typ blir I<domän trådad>. Föräldrastyrgruppen är "
2856 "roten i ett trådat underträd (även känt som ”trådad rot”)."
2857
2858 #. type: Plain text
2859 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2860 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2861 msgid ""
2862 "All other cgroups under I<y> that were not already of type I<threaded> "
2863 "(because they were inside already existing threaded subtrees under the new "
2864 "threaded root) are converted to type I<domain invalid>. Any subsequently "
2865 "created cgroups under I<y> will also have the type I<domain invalid>."
2866 msgstr ""
2867 "Alla andra styrgrupper under I<y> som inte redan hade typen I<trådad> (för "
2868 "att de befann sig inuti redan befintliga trådade underträd under den nya "
2869 "trådade roten) konverteras till typen I<domän felaktig>."
2870
2871 #. type: IP
2872 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2873 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2874 #, no-wrap
2875 msgid "(2)"
2876 msgstr "(2)"
2877
2878 #. type: Plain text
2879 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2880 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2881 msgid ""
2882 "We write the string I<\\[dq]threaded\\[dq]> to each of the I<domain invalid> "
2883 "cgroups under I<y>, in order to convert them to the type I<threaded>. As a "
2884 "consequence of this step, all threads under the threaded root now have the "
2885 "type I<threaded> and the threaded subtree is now fully usable. The "
2886 "requirement to write I<\\[dq]threaded\\[dq]> to each of these cgroups is "
2887 "somewhat cumbersome, but allows for possible future extensions to the thread-"
2888 "mode model."
2889 msgstr ""
2890 "Vi skriver strängen I<\\[dq]threaded\\[dq]> till var och en av styrgrupperna "
2891 "med I<domän felaktig> under I<y>, för att konvertera dem till typen "
2892 "I<trådad>. Som en konsekvens av detta steg har nu alla trådar under den "
2893 "trådade roten typen I<trådad> och det trådade trädet är därmed fullt "
2894 "användbart. Kravet att skriva I<\\[dq]threaded\\[dq]> till var och en av "
2895 "dessa styrgrupper är något otymplig, men möjliggör tänkbara framtida "
2896 "utvidgningar av modellen trådläge."
2897
2898 #. type: Plain text
2899 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2900 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2901 msgid "The second way of creating a threaded subtree is as follows:"
2902 msgstr "Den andra vägen att skapa ett trådat underträd är som följer:"
2903
2904 #. type: Plain text
2905 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2906 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2907 msgid ""
2908 "In an existing cgroup, I<z>, that currently has the type I<domain>, we (1.1) "
2909 "enable one or more threaded controllers and (1.2) make a process a member of "
2910 "I<z>. (These two steps can be done in either order.) This has the "
2911 "following consequences:"
2912 msgstr ""
2913 "I en befintlig styrgrupp, I<z>, som just nu har typen I<domän> aktiverar vi "
2914 "(1.1) en eller flera av de trådade hanterarna och (1.2) gör en process till "
2915 "en medlem av I<z>. (Dessa två steg kan göras i godtycklig ordning.) Detta "
2916 "har följande konsekvenser:"
2917
2918 #. type: Plain text
2919 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2920 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2921 msgid "The type of I<z> becomes I<domain threaded>."
2922 msgstr "Typen på I<z> blir I<domän trådad>."
2923
2924 #. type: Plain text
2925 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2926 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2927 msgid ""
2928 "All of the descendant cgroups of I<z> that were not already of type "
2929 "I<threaded> are converted to type I<domain invalid>."
2930 msgstr ""
2931 "Alla nedstigande styrgrupper till I<z> som inte redan hade typen I<trådad> "
2932 "konverteras till typen I<domän felaktig>."
2933
2934 #. type: Plain text
2935 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2936 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2937 msgid ""
2938 "As before, we make the threaded subtree usable by writing the string "
2939 "I<\\[dq]threaded\\[dq]> to each of the I<domain invalid> cgroups under I<z>, "
2940 "in order to convert them to the type I<threaded>."
2941 msgstr ""
2942 "Som tidigare gör vi det trådade underträdet användbart genom att skriva "
2943 "strängen I<\\[dq]threaded\\[dq]> till var och en av styrgrupperna med "
2944 "I<domän felaktig> under I<z>, för att konvertera dem till typen I<trådad>."
2945
2946 #. type: Plain text
2947 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
2948 #: opensuse-tumbleweed
2949 msgid ""
2950 "One of the consequences of the above pathways to creating a threaded subtree "
2951 "is that the threaded root cgroup can be a parent only to I<threaded> (and "
2952 "I<domain invalid>) cgroups. The threaded root cgroup can't be a parent of "
2953 "a I<domain> cgroup, and a I<threaded> cgroup can't have a sibling that is a "
2954 "I<domain> cgroup."
2955 msgstr ""
2956 "En av konsekvenserna av de ovanstående sätten för att skapa ett trådat "
2957 "underträd är att den trådade rotstyrgruppen endast kan vara förälder till "
2958 "styrgrupper som är I<trådade> (och I<domän felaktiga>). Den trådade "
2959 "rotstyrgruppen kan inte vara förälder till en I<domän>styrgrupp, och en "
2960 "I<trådad> styrgrupp kan inte ha ett syskon som är en I<domän>styrgrupp."
2961
2962 #. type: SS
2963 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2964 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2965 #, no-wrap
2966 msgid "Using a threaded subtree"
2967 msgstr "Att använda ett trådat underträd"
2968
2969 #. type: Plain text
2970 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2971 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2972 msgid ""
2973 "Within a threaded subtree, threaded controllers can be enabled in each "
2974 "subgroup whose type has been changed to I<threaded>; upon doing so, the "
2975 "corresponding controller interface files appear in the children of that "
2976 "cgroup."
2977 msgstr ""
2978 "Inom ett trådat underträd kan trådade hanterare aktiveras i varje undergrupp "
2979 "vars typ har ändrats till I<trådad>; när man gör det dyker motsvarande "
2980 "gränssnittsfiler för hanteraren upp i barnen till den styrgruppen."
2981
2982 #. type: Plain text
2983 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2984 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2985 msgid ""
2986 "A process can be moved into a threaded subtree by writing its PID to the "
2987 "I<cgroup.procs> file in one of the cgroups inside the tree. This has the "
2988 "effect of making all of the threads in the process members of the "
2989 "corresponding cgroup and makes the process a member of the threaded "
2990 "subtree. The threads of the process can then be spread across the threaded "
2991 "subtree by writing their thread IDs (see B<gettid>(2)) to the I<cgroup."
2992 "threads> files in different cgroups inside the subtree. The threads of a "
2993 "process must all reside in the same threaded subtree."
2994 msgstr ""
2995 "En process kan flyttas in i ett trådat underträd genom att skriva dess PID "
2996 "till filen I<cgroup.procs> i en av styrgrupperna inuti trädet. Detta medför "
2997 "att alla trådarna i den processen görs till medlemmar av motsvarande "
2998 "styrgrupp och gör processen till en medlem av det trådade underträdet. "
2999 "Processens trådar kan sedan spridas över det trådade underträdet genom att "
3000 "skriva deras tråd-ID:n (se B<gettid>(2)) till filerna I<cgroup.threads> i "
3001 "olika styrgrupper inuti underträdet. En process alla trådar måste befinna "
3002 "sig i samma trådade underträd."
3003
3004 #. type: Plain text
3005 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3006 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3007 msgid ""
3008 "As with writing to I<cgroup.procs>, some containment rules apply when "
3009 "writing to the I<cgroup.threads> file:"
3010 msgstr ""
3011 "Liksom när man skriver till I<cgroup.procs> gäller vissa inneslutningsregler "
3012 "när man skriver till filen I<cgroup.threads>:"
3013
3014 #. type: Plain text
3015 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3016 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3017 msgid ""
3018 "The writer must have write permission on the cgroup.threads file in the "
3019 "destination cgroup."
3020 msgstr ""
3021 "Skrivaren måste ha skrivrättigheter till filen I<cgroup.threads> i "
3022 "målstyrgruppen."
3023
3024 #. type: Plain text
3025 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3026 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3027 msgid ""
3028 "The writer must have write permission on the I<cgroup.procs> file in the "
3029 "common ancestor of the source and destination cgroups. (In some cases, the "
3030 "common ancestor may be the source or destination cgroup itself.)"
3031 msgstr ""
3032 "Skrivaren måste ha skrivrättigheter till filen I<cgroup.procs> i den "
3033 "gemensamma anfadern till käll- och målstyrgrupperna. (I några fall kan den "
3034 "gemensamma anfadern vara käll- eller målstyrgruppen själv.)"
3035
3036 #. type: Plain text
3037 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3038 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3039 msgid ""
3040 "The source and destination cgroups must be in the same threaded subtree. "
3041 "(Outside a threaded subtree, an attempt to move a thread by writing its "
3042 "thread ID to the I<cgroup.threads> file in a different I<domain> cgroup "
3043 "fails with the error B<EOPNOTSUPP>.)"
3044 msgstr ""
3045 "Käll- och målstyrgrupperna måste finnas i samma trådade underträd. (Utanför "
3046 "ett trådat underträd misslyckas ett försök att flytta en tråd genom att "
3047 "skriva dess tråd-ID till filen I<cgroup.threads> i en annan "
3048 "I<domän>styrgrupp med felet B<EOPNOTSUPP>.)"
3049
3050 #. type: Plain text
3051 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3052 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3053 msgid ""
3054 "The I<cgroup.threads> file is present in each cgroup (including I<domain> "
3055 "cgroups) and can be read in order to discover the set of threads that is "
3056 "present in the cgroup. The set of thread IDs obtained when reading this "
3057 "file is not guaranteed to be ordered or free of duplicates."
3058 msgstr ""
3059 "Filen I<cgroup.threads> finns i alla styrgrupper (inklusive "
3060 "I<domän>styrgrupper) och kan läsas för att upptäcka uppsättningen trådar som "
3061 "finns i styrgruppen. Uppsättningen tråd-ID:n som fås när man läser denna fil "
3062 "är inte garanterat i ordning eller fri från dubbletter."
3063
3064 #. type: Plain text
3065 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3066 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3067 msgid ""
3068 "The I<cgroup.procs> file in the threaded root shows the PIDs of all "
3069 "processes that are members of the threaded subtree. The I<cgroup.procs> "
3070 "files in the other cgroups in the subtree are not readable."
3071 msgstr ""
3072 "Filen I<cgroup.procs> i den trådade roten visar PID:arna för alla processer "
3073 "som är medlemmar av det trådade underträdet. Filen I<cgroup.procs> i de "
3074 "andra styrgrupperna i underträdet är inte läsbara."
3075
3076 #. type: Plain text
3077 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3078 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3079 msgid ""
3080 "Domain controllers can't be enabled in a threaded subtree; no controller-"
3081 "interface files appear inside the cgroups underneath the threaded root. "
3082 "From the point of view of a domain controller, threaded subtrees are "
3083 "invisible: a multithreaded process inside a threaded subtree appears to a "
3084 "domain controller as a process that resides in the threaded root cgroup."
3085 msgstr ""
3086 "Domänhanterare kan inte aktiveras i ett trådat underträd; inga "
3087 "gränssnittsfiler till hanteraren dyker upp i styrgrupperna under den trådade "
3088 "roten. Från domänhanterarens synvinkel är trådade underträd osynliga: en "
3089 "multitrådad process i ett trådat underträd ser för domänhanteraren ut som en "
3090 "process som bor i den trådade rotstyrgruppen."
3091
3092 #. type: Plain text
3093 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3094 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3095 msgid ""
3096 "Within a threaded subtree, the \"no internal processes\" rule does not "
3097 "apply: a cgroup can both contain member processes (or thread) and exercise "
3098 "controllers on child cgroups."
3099 msgstr ""
3100 "Inom ett trådat underträd gäller inte regeln ”inga interna processer”: en "
3101 "styrgrupp kan både innehålla medlemsprocesser (eller -trådar) och utöva "
3102 "styrning över barnstyrgrupper."
3103
3104 #. type: SS
3105 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3106 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3107 #, no-wrap
3108 msgid "Rules for writing to cgroup.type and creating threaded subtrees"
3109 msgstr "Regler för att skriva till cgroup.type och att skapa trådade underträd"
3110
3111 #. type: Plain text
3112 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3113 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3114 msgid "A number of rules apply when writing to the I<cgroup.type> file:"
3115 msgstr "Ett antal regler gäller vid skrivning till filen I<cgroup.type>:"
3116
3117 #. type: Plain text
3118 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3119 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3120 msgid ""
3121 "Only the string I<\\[dq]threaded\\[dq]> may be written. In other words, the "
3122 "only explicit transition that is possible is to convert a I<domain> cgroup "
3123 "to type I<threaded>."
3124 msgstr ""
3125 "Endast strängen I<\\[dq]threaded\\[dq]> får skrivas. Med andra ord, den enda "
3126 "uttryckliga övergången som är möjlig är att konvertera en I<domän>styrgrupp "
3127 "till typen I<trådad>."
3128
3129 #. type: Plain text
3130 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3131 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3132 msgid ""
3133 "The effect of writing I<\\[dq]threaded\\[dq]> depends on the current value "
3134 "in I<cgroup.type>, as follows:"
3135 msgstr ""
3136 "Resultatet av att skriva I<\\[dq]threaded\\[dq]> beror på det nuvarande "
3137 "värdet i I<cgroup.type> enligt följande:"
3138
3139 #. type: Plain text
3140 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3141 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3142 msgid ""
3143 "I<domain> or I<domain threaded>: start the creation of a threaded subtree "
3144 "(whose root is the parent of this cgroup) via the first of the pathways "
3145 "described above;"
3146 msgstr ""
3147 "I<Domän> eller I<domän trådad>: inled skapandet av ett trådat underträd "
3148 "(vars rot är föräldern till denna styrgrupp) via det första av sätten som "
3149 "beskrivs ovan;"
3150
3151 #. type: Plain text
3152 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3153 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3154 msgid ""
3155 "I<domain\\ invalid>: convert this cgroup (which is inside a threaded "
3156 "subtree) to a usable (i.e., I<threaded>) state;"
3157 msgstr ""
3158 "I<Domän\\ felaktig>: konvertera denna styrgrupp (vilken finns inuti ett "
3159 "trådat underträd) till ett användbart (d.v.s., I<trådat>) tillstånd;"
3160
3161 #. type: Plain text
3162 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3163 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3164 msgid "I<threaded>: no effect (a \"no-op\")."
3165 msgstr "I<Trådad>: ingen effekt (en ”no-op”)."
3166
3167 #. type: Plain text
3168 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3169 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3170 msgid ""
3171 "We can't write to a I<cgroup.type> file if the parent's type is I<domain "
3172 "invalid>. In other words, the cgroups of a threaded subtree must be "
3173 "converted to the I<threaded> state in a top-down manner."
3174 msgstr ""
3175 "Vi kan inte skriva till en I<cgroup.type>-fil om förälderns typ är I<domän "
3176 "felaktig>. Med andra ord, styrgruppen i ett trådat underträd måste "
3177 "konverteras till tillståndet I<trådad> uppifrån och ner."
3178
3179 #. type: Plain text
3180 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3181 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3182 msgid ""
3183 "There are also some constraints that must be satisfied in order to create a "
3184 "threaded subtree rooted at the cgroup I<x>:"
3185 msgstr ""
3186 "Det finns även några begränsningar som måste vara uppfyllda för att skapa "
3187 "ett trådat underträd rotat i styrgruppen I<x>:"
3188
3189 #. type: Plain text
3190 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3191 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3192 msgid ""
3193 "There can be no member processes in the descendant cgroups of I<x>. (The "
3194 "cgroup I<x> can itself have member processes.)"
3195 msgstr ""
3196 "Det får inte finnas någon medlemsprocess i nedstigande styrgrupper från "
3197 "I<x>. (Styrgruppen I<x> själv kan ha medlemsprocesser.)"
3198
3199 #. type: Plain text
3200 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3201 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3202 msgid ""
3203 "No domain controllers may be enabled in I<x>'s I<cgroup.subtree_control> "
3204 "file."
3205 msgstr ""
3206 "Inga domänhanterare får vara aktiverade i I<x>s fil I<cgroup."
3207 "subtree_control>."
3208
3209 #. type: Plain text
3210 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3211 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3212 msgid ""
3213 "If any of the above constraints is violated, then an attempt to write "
3214 "I<\\[dq]threaded\\[dq]> to a I<cgroup.type> file fails with the error "
3215 "B<ENOTSUP>."
3216 msgstr ""
3217 "Vid brott mot någon av ovanstående begränsningar kommer försök att skriva "
3218 "I<\\[dq]threaded\\[dq]> till en fil I<cgroup.type> att misslyckas med felet "
3219 "B<ENOTSUP>."
3220
3221 #. type: SS
3222 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3223 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3224 #, no-wrap
3225 msgid "The \\[dq]domain threaded\\[dq] cgroup type"
3226 msgstr "Styrgruppstypen \\[dq]domän trådad\\[dq]"
3227
3228 #. type: Plain text
3229 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3230 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3231 msgid ""
3232 "According to the pathways described above, the type of a cgroup can change "
3233 "to I<domain threaded> in either of the following cases:"
3234 msgstr ""
3235 "Enligt metoderna som beskrivs ovan kan typen på en styrgrupp ändras till "
3236 "I<domän trådad> i endera av följande fall:"
3237
3238 #. type: Plain text
3239 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3240 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3241 msgid "The string I<\\[dq]threaded\\[dq]> is written to a child cgroup."
3242 msgstr "Strängen I<\\[dq]threaded\\[dq]> skrivs till en barnstyrgrupp."
3243
3244 #. type: Plain text
3245 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3246 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3247 msgid ""
3248 "A threaded controller is enabled inside the cgroup and a process is made a "
3249 "member of the cgroup."
3250 msgstr ""
3251 "En trådad hanterare aktiveras inuti styrgruppen och en process görs till "
3252 "medlem av styrgruppen."
3253
3254 #. type: Plain text
3255 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3256 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3257 msgid ""
3258 "A I<domain threaded> cgroup, I<x>, can revert to the type I<domain> if the "
3259 "above conditions no longer hold true\\[em]that is, if all I<threaded> child "
3260 "cgroups of I<x> are removed and either I<x> no longer has threaded "
3261 "controllers enabled or no longer has member processes."
3262 msgstr ""
3263 "En I<domän trådad> styrgrupp, I<x>, kan återgå till typen I<domän> om "
3264 "ovanstående villkor inte längre är uppfyllda \\[em] det vill säga, om alla "
3265 "I<trådade> barnstyrgrupper till I<x> tas bort och antingen I<x> inte längre "
3266 "har trådade hanterare aktiverade eller inte längre har medlemsprocesser."
3267
3268 #. type: Plain text
3269 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3270 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3271 msgid "When a I<domain threaded> cgroup I<x> reverts to the type I<domain>:"
3272 msgstr ""
3273 "När en styrgrupp I<x> som är I<domän trådad> återgår till typen I<domän>:"
3274
3275 #. type: Plain text
3276 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3277 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3278 msgid ""
3279 "All I<domain invalid> descendants of I<x> that are not in lower-level "
3280 "threaded subtrees revert to the type I<domain>."
3281 msgstr ""
3282 "Alla avkommor till I<x> som är I<domän felaktig> och som inte är i "
3283 "underliggande trådade underträd återgår till typen I<domän>."
3284
3285 #. type: Plain text
3286 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3287 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3288 msgid ""
3289 "The root cgroups in any lower-level threaded subtrees revert to the type "
3290 "I<domain threaded>."
3291 msgstr ""
3292 "Rotstyrgruppen i eventuella underliggande trådade underträd återgår till "
3293 "typen I<domän trådad>."
3294
3295 #. type: SS
3296 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3297 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3298 #, no-wrap
3299 msgid "Exceptions for the root cgroup"
3300 msgstr "Undantag för rotstyrgruppen"
3301
3302 #. type: Plain text
3303 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3304 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3305 msgid ""
3306 "The root cgroup of the v2 hierarchy is treated exceptionally: it can be the "
3307 "parent of both I<domain> and I<threaded> cgroups. If the string "
3308 "I<\\[dq]threaded\\[dq]> is written to the I<cgroup.type> file of one of the "
3309 "children of the root cgroup, then"
3310 msgstr ""
3311 "Rotstyrgruppen i v2-hierarkin hanteras speciellt: den kan vara förälder till "
3312 "både I<domän> och I<trådade> styrgrupper. Om strängen "
3313 "I<\\[dq]threaded\\[dq]> skrivs till filen I<cgroup.type> i ett av barnen "
3314 "till rotstyrgruppen, då"
3315
3316 #. type: Plain text
3317 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3318 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3319 msgid "The type of that cgroup becomes I<threaded>."
3320 msgstr "blir typen på den styrgruppen I<trådad>."
3321
3322 #. type: Plain text
3323 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3324 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3325 msgid ""
3326 "The type of any descendants of that cgroup that are not part of lower-level "
3327 "threaded subtrees changes to I<domain invalid>."
3328 msgstr ""
3329 "ändras typen på avkommor till den styrgruppen som inte är en del av "
3330 "underliggande trådade underträd till I<domän felaktig>."
3331
3332 #. type: Plain text
3333 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3334 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3335 msgid ""
3336 "Note that in this case, there is no cgroup whose type becomes I<domain "
3337 "threaded>. (Notionally, the root cgroup can be considered as the threaded "
3338 "root for the cgroup whose type was changed to I<threaded>.)"
3339 msgstr ""
3340 "Observera att i detta fall finns det ingen styrgrupp vars typ blir I<domän "
3341 "trådad>. (Teoretiskt sett kan rotstyrgruppen betraktas som den trådade roten "
3342 "till styrgruppen vars typ ändrades till I<trådad>.)"
3343
3344 #. type: Plain text
3345 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3346 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3347 msgid ""
3348 "The aim of this exceptional treatment for the root cgroup is to allow a "
3349 "threaded cgroup that employs the I<cpu> controller to be placed as high as "
3350 "possible in the hierarchy, so as to minimize the (small) cost of traversing "
3351 "the cgroup hierarchy."
3352 msgstr ""
3353 "Syftet med denna speciella hantering av rotstyrgruppen är att låta en trådad "
3354 "styrgrupp som använder hanteraren I<cpu> att placeras så högt som möjligt i "
3355 "hierarkin, för att minimera den (lilla) kostnaden i att traversera "
3356 "styrgruppshierarkin."
3357
3358 #. type: SS
3359 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3360 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3361 #, no-wrap
3362 msgid "The cgroups v2 \\[dq]cpu\\[dq] controller and realtime threads"
3363 msgstr "Hanteraren \\[dq]cpu\\[dq] i cgroups v2 och realtidstrådar"
3364
3365 #. type: Plain text
3366 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3367 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3368 msgid ""
3369 "As at Linux 4.19, the cgroups v2 I<cpu> controller does not support control "
3370 "of realtime threads (specifically threads scheduled under any of the "
3371 "policies B<SCHED_FIFO>, B<SCHED_RR>, described B<SCHED_DEADLINE>; see "
3372 "B<sched>(7)). Therefore, the I<cpu> controller can be enabled in the root "
3373 "cgroup only if all realtime threads are in the root cgroup. (If there are "
3374 "realtime threads in nonroot cgroups, then a B<write>(2) of the string "
3375 "I<\\[dq]+cpu\\[dq]> to the I<cgroup.subtree_control> file fails with the "
3376 "error B<EINVAL>.)"
3377 msgstr ""
3378 "Per Linux 4.19 stödjer inte hanteraren I<cpu> i cgroups v2 styrning av "
3379 "realtidstrådar (specifikt trådar schemalagda under någon av policyerna "
3380 "B<SCHED_FIFO>, B<SCHED_RR> och B<SCHED_DEADLINE>; se B<sched>(7)). Därför "
3381 "kan hanteraren I<cpu> aktiveras i rotstyrgruppen endast om alla "
3382 "realtidstrådar finns i rotstyrgruppen. (Om det finns realtidstrådar i andra "
3383 "styrgrupper än roten, då misslyckas ett anrop av B<write>(2) med strängen "
3384 "I<\\[dq]+cpu\\[dq]> till filen I<cgroup.subtree_control> med felet "
3385 "B<EINVAL>.)"
3386
3387 #. type: Plain text
3388 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3389 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3390 msgid ""
3391 "On some systems, B<systemd>(1) places certain realtime threads in nonroot "
3392 "cgroups in the v2 hierarchy. On such systems, these threads must first be "
3393 "moved to the root cgroup before the I<cpu> controller can be enabled."
3394 msgstr ""
3395 "På vissa system placerar B<systemd>(1) vissa realtidstrådar i andra "
3396 "styrgrupper än roten i v2-hierarkin. På sådana system måste dessa trådar "
3397 "först flyttas till rotstyrgruppen innan I<cpu>-hanteraren kan aktiveras."
3398
3399 #. type: SH
3400 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3401 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3402 #, no-wrap
3403 msgid "ERRORS"
3404 msgstr "FEL"
3405
3406 #. type: Plain text
3407 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3408 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3409 msgid "The following errors can occur for B<mount>(2):"
3410 msgstr "Följande fel kan förekomma för B<mount>(2):"
3411
3412 #. type: TP
3413 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3414 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3415 #, no-wrap
3416 msgid "B<EBUSY>"
3417 msgstr "B<EBUSY>"
3418
3419 #. type: Plain text
3420 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3421 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3422 msgid ""
3423 "An attempt to mount a cgroup version 1 filesystem specified neither the "
3424 "I<name=> option (to mount a named hierarchy) nor a controller name (or "
3425 "I<all>)."
3426 msgstr ""
3427 "Ett försök att montera ett styrgruppsfilsystem för version 1 som inte "
3428 "specificerade vare sig flaggan I<name=> (för att montera en namngiven "
3429 "hierarki) eller ett hanterarnamn (eller I<all>)."
3430
3431 #. type: SH
3432 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3433 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3434 #, no-wrap
3435 msgid "NOTES"
3436 msgstr "NOTERINGAR"
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 child process created via B<fork>(2) inherits its parent's cgroup "
3443 "memberships. A process's cgroup memberships are preserved across "
3444 "B<execve>(2)."
3445 msgstr ""
3446 "En barnprocess som skapas via B<fork>(2) ärver sin förälders "
3447 "styrgruppsmedlemskap. En process styrgruppsmedlemskap bevaras över "
3448 "B<execve>(2)."
3449
3450 #. type: Plain text
3451 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3452 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3453 msgid ""
3454 "The B<clone3>(2) B<CLONE_INTO_CGROUP> flag can be used to create a child "
3455 "process that begins its life in a different version 2 cgroup from the parent "
3456 "process."
3457 msgstr ""
3458 "Flaggan B<CLONE_INTO_CGROUP> till B<clone3>(2) kan användas för att skapa en "
3459 "barnprocess som inleder sitt liv i en annan version-2-styrgrupp än "
3460 "föräldraprocessen."
3461
3462 #. type: SS
3463 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3464 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3465 #, no-wrap
3466 msgid "/proc files"
3467 msgstr "/proc-filer"
3468
3469 #. type: TP
3470 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3471 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3472 #, no-wrap
3473 msgid "I</proc/cgroups> (since Linux 2.6.24)"
3474 msgstr "I</proc/cgroups> (sedan Linux 2.6.24)"
3475
3476 #. type: Plain text
3477 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3478 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3479 msgid ""
3480 "This file contains information about the controllers that are compiled into "
3481 "the kernel. An example of the contents of this file (reformatted for "
3482 "readability) is the following:"
3483 msgstr ""
3484 "Denna fil innehåller information om hanterarna som är inkompilerade i "
3485 "kärnan. Ett exempel på innehållet i denna fil (omformaterat för läsbarhet) "
3486 "är följande:"
3487
3488 #. type: Plain text
3489 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3490 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3491 #, no-wrap
3492 msgid ""
3493 "#subsys_name hierarchy num_cgroups enabled\n"
3494 "cpuset 4 1 1\n"
3495 "cpu 8 1 1\n"
3496 "cpuacct 8 1 1\n"
3497 "blkio 6 1 1\n"
3498 "memory 3 1 1\n"
3499 "devices 10 84 1\n"
3500 "freezer 7 1 1\n"
3501 "net_cls 9 1 1\n"
3502 "perf_event 5 1 1\n"
3503 "net_prio 9 1 1\n"
3504 "hugetlb 0 1 0\n"
3505 "pids 2 1 1\n"
3506 msgstr ""
3507 "#subsys_name hierarchy num_cgroups enabled\n"
3508 "cpuset 4 1 1\n"
3509 "cpu 8 1 1\n"
3510 "cpuacct 8 1 1\n"
3511 "blkio 6 1 1\n"
3512 "memory 3 1 1\n"
3513 "devices 10 84 1\n"
3514 "freezer 7 1 1\n"
3515 "net_cls 9 1 1\n"
3516 "perf_event 5 1 1\n"
3517 "net_prio 9 1 1\n"
3518 "hugetlb 0 1 0\n"
3519 "pids 2 1 1\n"
3520
3521 #. type: Plain text
3522 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3523 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3524 msgid "The fields in this file are, from left to right:"
3525 msgstr "Fälten i denna fil är, från vänster till höger:"
3526
3527 #. type: IP
3528 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3529 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3530 #, no-wrap
3531 msgid "[1]"
3532 msgstr "[1]"
3533
3534 #. type: Plain text
3535 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3536 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3537 msgid "The name of the controller."
3538 msgstr "Namnet på hanteraren."
3539
3540 #. type: IP
3541 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3542 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3543 #, no-wrap
3544 msgid "[2]"
3545 msgstr "[2]"
3546
3547 #. type: Plain text
3548 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3549 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3550 msgid ""
3551 "The unique ID of the cgroup hierarchy on which this controller is mounted. "
3552 "If multiple cgroups v1 controllers are bound to the same hierarchy, then "
3553 "each will show the same hierarchy ID in this field. The value in this field "
3554 "will be 0 if:"
3555 msgstr ""
3556 "Det unika ID:t för styrgruppshierarkin på vilken denna hanterare är "
3557 "monterad. Om flera cgroups v1-hanterare är bundna till samma hierarki kommer "
3558 "var och en visa samma hierarki-ID i detta fält. Värdet i detta fält kommer "
3559 "vara 0 om:"
3560
3561 #. type: Plain text
3562 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3563 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3564 msgid "the controller is not mounted on a cgroups v1 hierarchy;"
3565 msgstr "hanteraren inte är monterad på en cgroups v1-hierarki;"
3566
3567 #. type: Plain text
3568 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3569 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3570 msgid "the controller is bound to the cgroups v2 single unified hierarchy; or"
3571 msgstr "hanteraren är bunden till cgroups v2s enda unifierade hierarki eller"
3572
3573 #. type: Plain text
3574 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3575 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3576 msgid "the controller is disabled (see below)."
3577 msgstr "hanteraren är avaktiverad (se nedan)."
3578
3579 #. type: IP
3580 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3581 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3582 #, no-wrap
3583 msgid "[3]"
3584 msgstr "[3]"
3585
3586 #. type: Plain text
3587 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3588 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3589 msgid "The number of control groups in this hierarchy using this controller."
3590 msgstr "Antalet styrgrupper i denna hierarki som använder denna hanterare."
3591
3592 #. type: IP
3593 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3594 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3595 #, no-wrap
3596 msgid "[4]"
3597 msgstr "[4]"
3598
3599 #. type: Plain text
3600 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3601 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3602 msgid ""
3603 "This field contains the value 1 if this controller is enabled, or 0 if it "
3604 "has been disabled (via the I<cgroup_disable> kernel command-line boot "
3605 "parameter)."
3606 msgstr ""
3607 "Detta fält har värdet 1 om denna hanterare är aktiverad eller 0 om den har "
3608 "avaktiverats (via parametern I<cgroup_disable> på kärnans kommandorad vid "
3609 "uppstart)."
3610
3611 #. type: TP
3612 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3613 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3614 #, no-wrap
3615 msgid "I</proc/>pidI</cgroup> (since Linux 2.6.24)"
3616 msgstr "I</proc/>pidI</cgroup> (sedan Linux 2.6.24)"
3617
3618 #. type: Plain text
3619 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3620 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3621 msgid ""
3622 "This file describes control groups to which the process with the "
3623 "corresponding PID belongs. The displayed information differs for cgroups "
3624 "version 1 and version 2 hierarchies."
3625 msgstr ""
3626 "Denna fil beskriver styrgrupperna till vilken processen med motsvarande PID "
3627 "hör. Den visade informationen skiljer mellan hierarkierna för styrgrupper "
3628 "version 1 och version 2."
3629
3630 #. type: Plain text
3631 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3632 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3633 msgid ""
3634 "For each cgroup hierarchy of which the process is a member, there is one "
3635 "entry containing three colon-separated fields:"
3636 msgstr ""
3637 "För varje styrgruppshierarki i vilken processen är medlem finns det en post "
3638 "som innehåller tre kolonseparerade fält:"
3639
3640 #. type: Plain text
3641 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3642 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3643 #, no-wrap
3644 msgid "hierarchy-ID:controller-list:cgroup-path\n"
3645 msgstr "hierarki-ID:hanterarlista:styrgruppssökväg\n"
3646
3647 #. type: Plain text
3648 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3649 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3650 msgid "For example:"
3651 msgstr "Till exempel:"
3652
3653 #. type: Plain text
3654 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3655 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3656 #, no-wrap
3657 msgid "5:cpuacct,cpu,cpuset:/daemons\n"
3658 msgstr "5:cpuacct,cpu,cpuset:/daemons\n"
3659
3660 #. type: Plain text
3661 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3662 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3663 msgid "The colon-separated fields are, from left to right:"
3664 msgstr "De kolonseparerade fälten är, från vänster till höger:"
3665
3666 #. type: Plain text
3667 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3668 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3669 msgid ""
3670 "For cgroups version 1 hierarchies, this field contains a unique hierarchy ID "
3671 "number that can be matched to a hierarchy ID in I</proc/cgroups>. For the "
3672 "cgroups version 2 hierarchy, this field contains the value 0."
3673 msgstr ""
3674 "För version 1-hierarkier av styrgrupper innehåller detta fält ett unikt "
3675 "hierarki-ID-nummer som kan matchas med ett hierarki-ID i I</proc/cgroups>. "
3676 "För version 2-hierarkin av styrgrupper innehåller detta fält värdet 0."
3677
3678 #. type: Plain text
3679 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3680 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3681 msgid ""
3682 "For cgroups version 1 hierarchies, this field contains a comma-separated "
3683 "list of the controllers bound to the hierarchy. For the cgroups version 2 "
3684 "hierarchy, this field is empty."
3685 msgstr ""
3686 "För version 1-hierarkier av styrgrupper innehåller detta fält en "
3687 "kommaseparerad lista över hanterare bundna till hierarkin. För version 2-"
3688 "hierarkin av styrgrupper är detta fält tomt."
3689
3690 #. type: Plain text
3691 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3692 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3693 msgid ""
3694 "This field contains the pathname of the control group in the hierarchy to "
3695 "which the process belongs. This pathname is relative to the mount point of "
3696 "the hierarchy."
3697 msgstr ""
3698 "Detta fält innehåller sökvägen till styrgruppen i hierarkin den hör till. "
3699 "Sökvägen är relativ hierarkins monteringspunkt."
3700
3701 #. type: SS
3702 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3703 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3704 #, no-wrap
3705 msgid "/sys/kernel/cgroup files"
3706 msgstr "/sys/kernel/cgroup-filer"
3707
3708 #. type: TP
3709 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3710 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3711 #, no-wrap
3712 msgid "I</sys/kernel/cgroup/delegate> (since Linux 4.15)"
3713 msgstr "I</sys/kernel/cgroup/delegate> (sedan Linux 4.15)"
3714
3715 #. commit 01ee6cfb1483fe57c9cbd8e73817dfbf9bacffd3
3716 #. type: Plain text
3717 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3718 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3719 msgid ""
3720 "This file exports a list of the cgroups v2 files (one per line) that are "
3721 "delegatable (i.e., whose ownership should be changed to the user ID of the "
3722 "delegatee). In the future, the set of delegatable files may change or grow, "
3723 "and this file provides a way for the kernel to inform user-space "
3724 "applications of which files must be delegated. As at Linux 4.15, one sees "
3725 "the following when inspecting this file:"
3726 msgstr ""
3727 "Denna fil exporterar en lista över filerna i cgroups v2 (en per rad) som går "
3728 "att delegera (d.v.s., vars ägarskap skall ändras till delegatens användar-"
3729 "ID). I framtiden kan uppsättningen delegerbara filer ändras eller växa, och "
3730 "denna fil ger en möjlighet för kärnan att informera program i användarrymden "
3731 "om vilka filer som måste delegeras. Per Linux 4.15 syns följande när man "
3732 "inspekterar filen:"
3733
3734 #. type: Plain text
3735 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
3736 #: opensuse-tumbleweed
3737 #, no-wrap
3738 msgid ""
3739 "$B< cat /sys/kernel/cgroup/delegate>\n"
3740 "cgroup.procs\n"
3741 "cgroup.subtree_control\n"
3742 "cgroup.threads\n"
3743 msgstr ""
3744 "$B< cat /sys/kernel/cgroup/delegate>\n"
3745 "cgroup.procs\n"
3746 "cgroup.subtree_control\n"
3747 "cgroup.threads\n"
3748
3749 #. type: TP
3750 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3751 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3752 #, no-wrap
3753 msgid "I</sys/kernel/cgroup/features> (since Linux 4.15)"
3754 msgstr "I</sys/kernel/cgroup/features> (sedan Linux 4.15)"
3755
3756 #. commit 5f2e673405b742be64e7c3604ed4ed3ac14f35ce
3757 #. type: Plain text
3758 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3759 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3760 msgid ""
3761 "Over time, the set of cgroups v2 features that are provided by the kernel "
3762 "may change or grow, or some features may not be enabled by default. This "
3763 "file provides a way for user-space applications to discover what features "
3764 "the running kernel supports and has enabled. Features are listed one per "
3765 "line:"
3766 msgstr ""
3767 "Med tiden kan samlingen av funktioner i cgroups v2 som kärnan "
3768 "tillhandahåller ändras eller växa, och några funktionerna kanske inte "
3769 "aktiveras som standard. Denna fil ger ett sätt för program i användarrymden "
3770 "att avgöra vilka funktioner den körande kärnan stödjer och har aktiverade. "
3771 "Funktioner listas en per rad:"
3772
3773 #. type: Plain text
3774 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
3775 #: opensuse-tumbleweed
3776 #, no-wrap
3777 msgid ""
3778 "$B< cat /sys/kernel/cgroup/features>\n"
3779 "nsdelegate\n"
3780 "memory_localevents\n"
3781 msgstr ""
3782 "$B< cat /sys/kernel/cgroup/features>\n"
3783 "nsdelegate\n"
3784 "memory_localevents\n"
3785
3786 #. type: Plain text
3787 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3788 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3789 msgid "The entries that can appear in this file are:"
3790 msgstr "Posterna som kan förekomma i denna fil är:"
3791
3792 #. type: Plain text
3793 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3794 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3795 msgid "The kernel supports the I<memory_localevents> mount option."
3796 msgstr "Kärnan stödjer monteringsflaggan I<memory_localevents>."
3797
3798 #. type: Plain text
3799 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3800 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3801 msgid "The kernel supports the I<nsdelegate> mount option."
3802 msgstr "Kärnan stödjer monteringsflaggan I<nsdelegate>."
3803
3804 #. type: TP
3805 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3806 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3807 #, no-wrap
3808 msgid "I<memory_recursiveprot> (since Linux 5.7)"
3809 msgstr "I<memory_recursiveprot> (sedan Linux 5.7)"
3810
3811 #. commit 8a931f801340c2be10552c7b5622d5f4852f3a36
3812 #. type: Plain text
3813 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3814 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3815 msgid "The kernel supports the I<memory_recursiveprot> mount option."
3816 msgstr "Kärnan stödjer monteringsflaggan I<memory_recursiveprot>."
3817
3818 #. type: SH
3819 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3820 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3821 #, no-wrap
3822 msgid "SEE ALSO"
3823 msgstr "SE ÄVEN"
3824
3825 #. type: Plain text
3826 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3827 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3828 msgid ""
3829 "B<prlimit>(1), B<systemd>(1), B<systemd-cgls>(1), B<systemd-cgtop>(1), "
3830 "B<clone>(2), B<ioprio_set>(2), B<perf_event_open>(2), B<setrlimit>(2), "
3831 "B<cgroup_namespaces>(7), B<cpuset>(7), B<namespaces>(7), B<sched>(7), "
3832 "B<user_namespaces>(7)"
3833 msgstr ""
3834 "B<prlimit>(1), B<systemd>(1), B<systemd-cgls>(1), B<systemd-cgtop>(1), "
3835 "B<clone>(2), B<ioprio_set>(2), B<perf_event_open>(2), B<setrlimit>(2), "
3836 "B<cgroup_namespaces>(7), B<cpuset>(7), B<namespaces>(7), B<sched>(7), "
3837 "B<user_namespaces>(7)"
3838
3839 #. type: Plain text
3840 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3841 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
3842 msgid "The kernel source file I<Documentation/admin-guide/cgroup-v2.rst>."
3843 msgstr "Kärnans källfil I<Documentation/admin-guide/cgroup-v2.rst>."
3844
3845 #. type: TH
3846 #: debian-trixie
3847 #, no-wrap
3848 msgid "2024-06-15"
3849 msgstr "15 juni 2024"
3850
3851 #. type: TH
3852 #: debian-trixie
3853 #, no-wrap
3854 msgid "Linux man-pages 6.9.1"
3855 msgstr "Linux man-pages 6.9.1"
3856
3857 #. type: Plain text
3858 #: debian-trixie fedora-44 fedora-rawhide
3859 msgid ""
3860 "The initial release of the cgroups implementation was in Linux 2.6.24. Over "
3861 "time, various cgroup controllers have been added to allow the management of "
3862 "various types of resources. However, the development of these controllers "
3863 "was largely uncoordinated, with the result that many inconsistencies arose "
3864 "between controllers and management of the cgroup hierarchies became rather "
3865 "complex. A longer description of these problems can be found in the kernel "
3866 "source file I<Documentation/admin-guide/cgroup-v2.rst> (or I<Documentation/"
3867 "cgroup-v2.txt> in Linux 4.17 and earlier)."
3868 msgstr ""
3869 "Den ursprungliga utgåvan av cgroups-implementationen var i Linux 2.6.24. Med "
3870 "tiden har olika cgroup-hanterare lagts till för att möjliggöra hanteringen "
3871 "av olika typer av resurser. Dock var utvecklingen av dessa hanterare i stort "
3872 "sett okoordinerad, med resultatet att många inkonsistenser uppstod mellan "
3873 "hanterare och användandet av cgroup-hierarkier blev ganska komplext. En "
3874 "längre beskrivning av dessa problem finns i kärnans källfil I<Documentation/"
3875 "admin-guide/cgroup-v2.rst> (eller I<Documentation/cgroup-v2.txt> i Linux "
3876 "4.17 och tidigare)."
3877
3878 #. type: Plain text
3879 #: debian-trixie
3880 msgid ""
3881 "It is not possible to mount the same controller against multiple cgroup "
3882 "hierarchies. For example, it is not possible to mount both the I<cpu> and "
3883 "I<cpuacct> controllers against one hierarchy, and to mount the I<cpu> "
3884 "controller alone against another hierarchy. It is possible to create "
3885 "multiple mount with exactly the same set of comounted controllers. However, "
3886 "in this case all that results is multiple mount points providing a view of "
3887 "the same hierarchy."
3888 msgstr ""
3889 "Det är inte möjligt att montera samma hanterare mot flera cgroup-hierarkier. "
3890 "Till exempel är det inte möjligt att montera både hanteraren I<cpu> och "
3891 "I<cpuacct> mot en hierarki, och att montera hanteraren I<cpu> ensam mot en "
3892 "annan hierarki. Det är möjligt att skapa flera monteringar med exakt samma "
3893 "uppsättning av sammonterade hanterare. I det fallet är dock det enda som "
3894 "händer att flera monteringspunkter ger en vy av samma hierarki."
3895
3896 #. type: TP
3897 #: debian-trixie fedora-44 fedora-rawhide
3898 #, no-wrap
3899 msgid "I<cpu> (since Linux 2.6.24; B<CONFIG_CGROUP_SCHED>)"
3900 msgstr "I<cpu> (från Linux 2.6.24; B<CONFIG_CGROUP_SCHED>)"
3901
3902 #. type: Plain text
3903 #: debian-trixie fedora-44 fedora-rawhide
3904 msgid ""
3905 "Cgroups can be guaranteed a minimum number of \"CPU shares\" when a system "
3906 "is busy. This does not limit a cgroup's CPU usage if the CPUs are not "
3907 "busy. For further information, see I<Documentation/scheduler/sched-design-"
3908 "CFS.rst> (or I<Documentation/scheduler/sched-design-CFS.txt> in Linux 5.2 "
3909 "and earlier)."
3910 msgstr ""
3911 "Cgroups kan garanteras ett minsta antal ”CPU-andelar” när ett system är "
3912 "belastat. Detta begränsar inte en cgroup:s CPU-användning om CPU:erna inte "
3913 "är belastade. För ytterligare information, se I<Documentation/scheduler/"
3914 "sched-design-CFS.rst> (eller I<Documentation/scheduler/sched-design-CFS.txt> "
3915 "i Linux 5.2 och tidigare)."
3916
3917 #. type: Plain text
3918 #: debian-trixie fedora-44 fedora-rawhide
3919 msgid ""
3920 "In Linux 3.2, this controller was extended to provide CPU \"bandwidth\" "
3921 "control. If the kernel is configured with B<CONFIG_CFS_BANDWIDTH>, then "
3922 "within each scheduling period (defined via a file in the cgroup directory), "
3923 "it is possible to define an upper limit on the CPU time allocated to the "
3924 "processes in a cgroup. This upper limit applies even if there is no other "
3925 "competition for the CPU. Further information can be found in the kernel "
3926 "source file I<Documentation/scheduler/sched-bwc.rst> (or I<Documentation/"
3927 "scheduler/sched-bwc.txt> in Linux 5.2 and earlier)."
3928 msgstr ""
3929 "I Linux 3.2 utökades denna styrgrupp till att tillandahålla styrning av ”CPU-"
3930 "bandbredd”. Om kärnan konfigureras med B<CONFIG_CFS_BANDWIDTH> är det, inom "
3931 "varje schemaläggningsperiod (definierad via en fil i cgroup-katalogen), "
3932 "möjligt att definiera en övre gräns på CPU-tiden som tilldelas till "
3933 "processer i en cgroup. Denna övre gräns gäller även om det inte finns någon "
3934 "annan konkurrens om CPU:n. Ytterligare information finns i kärnans källfil "
3935 "I<Documentation/scheduler/sched-bwc.rst> (eller I<Documentation/scheduler/"
3936 "sched-bwc.txt> i Linux 5.2 och tidigare)."
3937
3938 #. type: TP
3939 #: debian-trixie fedora-44 fedora-rawhide
3940 #, no-wrap
3941 msgid "I<cpuacct> (since Linux 2.6.24; B<CONFIG_CGROUP_CPUACCT>)"
3942 msgstr "I<cpuacct> (sedan Linux 2.6.24; B<CONFIG_CGROUP_CPUACCT>)"
3943
3944 #. type: Plain text
3945 #: debian-trixie fedora-44 fedora-rawhide
3946 msgid ""
3947 "Further information can be found in the kernel source file I<Documentation/"
3948 "admin-guide/cgroup-v1/cpuacct.rst> (or I<Documentation/cgroup-v1/cpuacct."
3949 "txt> in Linux 5.2 and earlier)."
3950 msgstr ""
3951 "Ytterligare information finns i kärnans källfil I<Documentation/admin-guide/"
3952 "cgroup-v1/cpuacct.rst> (eller I<Documentation/cgroup-v1/cpuacct.txt> i Linux "
3953 "5.2 och tidigare)."
3954
3955 #. type: TP
3956 #: debian-trixie fedora-44 fedora-rawhide
3957 #, no-wrap
3958 msgid "I<cpuset> (since Linux 2.6.24; B<CONFIG_CPUSETS>)"
3959 msgstr "I<cpuset> (sedan Linux 2.6.24; B<CONFIG_CPUSETS>)"
3960
3961 #. type: Plain text
3962 #: debian-trixie fedora-44 fedora-rawhide
3963 msgid ""
3964 "Further information can be found in the kernel source file I<Documentation/"
3965 "admin-guide/cgroup-v1/cpusets.rst> (or I<Documentation/cgroup-v1/cpusets."
3966 "txt> in Linux 5.2 and earlier)."
3967 msgstr ""
3968 "Ytterligare information finns i kärnans källfil I<Documentation/admin-guide/"
3969 "cgroup-v1/cpusets.rst> (eller I<Documentation/cgroup-v1/cpusets.txt> i Linux "
3970 "5.2 och tidigare)."
3971
3972 #. type: TP
3973 #: debian-trixie fedora-44 fedora-rawhide
3974 #, no-wrap
3975 msgid "I<memory> (since Linux 2.6.25; B<CONFIG_MEMCG>)"
3976 msgstr "I<memory> (sedan Linux 2.6.25; B<CONFIG_MEMCG>)"
3977
3978 #. type: Plain text
3979 #: debian-trixie fedora-44 fedora-rawhide
3980 msgid ""
3981 "Further information can be found in the kernel source file I<Documentation/"
3982 "admin-guide/cgroup-v1/memory.rst> (or I<Documentation/cgroup-v1/memory.txt> "
3983 "in Linux 5.2 and earlier)."
3984 msgstr ""
3985 "Ytterligare information finns i kärnans källfil I<Documentation/admin-guide/"
3986 "cgroup-v1/memory.rst> (eller I<Documentation/cgroup-v1/memory.txt> i Linux "
3987 "5.2 och tidigare)."
3988
3989 #. type: TP
3990 #: debian-trixie fedora-44 fedora-rawhide
3991 #, no-wrap
3992 msgid "I<devices> (since Linux 2.6.26; B<CONFIG_CGROUP_DEVICE>)"
3993 msgstr "I<devices> (sedan Linux 2.6.26; B<CONFIG_CGROUP_DEVICE>)"
3994
3995 #. type: Plain text
3996 #: debian-trixie fedora-44 fedora-rawhide
3997 msgid ""
3998 "Further information can be found in the kernel source file I<Documentation/"
3999 "admin-guide/cgroup-v1/devices.rst> (or I<Documentation/cgroup-v1/devices."
4000 "txt> in Linux 5.2 and earlier)."
4001 msgstr ""
4002 "Ytterligare information finns i kärnans källfil I<Documentation/admin-guide/"
4003 "cgroup-v1/devices.rst> (eller I<Documentation/cgroup-v1/devices.txt> i Linux "
4004 "5.2 och tidigare)."
4005
4006 #. type: TP
4007 #: debian-trixie fedora-44 fedora-rawhide
4008 #, no-wrap
4009 msgid "I<freezer> (since Linux 2.6.28; B<CONFIG_CGROUP_FREEZER>)"
4010 msgstr "I<freezer> (sedan Linux 2.6.28; B<CONFIG_CGROUP_FREEZER>)"
4011
4012 #. type: Plain text
4013 #: debian-trixie fedora-44 fedora-rawhide
4014 msgid ""
4015 "Further information can be found in the kernel source file I<Documentation/"
4016 "admin-guide/cgroup-v1/freezer-subsystem.rst> (or I<Documentation/cgroup-v1/"
4017 "freezer-subsystem.txt> in Linux 5.2 and earlier)."
4018 msgstr ""
4019 "Ytterligare information finns i kärnans källfil I<Documentation/admin-guide/"
4020 "cgroup-v1/freezer-subsystem.rst> (eller I<Documentation/cgroup-v1/freezer-"
4021 "subsystem.txt> i Linux 5.2 och tidigare)."
4022
4023 #. type: TP
4024 #: debian-trixie fedora-44 fedora-rawhide
4025 #, no-wrap
4026 msgid "I<net_cls> (since Linux 2.6.29; B<CONFIG_CGROUP_NET_CLASSID>)"
4027 msgstr "I<net_cls> (sedan Linux 2.6.29; B<CONFIG_CGROUP_NET_CLASSID>)"
4028
4029 #. type: Plain text
4030 #: debian-trixie fedora-44 fedora-rawhide
4031 msgid ""
4032 "Further information can be found in the kernel source file I<Documentation/"
4033 "admin-guide/cgroup-v1/net_cls.rst> (or I<Documentation/cgroup-v1/net_cls."
4034 "txt> in Linux 5.2 and earlier)."
4035 msgstr ""
4036 "Ytterligare information finns i kärnans källfil I<Documentation/admin-guide/"
4037 "cgroup-v1/net_cls.rst> (eller I<Documentation/cgroup-v1/net_cls.txt> i Linux "
4038 "5.2 och tidigare)."
4039
4040 #. type: TP
4041 #: debian-trixie fedora-44 fedora-rawhide
4042 #, no-wrap
4043 msgid "I<blkio> (since Linux 2.6.33; B<CONFIG_BLK_CGROUP>)"
4044 msgstr "I<blkio> (sedan Linux 2.6.33; B<CONFIG_BLK_CGROUP>)"
4045
4046 #. type: Plain text
4047 #: debian-trixie fedora-44 fedora-rawhide
4048 msgid ""
4049 "Further information can be found in the kernel source file I<Documentation/"
4050 "admin-guide/cgroup-v1/blkio-controller.rst> (or I<Documentation/cgroup-v1/"
4051 "blkio-controller.txt> in Linux 5.2 and earlier)."
4052 msgstr ""
4053 "Ytterligare information finns i kärnans källfil I<Documentation/admin-guide/"
4054 "cgroup-v1/blkio-controller.rst> (eller I<Documentation/cgroup-v1/blkio-"
4055 "controller.txt> i Linux 5.2 och tidigare)."
4056
4057 #. type: TP
4058 #: debian-trixie fedora-44 fedora-rawhide
4059 #, no-wrap
4060 msgid "I<perf_event> (since Linux 2.6.39; B<CONFIG_CGROUP_PERF>)"
4061 msgstr "I<perf_event> (sedan Linux 2.6.39; B<CONFIG_CGROUP_PERF>)"
4062
4063 #. type: TP
4064 #: debian-trixie fedora-44 fedora-rawhide
4065 #, no-wrap
4066 msgid "I<net_prio> (since Linux 3.3; B<CONFIG_CGROUP_NET_PRIO>)"
4067 msgstr "I<net_prio> (sedan Linux 3.3; B<CONFIG_CGROUP_NET_PRIO>)"
4068
4069 #. type: Plain text
4070 #: debian-trixie fedora-44 fedora-rawhide
4071 msgid ""
4072 "Further information can be found in the kernel source file I<Documentation/"
4073 "admin-guide/cgroup-v1/net_prio.rst> (or I<Documentation/cgroup-v1/net_prio."
4074 "txt> in Linux 5.2 and earlier)."
4075 msgstr ""
4076 "Ytterligare information finns i kärnans källfil I<Documentation/admin-guide/"
4077 "cgroup-v1/net_prio.rst> (eller I<Documentation/cgroup-v1/net_prio.txt> i "
4078 "Linux 5.2 och tidigare)."
4079
4080 #. type: TP
4081 #: debian-trixie fedora-44 fedora-rawhide
4082 #, no-wrap
4083 msgid "I<hugetlb> (since Linux 3.5; B<CONFIG_CGROUP_HUGETLB>)"
4084 msgstr "I<hugetlb> (sedan Linux 3.5; B<CONFIG_CGROUP_HUGETLB>)"
4085
4086 #. type: Plain text
4087 #: debian-trixie fedora-44 fedora-rawhide
4088 msgid ""
4089 "Further information can be found in the kernel source file I<Documentation/"
4090 "admin-guide/cgroup-v1/hugetlb.rst> (or I<Documentation/cgroup-v1/hugetlb."
4091 "txt> in Linux 5.2 and earlier)."
4092 msgstr ""
4093 "Ytterligare information finns i kärnans källfil I<Documentation/admin-guide/"
4094 "cgroup-v1/hugetlb.rst> (eller I<Documentation/cgroup-v1/hugetlb.txt> i Linux "
4095 "5.2 och tidigare)."
4096
4097 #. type: TP
4098 #: debian-trixie fedora-44 fedora-rawhide
4099 #, no-wrap
4100 msgid "I<pids> (since Linux 4.3; B<CONFIG_CGROUP_PIDS>)"
4101 msgstr "I<pids> (sedan Linux 4.3; B<CONFIG_CGROUP_PIDS>)"
4102
4103 #. type: Plain text
4104 #: debian-trixie fedora-44 fedora-rawhide
4105 msgid ""
4106 "Further information can be found in the kernel source file I<Documentation/"
4107 "admin-guide/cgroup-v1/pids.rst> (or I<Documentation/cgroup-v1/pids.txt> in "
4108 "Linux 5.2 and earlier)."
4109 msgstr ""
4110 "Ytterligare information finns i kärnans källfil I<Documentation/admin-guide/"
4111 "cgroup-v1/pids.rst> (eller I<Documentation/cgroup-v1/pids.txt> i Linux 5.2 "
4112 "och senare)."
4113
4114 #. type: TP
4115 #: debian-trixie fedora-44 fedora-rawhide
4116 #, no-wrap
4117 msgid "I<rdma> (since Linux 4.11; B<CONFIG_CGROUP_RDMA>)"
4118 msgstr "I<rdma> (sedan Linux 4.11; B<CONFIG_CGROUP_RDMA>)"
4119
4120 #. type: Plain text
4121 #: debian-trixie fedora-44 fedora-rawhide
4122 msgid ""
4123 "Further information can be found in the kernel source file I<Documentation/"
4124 "admin-guide/cgroup-v1/rdma.rst> (or I<Documentation/cgroup-v1/rdma.txt> in "
4125 "Linux 5.2 and earlier)."
4126 msgstr ""
4127 "Ytterligare information finns i kärnans källfil I<Documentation/admin-guide/"
4128 "cgroup-v1/rdma.rst> (eller I<Documentation/cgroup-v1/rdma.txt> i Linux 5.2 "
4129 "och tidigare)."
4130
4131 #. type: Plain text
4132 #: debian-trixie fedora-44 fedora-rawhide
4133 msgid ""
4134 "For more changes, see the I<Documentation/admin-guide/cgroup-v2.rst> file in "
4135 "the kernel source (or I<Documentation/cgroup-v2.txt> in Linux 4.17 and "
4136 "earlier)."
4137 msgstr ""
4138 "För fler ändringar, se filen I<Documentation/admin-guide/cgroup-v2.rst> i "
4139 "kärnans källa (eller I<Documentation/cgroup-v2.txt> i Linux 4.17 och "
4140 "tidigare)."
4141
4142 #. commit 9852ae3fe5293264f01c49f2571ef7688f7823ce
4143 #. type: Plain text
4144 #: debian-trixie
4145 msgid ""
4146 "The I<memory.events> should show statistics only for the cgroup itself, and "
4147 "not for any descendant cgroups. This was the behavior before Linux 5.2. "
4148 "Starting in Linux 5.2, the default behavior is to include statistics for "
4149 "descendant cgroups in I<memory.events>, and this mount option can be used to "
4150 "revert to the legacy behavior. This option is system wide and can be set on "
4151 "mount or modified through remount only from the initial mount namespace; it "
4152 "is silently ignored in noninitial namespaces."
4153 msgstr ""
4154 "I<memory.events> skall visa statistik endast för styrgruppen själv, och inte "
4155 "för några avkommestyrgrupper. Detta var beteendet före Linux 5.2. Med början "
4156 "i Linux 5.2 är standardbeteendet att inkludera statistik för "
4157 "avkommestyrgrupper i I<memory.events>, och denna monteringsflagga kan "
4158 "användas för att återgå till det tidigare beteendet. Denna flagga är "
4159 "systemvid och kan anges vid monteringar eller ändras genom ommonteringar "
4160 "endast från den intiala monteringsnamnrymden; den ignoreras tyst i andra "
4161 "namnrymder än den initiala."
4162
4163 #. type: Plain text
4164 #: debian-trixie fedora-44 fedora-rawhide
4165 msgid ""
4166 "The following controllers, documented in the kernel source file "
4167 "I<Documentation/admin-guide/cgroup-v2.rst> (or I<Documentation/cgroup-v2."
4168 "txt> in Linux 4.17 and earlier), are supported in cgroups version 2:"
4169 msgstr ""
4170 "Följande hanterare, dokumenterade i kärnans källfil I<Documentation/admin-"
4171 "guide/cgroup-v2.rst> (eller I<Documentation/cgroup-v2.txt> i Linux 4.17 och "
4172 "tidigare), stödjs i styrgrupper version 2:"
4173
4174 #. type: Plain text
4175 #: debian-trixie fedora-44 fedora-rawhide
4176 #, no-wrap
4177 msgid ""
4178 "$ B<cat mygrp/cgroup.events>\n"
4179 "populated 1\n"
4180 "frozen 0\n"
4181 msgstr ""
4182 "$ B<cat mingrp/cgroup.events>\n"
4183 "populated 1\n"
4184 "frozen 0\n"
4185
4186 #. type: Plain text
4187 #: debian-trixie fedora-44 fedora-rawhide
4188 msgid ""
4189 "One of the consequences of the above pathways to creating a threaded subtree "
4190 "is that the threaded root cgroup can be a parent only to I<threaded> (and "
4191 "I<domain invalid>) cgroups. The threaded root cgroup can't be a parent of "
4192 "a I<domain> cgroups, and a I<threaded> cgroup can't have a sibling that is a "
4193 "I<domain> cgroup."
4194 msgstr ""
4195 "En av konsekvenserna av de ovanstående sätten för att skapa ett trådat "
4196 "underträd är att den trådade rotstyrgruppen endast kan vara förälder till "
4197 "styrgrupper som är I<trådade> (och I<domän felaktiga>). Den trådade "
4198 "rotstyrgruppen kan inte vara förälder till I<domän>styrgrupper, och en "
4199 "I<trådad> styrgrupp kan inte ha ett syskon som är en I<domän>styrgrupp."
4200
4201 #. type: Plain text
4202 #: debian-trixie fedora-44 fedora-rawhide
4203 #, no-wrap
4204 msgid ""
4205 "$ B<cat /sys/kernel/cgroup/delegate>\n"
4206 "cgroup.procs\n"
4207 "cgroup.subtree_control\n"
4208 "cgroup.threads\n"
4209 msgstr ""
4210 "$ B<cat /sys/kernel/cgroup/delegate>\n"
4211 "cgroup.procs\n"
4212 "cgroup.subtree_control\n"
4213 "cgroup.threads\n"
4214
4215 #. type: Plain text
4216 #: debian-trixie fedora-44 fedora-rawhide
4217 #, no-wrap
4218 msgid ""
4219 "$ B<cat /sys/kernel/cgroup/features>\n"
4220 "nsdelegate\n"
4221 "memory_localevents\n"
4222 msgstr ""
4223 "$ B<cat /sys/kernel/cgroup/features>\n"
4224 "nsdelegate\n"
4225 "memory_localevents\n"
4226
4227 #. type: TH
4228 #: fedora-44 fedora-rawhide
4229 #, no-wrap
4230 msgid "2024-12-04"
4231 msgstr "4 december 2024"
4232
4233 #. type: TH
4234 #: fedora-44 fedora-rawhide
4235 #, no-wrap
4236 msgid "Linux man-pages 6.13"
4237 msgstr "Linux man-pages 6.13"
4238
4239 #. type: TH
4240 #: mageia-cauldron
4241 #, no-wrap
4242 msgid "Linux man-pages 6.17"
4243 msgstr "Linux man-pages 6.17"
4244
4245 #. type: TH
4246 #: opensuse-leap-16-1 opensuse-tumbleweed
4247 #, no-wrap
4248 msgid "Linux man-pages (unreleased)"
4249 msgstr "Linux man-pages (outgivna)"