Debian Codegraph @

templates/man2/getpriority.2.pot

raw
1 # SOME DESCRIPTIVE TITLE
2 # Copyright (C) YEAR Free Software Foundation, Inc.
3 # This file is distributed under the same license as the PACKAGE package.
4 # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
5 #
6 #, fuzzy
7 msgid ""
8 msgstr ""
9 "Project-Id-Version: PACKAGE VERSION\n"
10 "POT-Creation-Date: 2026-06-05 06:25+0200\n"
11 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
12 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
13 "Language-Team: LANGUAGE <[email protected]>\n"
14 "Language: \n"
15 "MIME-Version: 1.0\n"
16 "Content-Type: text/plain; charset=UTF-8\n"
17 "Content-Transfer-Encoding: 8bit\n"
18
19 #. type: TH
20 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
21 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
22 #, no-wrap
23 msgid "getpriority"
24 msgstr ""
25
26 #. type: TH
27 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
28 #: opensuse-tumbleweed
29 #, no-wrap
30 msgid "2026-01-23"
31 msgstr ""
32
33 #. type: TH
34 #: archlinux debian-unstable
35 #, no-wrap
36 msgid "Linux man-pages 6.18"
37 msgstr ""
38
39 #. type: SH
40 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
41 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
42 #, no-wrap
43 msgid "NAME"
44 msgstr ""
45
46 #. type: Plain text
47 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
48 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
49 msgid "getpriority, setpriority - get/set program scheduling priority"
50 msgstr ""
51
52 #. type: SH
53 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
54 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
55 #, no-wrap
56 msgid "LIBRARY"
57 msgstr ""
58
59 #. type: Plain text
60 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
61 #: opensuse-leap-16-1 opensuse-tumbleweed
62 msgid "Standard C library (I<libc>,\\ I<-lc>)"
63 msgstr ""
64
65 #. type: SH
66 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
67 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
68 #, no-wrap
69 msgid "SYNOPSIS"
70 msgstr ""
71
72 #. type: Plain text
73 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
74 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
75 #, no-wrap
76 msgid "B<#include E<lt>sys/resource.hE<gt>>\n"
77 msgstr ""
78
79 #. type: Plain text
80 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
81 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
82 #, no-wrap
83 msgid ""
84 "B<int getpriority(int >I<which>B<, id_t >I<who>B<);>\n"
85 "B<int setpriority(int >I<which>B<, id_t >I<who>B<, int >I<prio>B<);>\n"
86 msgstr ""
87
88 #. type: SH
89 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
90 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
91 #, no-wrap
92 msgid "DESCRIPTION"
93 msgstr ""
94
95 #. type: Plain text
96 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
97 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
98 msgid ""
99 "The scheduling priority of the process, process group, or user, as indicated "
100 "by I<which> and I<who> is obtained with the B<getpriority>() call and set "
101 "with the B<setpriority>() call. The process attribute dealt with by these "
102 "system calls is the same attribute (also known as the \"nice\" value) that "
103 "is dealt with by B<nice>(2)."
104 msgstr ""
105
106 #. type: Plain text
107 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
108 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
109 msgid ""
110 "The value I<which> is one of B<PRIO_PROCESS>, B<PRIO_PGRP>, or B<PRIO_USER>, "
111 "and I<who> is interpreted relative to I<which> (a process identifier for "
112 "B<PRIO_PROCESS>, process group identifier for B<PRIO_PGRP>, and a user ID "
113 "for B<PRIO_USER>). A zero value for I<who> denotes (respectively) the "
114 "calling process, the process group of the calling process, or the real user "
115 "ID of the calling process."
116 msgstr ""
117
118 #. type: Plain text
119 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
120 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
121 msgid ""
122 "The I<prio> argument is a value in the range -20 to 19 (but see NOTES "
123 "below), with -20 being the highest priority and 19 being the lowest "
124 "priority. Attempts to set a priority outside this range are silently "
125 "clamped to the range. The default priority is 0; lower values give a "
126 "process a higher scheduling priority."
127 msgstr ""
128
129 #. type: Plain text
130 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
131 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
132 msgid ""
133 "The B<getpriority>() call returns the highest priority (lowest numerical "
134 "value) enjoyed by any of the specified processes. The B<setpriority>() "
135 "call sets the priorities of all of the specified processes to the specified "
136 "value."
137 msgstr ""
138
139 #. type: Plain text
140 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
141 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
142 msgid ""
143 "Traditionally, only a privileged process could lower the nice value (i.e., "
144 "set a higher priority). However, since Linux 2.6.12, an unprivileged "
145 "process can decrease the nice value of a target process that has a suitable "
146 "B<RLIMIT_NICE> soft limit; see B<getrlimit>(2) for details."
147 msgstr ""
148
149 #. type: SH
150 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
151 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
152 #, no-wrap
153 msgid "RETURN VALUE"
154 msgstr ""
155
156 #. type: Plain text
157 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
158 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
159 msgid ""
160 "On success, B<getpriority>() returns the calling thread's nice value, which "
161 "may be a negative number. On error, it returns -1 and sets I<errno> to "
162 "indicate the error."
163 msgstr ""
164
165 #. type: Plain text
166 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
167 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
168 msgid ""
169 "Since a successful call to B<getpriority>() can legitimately return the "
170 "value -1, it is necessary to clear I<errno> prior to the call, then check "
171 "I<errno> afterward to determine if -1 is an error or a legitimate value."
172 msgstr ""
173
174 #. type: Plain text
175 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
176 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
177 msgid ""
178 "B<setpriority>() returns 0 on success. On failure, it returns -1 and sets "
179 "I<errno> to indicate the error."
180 msgstr ""
181
182 #. type: SH
183 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
184 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
185 #, no-wrap
186 msgid "ERRORS"
187 msgstr ""
188
189 #. type: TP
190 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
191 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
192 #, no-wrap
193 msgid "B<EACCES>"
194 msgstr ""
195
196 #. type: Plain text
197 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
198 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
199 msgid ""
200 "The caller attempted to set a lower nice value (i.e., a higher process "
201 "priority), but did not have the required privilege (on Linux: did not have "
202 "the B<CAP_SYS_NICE> capability)."
203 msgstr ""
204
205 #. type: TP
206 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
207 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
208 #, no-wrap
209 msgid "B<EINVAL>"
210 msgstr ""
211
212 #. type: Plain text
213 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
214 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
215 msgid "I<which> was not one of B<PRIO_PROCESS>, B<PRIO_PGRP>, or B<PRIO_USER>."
216 msgstr ""
217
218 #. type: TP
219 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
220 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
221 #, no-wrap
222 msgid "B<EPERM>"
223 msgstr ""
224
225 #. type: Plain text
226 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
227 #: opensuse-leap-16-1 opensuse-tumbleweed
228 msgid ""
229 "A process was located, but its effective user ID did not match either the "
230 "effective or the real user ID of the caller, and was not privileged (on "
231 "Linux: did not have the B<CAP_SYS_NICE> capability). But see HISTORY below."
232 msgstr ""
233
234 #. type: TP
235 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
236 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
237 #, no-wrap
238 msgid "B<ESRCH>"
239 msgstr ""
240
241 #. type: Plain text
242 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
243 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
244 msgid "No process was located using the I<which> and I<who> values specified."
245 msgstr ""
246
247 #. type: SH
248 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
249 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
250 #, no-wrap
251 msgid "STANDARDS"
252 msgstr ""
253
254 #. type: Plain text
255 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
256 #: opensuse-tumbleweed
257 msgid "POSIX.1-2024."
258 msgstr ""
259
260 #. type: SH
261 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
262 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
263 #, no-wrap
264 msgid "HISTORY"
265 msgstr ""
266
267 #. type: Plain text
268 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
269 #: opensuse-tumbleweed
270 msgid "4.2BSD, SVr4, SUSv1, POSIX.1-2001 XSI."
271 msgstr ""
272
273 #. type: Plain text
274 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
275 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
276 msgid ""
277 "The details on the condition for B<EPERM> depend on the system. The above "
278 "description is what POSIX.1-2001 says, and seems to be followed on all "
279 "System\\ V-like systems. Linux kernels before Linux 2.6.12 required the "
280 "real or effective user ID of the caller to match the real user of the "
281 "process I<who> (instead of its effective user ID). Linux 2.6.12 and later "
282 "require the effective user ID of the caller to match the real or effective "
283 "user ID of the process I<who>. All BSD-like systems (SunOS 4.1.3, Ultrix "
284 "4.2, 4.3BSD, FreeBSD 4.3, OpenBSD-2.5, ...) behave in the same manner as "
285 "Linux 2.6.12 and later."
286 msgstr ""
287
288 #. type: SH
289 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
290 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
291 #, no-wrap
292 msgid "NOTES"
293 msgstr ""
294
295 #. type: Plain text
296 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
297 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
298 msgid "For further details on the nice value, see B<sched>(7)."
299 msgstr ""
300
301 #. type: Plain text
302 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
303 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
304 msgid ""
305 "I<Note>: the addition of the \"autogroup\" feature in Linux 2.6.38 means "
306 "that the nice value no longer has its traditional effect in many "
307 "circumstances. For details, see B<sched>(7)."
308 msgstr ""
309
310 #. type: Plain text
311 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
312 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
313 msgid ""
314 "A child created by B<fork>(2) inherits its parent's nice value. The nice "
315 "value is preserved across B<execve>(2)."
316 msgstr ""
317
318 #. type: SS
319 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
320 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
321 #, no-wrap
322 msgid "C library/kernel differences"
323 msgstr ""
324
325 #. type: Plain text
326 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
327 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
328 msgid ""
329 "The getpriority system call returns nice values translated to the range "
330 "40..1, since a negative return value would be interpreted as an error. The "
331 "glibc wrapper function for B<getpriority>() translates the value back "
332 "according to the formula I<unice\\ =\\ 20\\ -\\ knice> (thus, the 40..1 "
333 "range returned by the kernel corresponds to the range -20..19 as seen by "
334 "user space)."
335 msgstr ""
336
337 #. type: SH
338 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
339 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
340 #, no-wrap
341 msgid "BUGS"
342 msgstr ""
343
344 #. type: Plain text
345 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
346 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
347 msgid ""
348 "According to POSIX, the nice value is a per-process setting. However, under "
349 "the current Linux/NPTL implementation of POSIX threads, the nice value is a "
350 "per-thread attribute: different threads in the same process can have "
351 "different nice values. Portable applications should avoid relying on the "
352 "Linux behavior, which may be made standards conformant in the future."
353 msgstr ""
354
355 #. type: SH
356 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
357 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
358 #, no-wrap
359 msgid "SEE ALSO"
360 msgstr ""
361
362 #. type: Plain text
363 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
364 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
365 msgid "B<nice>(1), B<renice>(1), B<fork>(2), B<capabilities>(7), B<sched>(7)"
366 msgstr ""
367
368 #. type: Plain text
369 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
370 #: opensuse-tumbleweed
371 msgid ""
372 "I<Documentation/scheduler/sched-nice-design.rst> in the Linux kernel source "
373 "tree (since Linux 2.6.23)"
374 msgstr ""
375
376 #. type: TH
377 #: debian-trixie
378 #, no-wrap
379 msgid "2024-05-02"
380 msgstr ""
381
382 #. type: TH
383 #: debian-trixie
384 #, no-wrap
385 msgid "Linux man-pages 6.9.1"
386 msgstr ""
387
388 #. type: Plain text
389 #: debian-trixie
390 msgid "Standard C library (I<libc>, I<-lc>)"
391 msgstr ""
392
393 #. type: Plain text
394 #: debian-trixie
395 msgid ""
396 "A process was located, but its effective user ID did not match either the "
397 "effective or the real user ID of the caller, and was not privileged (on "
398 "Linux: did not have the B<CAP_SYS_NICE> capability). But see NOTES below."
399 msgstr ""
400
401 #. type: Plain text
402 #: debian-trixie fedora-44 fedora-rawhide
403 msgid "POSIX.1-2008."
404 msgstr ""
405
406 #. type: Plain text
407 #: debian-trixie fedora-44 fedora-rawhide
408 msgid "POSIX.1-2001, SVr4, 4.4BSD (these interfaces first appeared in 4.2BSD)."
409 msgstr ""
410
411 #. type: Plain text
412 #: debian-trixie fedora-44 fedora-rawhide
413 msgid ""
414 "I<Documentation/scheduler/sched-nice-design.txt> in the Linux kernel source "
415 "tree (since Linux 2.6.23)"
416 msgstr ""
417
418 #. type: TH
419 #: fedora-44 fedora-rawhide
420 #, no-wrap
421 msgid "2024-07-23"
422 msgstr ""
423
424 #. type: TH
425 #: fedora-44 fedora-rawhide
426 #, no-wrap
427 msgid "Linux man-pages 6.13"
428 msgstr ""
429
430 #. type: TH
431 #: mageia-cauldron
432 #, no-wrap
433 msgid "Linux man-pages 6.17"
434 msgstr ""
435
436 #. type: TH
437 #: opensuse-leap-16-1 opensuse-tumbleweed
438 #, no-wrap
439 msgid "Linux man-pages (unreleased)"
440 msgstr ""