1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
|
# SOME DESCRIPTIVE TITLE
# Copyright (C) YEAR Free Software Foundation, Inc.
# This file is distributed under the same license as the PACKAGE package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"POT-Creation-Date: 2023-08-27 17:29+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"Language: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#. type: TH
#: debian-bookworm opensuse-leap-15-6
#, no-wrap
msgid "TASKSET"
msgstr ""
#. type: TH
#: debian-bookworm
#, no-wrap
msgid "2022-05-11"
msgstr ""
#. type: TH
#: debian-bookworm
#, no-wrap
msgid "util-linux 2.38.1"
msgstr ""
#. type: TH
#: debian-bookworm opensuse-leap-15-6
#, no-wrap
msgid "User Commands"
msgstr ""
#. type: SH
#: debian-bookworm opensuse-leap-15-6
#, no-wrap
msgid "NAME"
msgstr ""
#. type: Plain text
#: debian-bookworm opensuse-leap-15-6
msgid "taskset - set or retrieve a process\\(aqs CPU affinity"
msgstr ""
#. type: SH
#: debian-bookworm opensuse-leap-15-6
#, no-wrap
msgid "SYNOPSIS"
msgstr ""
#. type: Plain text
#: debian-bookworm opensuse-leap-15-6
msgid "B<taskset> [options] I<mask command> [I<argument>...]"
msgstr ""
#. type: Plain text
#: debian-bookworm opensuse-leap-15-6
msgid "B<taskset> [options] B<-p> [I<mask>] I<pid>"
msgstr ""
#. type: SH
#: debian-bookworm opensuse-leap-15-6
#, no-wrap
msgid "DESCRIPTION"
msgstr ""
#. type: Plain text
#: debian-bookworm opensuse-leap-15-6
msgid ""
"The B<taskset> command is used to set or retrieve the CPU affinity of a "
"running process given its I<pid>, or to launch a new I<command> with a given "
"CPU affinity. CPU affinity is a scheduler property that \"bonds\" a process "
"to a given set of CPUs on the system. The Linux scheduler will honor the "
"given CPU affinity and the process will not run on any other CPUs. Note that "
"the Linux scheduler also supports natural CPU affinity: the scheduler "
"attempts to keep processes on the same CPU as long as practical for "
"performance reasons. Therefore, forcing a specific CPU affinity is useful "
"only in certain applications."
msgstr ""
#. type: Plain text
#: debian-bookworm opensuse-leap-15-6
msgid ""
"The CPU affinity is represented as a bitmask, with the lowest order bit "
"corresponding to the first logical CPU and the highest order bit "
"corresponding to the last logical CPU. Not all CPUs may exist on a given "
"system but a mask may specify more CPUs than are present. A retrieved mask "
"will reflect only the bits that correspond to CPUs physically on the system. "
"If an invalid mask is given (i.e., one that corresponds to no valid CPUs on "
"the current system) an error is returned. The masks may be specified in "
"hexadecimal (with or without a leading \"0x\"), or as a CPU list with the "
"B<--cpu-list> option. For example,"
msgstr ""
#. type: Plain text
#: debian-bookworm opensuse-leap-15-6
msgid "B<0x00000001>"
msgstr ""
#. type: Plain text
#: debian-bookworm opensuse-leap-15-6
msgid "is processor #0,"
msgstr ""
#. type: Plain text
#: debian-bookworm opensuse-leap-15-6
msgid "B<0x00000003>"
msgstr ""
#. type: Plain text
#: debian-bookworm opensuse-leap-15-6
msgid "is processors #0 and #1,"
msgstr ""
#. type: Plain text
#: debian-bookworm opensuse-leap-15-6
msgid "B<0xFFFFFFFF>"
msgstr ""
#. type: Plain text
#: debian-bookworm opensuse-leap-15-6
msgid "is processors #0 through #31,"
msgstr ""
#. type: Plain text
#: debian-bookworm opensuse-leap-15-6
msgid "B<32>"
msgstr ""
#. type: Plain text
#: debian-bookworm opensuse-leap-15-6
msgid "is processors #1, #4, and #5,"
msgstr ""
#. type: Plain text
#: debian-bookworm opensuse-leap-15-6
msgid "B<--cpu-list 0-2,6>"
msgstr ""
#. type: Plain text
#: debian-bookworm opensuse-leap-15-6
msgid "is processors #0, #1, #2, and #6."
msgstr ""
#. type: Plain text
#: debian-bookworm opensuse-leap-15-6
msgid "B<--cpu-list 0-10:2>"
msgstr ""
#. type: Plain text
#: debian-bookworm opensuse-leap-15-6
msgid ""
"is processors #0, #2, #4, #6, #8 and #10. The suffix \":N\" specifies stride "
"in the range, for example 0-10:3 is interpreted as 0,3,6,9 list."
msgstr ""
#. type: Plain text
#: debian-bookworm opensuse-leap-15-6
msgid ""
"When B<taskset> returns, it is guaranteed that the given program has been "
"scheduled to a legal CPU."
msgstr ""
#. type: SH
#: debian-bookworm opensuse-leap-15-6
#, no-wrap
msgid "OPTIONS"
msgstr ""
#. type: Plain text
#: debian-bookworm opensuse-leap-15-6
msgid "B<-a>, B<--all-tasks>"
msgstr ""
#. type: Plain text
#: debian-bookworm opensuse-leap-15-6
msgid ""
"Set or retrieve the CPU affinity of all the tasks (threads) for a given PID."
msgstr ""
#. type: Plain text
#: debian-bookworm opensuse-leap-15-6
msgid "B<-c>, B<--cpu-list>"
msgstr ""
#. type: Plain text
#: debian-bookworm opensuse-leap-15-6
msgid ""
"Interpret I<mask> as numerical list of processors instead of a bitmask. "
"Numbers are separated by commas and may include ranges. For example: "
"B<0,5,8-11>."
msgstr ""
#. type: Plain text
#: debian-bookworm opensuse-leap-15-6
msgid "B<-p>, B<--pid>"
msgstr ""
#. type: Plain text
#: debian-bookworm opensuse-leap-15-6
msgid "Operate on an existing PID and do not launch a new task."
msgstr ""
#. type: Plain text
#: debian-bookworm opensuse-leap-15-6
msgid "B<-h>, B<--help>"
msgstr ""
#. type: Plain text
#: debian-bookworm opensuse-leap-15-6
msgid "Display help text and exit."
msgstr ""
#. type: Plain text
#: debian-bookworm opensuse-leap-15-6
msgid "B<-V>, B<--version>"
msgstr ""
#. type: Plain text
#: debian-bookworm
msgid "Print version and exit."
msgstr ""
#. type: SH
#: debian-bookworm opensuse-leap-15-6
#, no-wrap
msgid "USAGE"
msgstr ""
#. type: Plain text
#: debian-bookworm opensuse-leap-15-6
msgid ""
"The default behavior is to run a new command with a given affinity mask:"
msgstr ""
#. type: Plain text
#: debian-bookworm opensuse-leap-15-6
msgid "B<taskset> I<mask> I<command> [I<arguments>]"
msgstr ""
#. type: Plain text
#: debian-bookworm opensuse-leap-15-6
msgid "You can also retrieve the CPU affinity of an existing task:"
msgstr ""
#. type: Plain text
#: debian-bookworm opensuse-leap-15-6
msgid "B<taskset -p> I<pid>"
msgstr ""
#. type: Plain text
#: debian-bookworm opensuse-leap-15-6
msgid "Or set it:"
msgstr ""
#. type: Plain text
#: debian-bookworm opensuse-leap-15-6
msgid "B<taskset -p> I<mask pid>"
msgstr ""
#. type: SH
#: debian-bookworm opensuse-leap-15-6
#, no-wrap
msgid "PERMISSIONS"
msgstr ""
#. type: Plain text
#: debian-bookworm opensuse-leap-15-6
msgid ""
"A user can change the CPU affinity of a process belonging to the same user. "
"A user must possess B<CAP_SYS_NICE> to change the CPU affinity of a process "
"belonging to another user. A user can retrieve the affinity mask of any "
"process."
msgstr ""
#. type: SH
#: debian-bookworm opensuse-leap-15-6
#, no-wrap
msgid "AUTHORS"
msgstr ""
#. type: Plain text
#: debian-bookworm opensuse-leap-15-6
msgid "Written by Robert M. Love."
msgstr ""
#. type: SH
#: debian-bookworm opensuse-leap-15-6
#, no-wrap
msgid "COPYRIGHT"
msgstr ""
#. type: Plain text
#: debian-bookworm opensuse-leap-15-6
msgid ""
"Copyright © 2004 Robert M. Love. This is free software; see the source for "
"copying conditions. There is NO warranty; not even for MERCHANTABILITY or "
"FITNESS FOR A PARTICULAR PURPOSE."
msgstr ""
#. type: SH
#: debian-bookworm opensuse-leap-15-6
#, no-wrap
msgid "SEE ALSO"
msgstr ""
#. type: Plain text
#: debian-bookworm opensuse-leap-15-6
msgid ""
"B<chrt>(1), B<nice>(1), B<renice>(1), B<sched_getaffinity>(2), "
"B<sched_setaffinity>(2)"
msgstr ""
#. type: Plain text
#: debian-bookworm opensuse-leap-15-6
msgid "See B<sched>(7) for a description of the Linux scheduling scheme."
msgstr ""
#. type: SH
#: debian-bookworm opensuse-leap-15-6
#, no-wrap
msgid "REPORTING BUGS"
msgstr ""
#. type: Plain text
#: debian-bookworm opensuse-leap-15-6
msgid "For bug reports, use the issue tracker at"
msgstr ""
#. type: SH
#: debian-bookworm opensuse-leap-15-6
#, no-wrap
msgid "AVAILABILITY"
msgstr ""
#. type: Plain text
#: debian-bookworm opensuse-leap-15-6
msgid ""
"The B<taskset> command is part of the util-linux package which can be "
"downloaded from"
msgstr ""
#. type: TH
#: opensuse-leap-15-6
#, no-wrap
msgid "2022-02-14"
msgstr ""
#. type: TH
#: opensuse-leap-15-6
#, no-wrap
msgid "util-linux 2.37.4"
msgstr ""
#. type: Plain text
#: opensuse-leap-15-6
msgid "Display version information and exit."
msgstr ""
|