Debian Codegraph @

po/es/man2/getrlimit.2.po

raw
1 # Spanish translation of manpages
2 # This file is distributed under the same license as the manpages-l10n package.
3 # Copyright © of this file:
4 # Juan Piernas <[email protected]>, 1998.
5 # Miguel Pérez Ibars <[email protected]>, 2004.
6 msgid ""
7 msgstr ""
8 "Project-Id-Version: manpages-l10n\n"
9 "POT-Creation-Date: 2026-06-05 06:25+0200\n"
10 "PO-Revision-Date: 2004-11-18 19:53+0200\n"
11 "Last-Translator: Miguel Pérez Ibars <[email protected]>\n"
12 "Language-Team: Spanish <[email protected]>\n"
13 "Language: es\n"
14 "MIME-Version: 1.0\n"
15 "Content-Type: text/plain; charset=UTF-8\n"
16 "Content-Transfer-Encoding: 8bit\n"
17 "Plural-Forms: nplurals=2; plural=(n != 1);\n"
18 "X-Generator: Lokalize 20.04.1\n"
19
20 #. type: TH
21 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
22 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
23 #, fuzzy, no-wrap
24 #| msgid "prlimit()"
25 msgid "getrlimit"
26 msgstr "prlimit()"
27
28 #. type: TH
29 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
30 #: opensuse-tumbleweed
31 #, no-wrap
32 msgid "2026-02-08"
33 msgstr "8 Febrero 2026"
34
35 #. type: TH
36 #: archlinux debian-unstable
37 #, fuzzy, no-wrap
38 #| msgid "Linux man-pages 6.17"
39 msgid "Linux man-pages 6.18"
40 msgstr "Páginas de Manual de Linux 6.17"
41
42 #. type: SH
43 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
44 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
45 #, no-wrap
46 msgid "NAME"
47 msgstr "NOMBRE"
48
49 #. type: Plain text
50 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
51 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
52 msgid "getrlimit, setrlimit, prlimit - get/set resource limits"
53 msgstr ""
54 "getrlimit, setrlimit, prlimit - devuelve/establece el límite de recursos"
55
56 #. type: SH
57 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
58 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
59 #, no-wrap
60 msgid "LIBRARY"
61 msgstr "BIBLIOTECA"
62
63 #. type: Plain text
64 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
65 #: opensuse-leap-16-1 opensuse-tumbleweed
66 msgid "Standard C library (I<libc>,\\ I<-lc>)"
67 msgstr "Biblioteca Estándar C (I<libc>,\\ I<-lc>)"
68
69 #. type: SH
70 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
71 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
72 #, no-wrap
73 msgid "SYNOPSIS"
74 msgstr "SINOPSIS"
75
76 #. type: Plain text
77 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
78 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
79 #, no-wrap
80 msgid "B<#include E<lt>sys/resource.hE<gt>>\n"
81 msgstr "B<#include E<lt>sys/resource.hE<gt>>\n"
82
83 #. type: Plain text
84 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
85 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
86 #, fuzzy, no-wrap
87 #| msgid "B<int setrlimit(int >I<resource>B<, const struct rlimit *>I<rlim>B<);>"
88 msgid ""
89 "B<int getrlimit(int >I<resource>B<, struct rlimit *>I<rlim>B<);>\n"
90 "B<int setrlimit(int >I<resource>B<, const struct rlimit *>I<rlim>B<);>\n"
91 msgstr "B<int setrlimit(int >I<resource>B<, const struct rlimit *>I<rlim>B<);>"
92
93 #. type: Plain text
94 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
95 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
96 #, fuzzy, no-wrap
97 #| msgid "B<int prlimit(pid_t >I<pid>B<, int >I<resource>B<, const struct rlimit *>I<new_limit>B<,>"
98 msgid ""
99 "B<int prlimit(pid_t >I<pid>B<, int >I<resource>B<,>\n"
100 "B< const struct rlimit *_Nullable >I<new_limit>B<,>\n"
101 "B< struct rlimit *_Nullable >I<old_limit>B<);>\n"
102 msgstr "B<int prlimit(pid_t >I<pid>B<, int >I<resource>B<, const struct rlimit *>I<new_limit>B<,>"
103
104 #. type: Plain text
105 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
106 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
107 #, fuzzy, no-wrap
108 #| msgid ""
109 #| "struct rlimit {\n"
110 #| " rlim_t rlim_cur; /* Soft limit */\n"
111 #| " rlim_t rlim_max; /* Hard limit (ceiling for rlim_cur) */\n"
112 #| "};\n"
113 msgid ""
114 "B<struct rlimit {>\n"
115 "B< rlim_t rlim_cur;> /* Soft limit */\n"
116 "B< rlim_t rlim_max;> /* Hard limit (ceiling for rlim_cur) */\n"
117 "B<};>\n"
118 msgstr ""
119 "struct rlimit {\n"
120 " rlim_t rlim_cur; /* Límite flexible (Soft limit) */\n"
121 " rlim_t rlim_max; /* Límite estricto (Hard limit) \n"
122 " (tope para rlim_cur) */\n"
123 "};\n"
124
125 #. type: Plain text
126 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
127 #: opensuse-tumbleweed
128 #, no-wrap
129 msgid "B<typedef> /* ...\\& */ B<rlim_t;> /* Unsigned integer type */\n"
130 msgstr ""
131
132 #. type: Plain text
133 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
134 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
135 msgid ""
136 "Feature Test Macro Requirements for glibc (see B<feature_test_macros>(7)):"
137 msgstr ""
138 "Requisitos de Macros de Prueba de Características para glibc (véase "
139 "B<feature_test_macros>(7)):"
140
141 #. type: Plain text
142 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
143 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
144 #, fuzzy
145 #| msgid "prlimit()"
146 msgid "B<prlimit>():"
147 msgstr "prlimit()"
148
149 #. type: Plain text
150 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
151 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
152 #, no-wrap
153 msgid " _GNU_SOURCE\n"
154 msgstr " _GNU_SOURCE\n"
155
156 #. type: SH
157 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
158 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
159 #, no-wrap
160 msgid "DESCRIPTION"
161 msgstr "DESCRIPCIÓN"
162
163 #. type: Plain text
164 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
165 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
166 #, fuzzy
167 #| msgid ""
168 #| "B<getrlimit> and B<setrlimit> get and set resource limits respectively. "
169 #| "Each resource has an associated soft and hard limit, as defined by the "
170 #| "B<rlimit> structure (the I<rlim> argument to both B<getrlimit>() and "
171 #| "B<setrlimit>()):"
172 msgid ""
173 "The B<getrlimit>() and B<setrlimit>() system calls get and set resource "
174 "limits. Each resource has an associated soft and hard limit, as defined by "
175 "the I<rlimit> structure."
176 msgstr ""
177 "B<getrlimit> y B<setrlimit> devuelve / establece el límite de recursos, "
178 "respectivamente. Cada recurso tiene asociado un límite flexible y otro "
179 "estricto, tal como se define en la estructura B<rlimit (el argumento> "
180 "I<rlim> de las rutinas B<getrlimit>() y B<setrlimit>()):"
181
182 #. type: Plain text
183 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
184 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
185 #, fuzzy
186 #| msgid ""
187 #| "The soft limit is the value that the kernel enforces for the "
188 #| "corresponding resource. The hard limit acts as a ceiling for the soft "
189 #| "limit: an unprivileged process may only set its soft limit to a value in "
190 #| "the range from 0 up to the hard limit, and (irreversibly) lower its hard "
191 #| "limit. A privileged process may make arbitrary changes to either limit "
192 #| "value."
193 msgid ""
194 "The soft limit is the value that the kernel enforces for the corresponding "
195 "resource. The hard limit acts as a ceiling for the soft limit: an "
196 "unprivileged process may set only its soft limit to a value in the range "
197 "from 0 up to the hard limit, and (irreversibly) lower its hard limit. A "
198 "privileged process (under Linux: one with the B<CAP_SYS_RESOURCE> capability "
199 "in the initial user namespace) may make arbitrary changes to either limit "
200 "value."
201 msgstr ""
202 "El límite flexible es el valor que impone el núcleo para el recurso "
203 "correspondiente. El límite estricto actúa como un tope para el límite "
204 "flexible: un proceso no privilegiado puede solamente establecer su límite "
205 "flexible a un valor comprendido entre 0 y el límite estricto, y "
206 "(irreversiblemente) menor que su límite estricto. Un proceso privilegiado "
207 "puede hacer cualquier cambio sobre ambos valores límite."
208
209 #. type: Plain text
210 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
211 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
212 msgid ""
213 "The value B<RLIM_INFINITY> denotes no limit on a resource (both in the "
214 "structure returned by B<getrlimit>() and in the structure passed to "
215 "B<setrlimit>())."
216 msgstr ""
217 "El valor B<RLIM_INFINITY> no impone ningún límite sobre un recurso (tanto en "
218 "la estructura devuelta por B<getrlimit>() como en la estructura pasada a "
219 "B<setrlimit>())."
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 #, fuzzy
225 #| msgid "I<resource> must be one of:"
226 msgid "The I<resource> argument must be one of:"
227 msgstr "I<resource> debe ser uno de los siguientes valores:"
228
229 #. type: TP
230 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
231 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
232 #, no-wrap
233 msgid "B<RLIMIT_AS>"
234 msgstr "B<RLIMIT_AS>"
235
236 #. since Linux 2.0.27 / Linux 2.1.12
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 "This is the maximum size of the process's virtual memory (address space). "
242 "The limit is specified in bytes, and is rounded down to the system page "
243 "size. This limit affects calls to B<brk>(2), B<mmap>(2), and B<mremap>(2), "
244 "which fail with the error B<ENOMEM> upon exceeding this limit. In addition, "
245 "automatic stack expansion fails (and generates a B<SIGSEGV> that kills the "
246 "process if no alternate stack has been made available via "
247 "B<sigaltstack>(2)). Since the value is a I<long>, on machines with a 32-bit "
248 "I<long> either this limit is at most 2\\ GiB, or this resource is unlimited."
249 msgstr ""
250
251 #. type: TP
252 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
253 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
254 #, no-wrap
255 msgid "B<RLIMIT_CORE>"
256 msgstr "B<RLIMIT_CORE>"
257
258 #. type: Plain text
259 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
260 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
261 msgid ""
262 "This is the maximum size of a I<core> file (see B<core>(5)) in bytes that "
263 "the process may dump. When 0 no core dump files are created. When nonzero, "
264 "larger dumps are truncated to this size."
265 msgstr ""
266
267 #. type: TP
268 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
269 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
270 #, no-wrap
271 msgid "B<RLIMIT_CPU>"
272 msgstr "B<RLIMIT_CPU>"
273
274 #. type: Plain text
275 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
276 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
277 #, fuzzy
278 #| msgid ""
279 #| "CPU time limit in seconds. When the process reaches the soft limit, it "
280 #| "is sent a B<SIGXCPU> signal. The default action for this signal is to "
281 #| "terminate the process. However, the signal can be caught, and the "
282 #| "handler can return control to the main program. If the process continues "
283 #| "to consume CPU time, it will be sent B<SIGXCPU> once per second until the "
284 #| "hard limit is reached, at which time it is sent B<SIGKILL>. (This latter "
285 #| "point describes Linux 2.2 and 2.4 behaviour. Implementations vary in how "
286 #| "they treat processes which continue to consume CPU time after reaching "
287 #| "the soft limit. Portable applications that need to catch this signal "
288 #| "should perform an orderly termination upon first receipt of B<SIGXCPU>.)"
289 msgid ""
290 "This is a limit, in seconds, on the amount of CPU time that the process can "
291 "consume. When the process reaches the soft limit, it is sent a B<SIGXCPU> "
292 "signal. The default action for this signal is to terminate the process. "
293 "However, the signal can be caught, and the handler can return control to the "
294 "main program. If the process continues to consume CPU time, it will be sent "
295 "B<SIGXCPU> once per second until the hard limit is reached, at which time it "
296 "is sent B<SIGKILL>. (This latter point describes Linux behavior. "
297 "Implementations vary in how they treat processes which continue to consume "
298 "CPU time after reaching the soft limit. Portable applications that need to "
299 "catch this signal should perform an orderly termination upon first receipt "
300 "of B<SIGXCPU>.)"
301 msgstr ""
302 "Tiempo de CPU en segundos. Cuando el proceso alcanza el límite flexible, se "
303 "le envía una señal B<SIGXCPU.> La acción por defecto para esta señal es "
304 "terminar el proceso. Sin embargo, la señal puede ser atrapada, y el "
305 "manejador puede devolver el control al programa principal. Si el proceso "
306 "continúa consumiendo tiempo de CPU, se le enviará B<SIGXCPU> una vez por "
307 "segundo hasta que se alcance el límite estricto, momento en el cual se le "
308 "enviará la señal B<SIGKILL>. (Este último punto describe el comportamiento "
309 "de Linux 2.2 y 2.4. Las implementaciones varían en el tratamiento de los "
310 "procesos que continúna consumiendo tiempo de CPU después de alcanzar el "
311 "límite flexible. Las aplicaciones portables que necesiten atrapar esta "
312 "señal deberían realizar una terminación ordenada después de recibir la "
313 "primera señal B<SIGXCPU>.)"
314
315 #. type: TP
316 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
317 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
318 #, no-wrap
319 msgid "B<RLIMIT_DATA>"
320 msgstr "B<RLIMIT_DATA>"
321
322 #. commits 84638335900f1995495838fe1bd4870c43ec1f67
323 #. ("mm: rework virtual memory accounting"),
324 #. f4fcd55841fc9e46daac553b39361572453c2b88
325 #. (mm: enable RLIMIT_DATA by default with workaround for valgrind).
326 #. type: Plain text
327 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
328 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
329 #, fuzzy
330 #| msgid ""
331 #| "The maximum size of the process's data segment (initialized data, "
332 #| "uninitialized data, and heap). This limit affects calls to B<brk>() and "
333 #| "B<sbrk>(), which fail with the error B<ENOMEM> upon encountering the soft "
334 #| "limit of this resource."
335 msgid ""
336 "This is the maximum size of the process's data segment (initialized data, "
337 "uninitialized data, and heap). The limit is specified in bytes, and is "
338 "rounded down to the system page size. This limit affects calls to "
339 "B<brk>(2), B<sbrk>(2), and (since Linux 4.7) B<mmap>(2), which fail with "
340 "the error B<ENOMEM> upon encountering the soft limit of this resource."
341 msgstr ""
342 "El tamaño máximo del segmento de datos del proceso (datos inicializados, no "
343 "inicializados y el montículo). Este límite afecta a las llamadas a B<brk>() "
344 "and B<sbrk>(), que fallan con el error B<ENOMEM> al llegarse al límite "
345 "flexible de este recurso."
346
347 #. type: TP
348 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
349 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
350 #, no-wrap
351 msgid "B<RLIMIT_FSIZE>"
352 msgstr "B<RLIMIT_FSIZE>"
353
354 #. type: Plain text
355 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
356 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
357 #, fuzzy
358 #| msgid ""
359 #| "The maximum size of files that the process may create. Attempts to "
360 #| "extend a file beyond this limit result in delivery of a B<SIGXFSZ> "
361 #| "signal. By default, this signal terminates a process, but a process can "
362 #| "catch this signal instead, in which case the relevant system call (e.g., "
363 #| "B<write>(), B<truncate>()) fails with the error B<EFBIG>."
364 msgid ""
365 "This is the maximum size in bytes of files that the process may create. "
366 "Attempts to extend a file beyond this limit result in delivery of a "
367 "B<SIGXFSZ> signal. By default, this signal terminates a process, but a "
368 "process can catch this signal instead, in which case the relevant system "
369 "call (e.g., B<write>(2), B<truncate>(2)) fails with the error B<EFBIG>."
370 msgstr ""
371 "El tamaño máximo de los ficheros que puede crear el proceso. Los intentos "
372 "por sobrepasar este límite provocan la comunicación de una señal B<SIGXFSZ.> "
373 "Por defecto, esta señal termina el proceso, pero un proceso puede atrapar "
374 "esta señal en su lugar, en cuyo caso la llamada al sistema relevante (p.e., "
375 "B<write>(), B<truncate>()) falla con el error B<EFBIG>."
376
377 #. type: TP
378 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
379 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
380 #, fuzzy, no-wrap
381 #| msgid "B<RLIMIT_RTTIME> (since Linux 2.6.25)"
382 msgid "B<RLIMIT_LOCKS> (Linux 2.4.0 to Linux 2.4.24)"
383 msgstr "B<RLIMIT_RTTIME> (desde Linux 2.6.25)"
384
385 #. to be precise: Linux 2.4.0-test9; no longer in Linux 2.4.25 / Linux 2.5.65
386 #. type: Plain text
387 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
388 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
389 #, fuzzy
390 #| msgid ""
391 #| "A limit on the combined number of B<flock>() locks and B<fcntl()> leases "
392 #| "that this process may establish (Linux 2.4 and later)."
393 msgid ""
394 "This is a limit on the combined number of B<flock>(2) locks and "
395 "B<fcntl>(2) leases that this process may establish."
396 msgstr ""
397 "Un límite sobre el número combinado de bloqueos B<flock>() y arrendamientos "
398 "B<fcntl()> que este proceso puede establecer (Linux 2.4 y posteriores)."
399
400 #. type: TP
401 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
402 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
403 #, no-wrap
404 msgid "B<RLIMIT_MEMLOCK>"
405 msgstr "B<RLIMIT_MEMLOCK>"
406
407 #. type: Plain text
408 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
409 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
410 msgid ""
411 "This is the maximum number of bytes of memory that may be locked into RAM. "
412 "This limit is in effect rounded down to the nearest multiple of the system "
413 "page size. This limit affects B<mlock>(2), B<mlockall>(2), and the "
414 "B<mmap>(2) B<MAP_LOCKED> operation. Since Linux 2.6.9, it also affects the "
415 "B<shmctl>(2) B<SHM_LOCK> operation, where it sets a maximum on the total "
416 "bytes in shared memory segments (see B<shmget>(2)) that may be locked by "
417 "the real user ID of the calling process. The B<shmctl>(2) B<SHM_LOCK> "
418 "locks are accounted for separately from the per-process memory locks "
419 "established by B<mlock>(2), B<mlockall>(2), and B<mmap>(2) B<MAP_LOCKED>; a "
420 "process can lock bytes up to this limit in each of these two categories."
421 msgstr ""
422
423 #. type: Plain text
424 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
425 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
426 msgid ""
427 "Before Linux 2.6.9, this limit controlled the amount of memory that could be "
428 "locked by a privileged process. Since Linux 2.6.9, no limits are placed on "
429 "the amount of memory that a privileged process may lock, and this limit "
430 "instead governs the amount of memory that an unprivileged process may lock."
431 msgstr ""
432
433 #. type: TP
434 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
435 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
436 #, no-wrap
437 msgid "B<RLIMIT_MSGQUEUE> (since Linux 2.6.8)"
438 msgstr "B<RLIMIT_MSGQUEUE> (desde Linux 2.6.8)"
439
440 #. type: Plain text
441 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
442 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
443 msgid ""
444 "This is a limit on the number of bytes that can be allocated for POSIX "
445 "message queues for the real user ID of the calling process. This limit is "
446 "enforced for B<mq_open>(3). Each message queue that the user creates counts "
447 "(until it is removed) against this limit according to the formula:"
448 msgstr ""
449
450 #. type: Plain text
451 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
452 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
453 #, fuzzy
454 #| msgid " Since Linux 3.5:\n"
455 msgid "Since Linux 3.5:"
456 msgstr " Desde Linux 3.5:\n"
457
458 #. type: Plain text
459 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
460 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
461 #, no-wrap
462 msgid ""
463 "bytes = attr.mq_maxmsg * sizeof(struct msg_msg) +\n"
464 " MIN(attr.mq_maxmsg, MQ_PRIO_MAX) *\n"
465 " sizeof(struct posix_msg_tree_node)+\n"
466 " /* For overhead */\n"
467 " attr.mq_maxmsg * attr.mq_msgsize;\n"
468 " /* For message data */\n"
469 msgstr ""
470
471 #. type: Plain text
472 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
473 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
474 msgid "Linux 3.4 and earlier:"
475 msgstr ""
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 #, no-wrap
481 msgid ""
482 "bytes = attr.mq_maxmsg * sizeof(struct msg_msg *) +\n"
483 " /* For overhead */\n"
484 " attr.mq_maxmsg * attr.mq_msgsize;\n"
485 " /* For message data */\n"
486 msgstr ""
487
488 #. type: Plain text
489 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
490 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
491 msgid ""
492 "where I<attr> is the I<mq_attr> structure specified as the fourth argument "
493 "to B<mq_open>(3), and the I<msg_msg> and I<posix_msg_tree_node> structures "
494 "are kernel-internal structures."
495 msgstr ""
496
497 #. type: Plain text
498 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
499 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
500 msgid ""
501 "The \"overhead\" addend in the formula accounts for overhead bytes required "
502 "by the implementation and ensures that the user cannot create an unlimited "
503 "number of zero-length messages (such messages nevertheless each consume some "
504 "system memory for bookkeeping overhead)."
505 msgstr ""
506
507 #. type: TP
508 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
509 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
510 #, no-wrap
511 msgid "B<RLIMIT_NICE> (since Linux 2.6.12, but see BUGS below)"
512 msgstr ""
513
514 #. type: Plain text
515 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
516 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
517 msgid ""
518 "This specifies a ceiling to which the process's nice value can be raised "
519 "using B<setpriority>(2) or B<nice>(2). The actual ceiling for the nice "
520 "value is calculated as I<20\\ -\\ rlim_cur>. The useful range for this "
521 "limit is thus from 1 (corresponding to a nice value of 19) to 40 "
522 "(corresponding to a nice value of -20). This unusual choice of range was "
523 "necessary because negative numbers cannot be specified as resource limit "
524 "values, since they typically have special meanings. For example, "
525 "B<RLIM_INFINITY> typically is the same as -1. For more detail on the nice "
526 "value, see B<sched>(7)."
527 msgstr ""
528
529 #. type: TP
530 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
531 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
532 #, no-wrap
533 msgid "B<RLIMIT_NOFILE>"
534 msgstr "B<RLIMIT_NOFILE>"
535
536 #. type: Plain text
537 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
538 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
539 #, fuzzy
540 #| msgid ""
541 #| "Specifies a value one greater than the maximum file descriptor number "
542 #| "that can be opened by this process. Attempts (B<open>(), B<pipe>(), "
543 #| "B<dup>(), etc.) to exceed this limit yield the error B<EMFILE>."
544 msgid ""
545 "This specifies a value one greater than the maximum file descriptor number "
546 "that can be opened by this process. Attempts (B<open>(2), B<pipe>(2), "
547 "B<dup>(2), etc.) to exceed this limit yield the error B<EMFILE>. "
548 "(Historically, this limit was named B<RLIMIT_OFILE> on BSD.)"
549 msgstr ""
550 "Especifica un valor que es el número máximo de descriptor de fichero que "
551 "puede ser abierto por este proceso. Los intentos de (B<open>(), B<pipe>(), "
552 "B<dup>(), etc.) por exceder este límite provocarán el error B<EMFILE>."
553
554 #. type: Plain text
555 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
556 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
557 msgid ""
558 "Since Linux 4.5, this limit also defines the maximum number of file "
559 "descriptors that an unprivileged process (one without the "
560 "B<CAP_SYS_RESOURCE> capability) may have \"in flight\" to other processes, "
561 "by being passed across UNIX domain sockets. This limit applies to the "
562 "B<sendmsg>(2) system call. For further details, see B<unix>(7)."
563 msgstr ""
564
565 #. type: TP
566 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
567 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
568 #, no-wrap
569 msgid "B<RLIMIT_NPROC>"
570 msgstr "B<RLIMIT_NPROC>"
571
572 #. type: Plain text
573 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
574 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
575 #, fuzzy
576 #| msgid ""
577 #| "The maximum number of processes that can be created for the real user ID "
578 #| "of the calling process. Upon encountering this limit, B<fork>() fails "
579 #| "with the error B<EAGAIN>."
580 msgid ""
581 "This is a limit on the number of extant process (or, more precisely on "
582 "Linux, threads) for the real user ID of the calling process. So long as "
583 "the current number of processes belonging to this process's real user ID is "
584 "greater than or equal to this limit, B<fork>(2) fails with the error "
585 "B<EAGAIN>."
586 msgstr ""
587 "El número máximo de procesos que pueden ser creados por el identificador de "
588 "usuario real del proceso invocador. Al alcanzar este límite, B<fork>() "
589 "falla con el error B<EAGAIN>."
590
591 #. type: Plain text
592 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
593 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
594 msgid ""
595 "The B<RLIMIT_NPROC> limit is not enforced for processes that have either the "
596 "B<CAP_SYS_ADMIN> or the B<CAP_SYS_RESOURCE> capability, or run with real "
597 "user ID 0."
598 msgstr ""
599
600 #. type: TP
601 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
602 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
603 #, no-wrap
604 msgid "B<RLIMIT_RSS>"
605 msgstr "B<RLIMIT_RSS>"
606
607 #. As at Linux 2.6.12, this limit still does nothing in Linux 2.6 though
608 #. talk of making it do something has surfaced from time to time in LKML
609 #. -- MTK, Jul 05
610 #. type: Plain text
611 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
612 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
613 #, fuzzy
614 #| msgid ""
615 #| "Specifies the limit (in pages) of the process's resident set (the number "
616 #| "of virtual pages resident in RAM). This limit only has effect in Linux "
617 #| "2.4 onwatrds, and there only affects calls to B<madvise>() specifying "
618 #| "B<MADVISE_WILLNEED>."
619 msgid ""
620 "This is a limit (in bytes) on the process's resident set (the number of "
621 "virtual pages resident in RAM). This limit has effect only in Linux 2.4.x, "
622 "x E<lt> 30, and there affects only calls to B<madvise>(2) specifying "
623 "B<MADV_WILLNEED>."
624 msgstr ""
625 "Especifica el límite (en páginas) del conjunto residente del proceso (el "
626 "número de páginas virtuales residentes en RAM). Este límite sólo tiene "
627 "efecto en Linux 2.4 en adelante, y sólo afecta a las llamadas a "
628 "B<madvise>() especificando B<MADVISE_WILLNEED>."
629
630 #. type: TP
631 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
632 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
633 #, no-wrap
634 msgid "B<RLIMIT_RTPRIO> (since Linux 2.6.12, but see BUGS)"
635 msgstr ""
636
637 #. type: Plain text
638 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
639 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
640 msgid ""
641 "This specifies a ceiling on the real-time priority that may be set for this "
642 "process using B<sched_setscheduler>(2) and B<sched_setparam>(2)."
643 msgstr ""
644
645 #. type: Plain text
646 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
647 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
648 msgid "For further details on real-time scheduling policies, see B<sched>(7)"
649 msgstr ""
650
651 #. type: TP
652 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
653 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
654 #, no-wrap
655 msgid "B<RLIMIT_RTTIME> (since Linux 2.6.25)"
656 msgstr "B<RLIMIT_RTTIME> (desde Linux 2.6.25)"
657
658 #. type: Plain text
659 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
660 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
661 msgid ""
662 "This is a limit (in microseconds) on the amount of CPU time that a process "
663 "scheduled under a real-time scheduling policy may consume without making a "
664 "blocking system call. For the purpose of this limit, each time a process "
665 "makes a blocking system call, the count of its consumed CPU time is reset to "
666 "zero. The CPU time count is not reset if the process continues trying to "
667 "use the CPU but is preempted, its time slice expires, or it calls "
668 "B<sched_yield>(2)."
669 msgstr ""
670
671 #. type: Plain text
672 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
673 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
674 msgid ""
675 "Upon reaching the soft limit, the process is sent a B<SIGXCPU> signal. If "
676 "the process catches or ignores this signal and continues consuming CPU time, "
677 "then B<SIGXCPU> will be generated once each second until the hard limit is "
678 "reached, at which point the process is sent a B<SIGKILL> signal."
679 msgstr ""
680
681 #. type: Plain text
682 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
683 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
684 msgid ""
685 "The intended use of this limit is to stop a runaway real-time process from "
686 "locking up the system."
687 msgstr ""
688
689 #. type: TP
690 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
691 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
692 #, no-wrap
693 msgid "B<RLIMIT_SIGPENDING> (since Linux 2.6.8)"
694 msgstr "B<RLIMIT_SIGPENDING> (desde Linux 2.6.8)"
695
696 #. This replaces the /proc/sys/kernel/rtsig-max system-wide limit
697 #. that was present in Linux <= 2.6.7. MTK Dec 04
698 #. type: Plain text
699 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
700 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
701 msgid ""
702 "This is a limit on the number of signals that may be queued for the real "
703 "user ID of the calling process. Both standard and real-time signals are "
704 "counted for the purpose of checking this limit. However, the limit is "
705 "enforced only for B<sigqueue>(3); it is always possible to use B<kill>(2) "
706 "to queue one instance of any of the signals that are not already queued to "
707 "the process."
708 msgstr ""
709
710 #. type: TP
711 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
712 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
713 #, no-wrap
714 msgid "B<RLIMIT_STACK>"
715 msgstr "B<RLIMIT_STACK>"
716
717 #. type: Plain text
718 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
719 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
720 #, fuzzy
721 #| msgid ""
722 #| "The maximum size of the process stack, in bytes. Upon reaching this "
723 #| "limit, a B<SIGSEGV> signal is generated. To handle this signal, a "
724 #| "process must employ an alternate signal stack (B<sigaltstack>(2))."
725 msgid ""
726 "This is the maximum size of the process stack, in bytes. Upon reaching this "
727 "limit, a B<SIGSEGV> signal is generated. To handle this signal, a process "
728 "must employ an alternate signal stack (B<sigaltstack>(2))."
729 msgstr ""
730 "El tamaño máximo de la pila del proceso, en bytes. Al alcanzar este límite, "
731 "se genera una señal B<SIGSEGV.> Para manejar esta señal, un proceso debe "
732 "emplear una pila de señales alternativa (B<sigaltstack>(2))."
733
734 #. type: Plain text
735 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
736 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
737 msgid ""
738 "Since Linux 2.6.23, this limit also determines the amount of space used for "
739 "the process's command-line arguments and environment variables; for details, "
740 "see B<execve>(2)."
741 msgstr ""
742
743 #. type: SS
744 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
745 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
746 #, no-wrap
747 msgid "prlimit()"
748 msgstr "prlimit()"
749
750 #
751 #
752 #
753 #. commit c022a0acad534fd5f5d5f17280f6d4d135e74e81
754 #. Author: Jiri Slaby <[email protected]>
755 #. Date: Tue May 4 18:03:50 2010 +0200
756 #. rlimits: implement prlimit64 syscall
757 #. commit 6a1d5e2c85d06da35cdfd93f1a27675bfdc3ad8c
758 #. Author: Jiri Slaby <[email protected]>
759 #. Date: Wed Mar 24 17:06:58 2010 +0100
760 #. rlimits: add rlimit64 structure
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 ""
765 "The Linux-specific B<prlimit>() system call combines and extends the "
766 "functionality of B<setrlimit>() and B<getrlimit>(). It can be used to both "
767 "set and get the resource limits of an arbitrary process."
768 msgstr ""
769
770 #. type: Plain text
771 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
772 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
773 msgid ""
774 "The I<resource> argument has the same meaning as for B<setrlimit>() and "
775 "B<getrlimit>()."
776 msgstr ""
777
778 #. type: Plain text
779 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
780 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
781 msgid ""
782 "If the I<new_limit> argument is not NULL, then the I<rlimit> structure to "
783 "which it points is used to set new values for the soft and hard limits for "
784 "I<resource>. If the I<old_limit> argument is not NULL, then a successful "
785 "call to B<prlimit>() places the previous soft and hard limits for "
786 "I<resource> in the I<rlimit> structure pointed to by I<old_limit>."
787 msgstr ""
788
789 #. FIXME . this permission check is strange
790 #. Asked about this on LKML, 7 Nov 2010
791 #. "Inconsistent credential checking in prlimit() syscall"
792 #. type: Plain text
793 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
794 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
795 msgid ""
796 "The I<pid> argument specifies the ID of the process on which the call is to "
797 "operate. If I<pid> is 0, then the call applies to the calling process. To "
798 "set or get the resources of a process other than itself, the caller must "
799 "have the B<CAP_SYS_RESOURCE> capability in the user namespace of the process "
800 "whose resource limits are being changed, or the real, effective, and saved "
801 "set user IDs of the target process must match the real user ID of the caller "
802 "I<and> the real, effective, and saved set group IDs of the target process "
803 "must match the real group ID of the caller."
804 msgstr ""
805
806 #. type: SH
807 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
808 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
809 #, no-wrap
810 msgid "RETURN VALUE"
811 msgstr "VALOR DEVUELTO"
812
813 #. type: Plain text
814 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
815 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
816 #, fuzzy
817 #| msgid ""
818 #| "On success, zero is returned. On error, -1 is returned, and I<errno> is "
819 #| "set appropriately."
820 msgid ""
821 "On success, these system calls return 0. On error, -1 is returned, and "
822 "I<errno> is set to indicate the error."
823 msgstr ""
824 "En caso de éxito, se devuelve cero. En caso de error, -1, y se guarda en "
825 "I<errno> un valor apropiado."
826
827 #. type: SH
828 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
829 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
830 #, no-wrap
831 msgid "ERRORS"
832 msgstr "ERRORES"
833
834 #. type: TP
835 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
836 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
837 #, no-wrap
838 msgid "B<EFAULT>"
839 msgstr "B<EFAULT>"
840
841 #. type: Plain text
842 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
843 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
844 #, fuzzy
845 #| msgid "I<rlim> or I<usage> points outside the accessible address space."
846 msgid ""
847 "A pointer argument points to a location outside the accessible address space."
848 msgstr "I<rlim> o I<usage> apuntan fuera del espacio de direcciones accesible."
849
850 #. type: TP
851 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
852 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
853 #, no-wrap
854 msgid "B<EINVAL>"
855 msgstr "B<EINVAL>"
856
857 #. type: Plain text
858 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
859 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
860 msgid ""
861 "The value specified in I<resource> is not valid; or, for B<setrlimit>() or "
862 "B<prlimit>(): I<rlim-E<gt>rlim_cur> was greater than I<rlim-E<gt>rlim_max>."
863 msgstr ""
864
865 #. type: TP
866 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
867 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
868 #, no-wrap
869 msgid "B<EPERM>"
870 msgstr "B<EPERM>"
871
872 #. type: Plain text
873 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
874 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
875 msgid ""
876 "An unprivileged process tried to raise the hard limit; the "
877 "B<CAP_SYS_RESOURCE> capability is required to do this."
878 msgstr ""
879
880 #. type: Plain text
881 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
882 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
883 msgid ""
884 "The caller tried to increase the hard B<RLIMIT_NOFILE> limit above the "
885 "maximum defined by I</proc/sys/fs/nr_open> (see B<proc>(5))"
886 msgstr ""
887
888 #. type: Plain text
889 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
890 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
891 msgid ""
892 "(B<prlimit>()) The calling process did not have permission to set limits "
893 "for the process specified by I<pid>."
894 msgstr ""
895
896 #. type: TP
897 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
898 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
899 #, no-wrap
900 msgid "B<ESRCH>"
901 msgstr "B<ESRCH>"
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 "Could not find a process with the ID specified in I<pid>."
907 msgstr ""
908
909 #. type: SH
910 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
911 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
912 #, no-wrap
913 msgid "ATTRIBUTES"
914 msgstr "ATRIBUTOS"
915
916 #. type: Plain text
917 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
918 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
919 msgid ""
920 "For an explanation of the terms used in this section, see B<attributes>(7)."
921 msgstr ""
922 "Para obtener una explicación de los términos usados en esta sección, véase "
923 "B<attributes>(7)."
924
925 #. type: tbl table
926 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
927 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
928 #, no-wrap
929 msgid "Interface"
930 msgstr "Interfaz"
931
932 #. type: tbl table
933 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
934 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
935 #, no-wrap
936 msgid "Attribute"
937 msgstr "Atributo"
938
939 #. type: tbl table
940 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
941 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
942 #, no-wrap
943 msgid "Value"
944 msgstr "Valor"
945
946 #. type: tbl table
947 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
948 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
949 #, no-wrap
950 msgid ".na\n"
951 msgstr ".na\n"
952
953 #. type: tbl table
954 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
955 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
956 #, no-wrap
957 msgid ".nh\n"
958 msgstr ".nh\n"
959
960 #. type: tbl table
961 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
962 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
963 #, no-wrap
964 msgid ""
965 "B<getrlimit>(),\n"
966 "B<setrlimit>(),\n"
967 "B<prlimit>()"
968 msgstr ""
969 "B<getrlimit>(),\n"
970 "B<setrlimit>(),\n"
971 "B<prlimit>()"
972
973 #. type: tbl table
974 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
975 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
976 #, no-wrap
977 msgid "Thread safety"
978 msgstr "Seguridad del hilo"
979
980 #. type: tbl table
981 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
982 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
983 #, no-wrap
984 msgid "MT-Safe"
985 msgstr "Multi-hilo seguro"
986
987 #. type: SH
988 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
989 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
990 #, no-wrap
991 msgid "STANDARDS"
992 msgstr "ESTÁNDARES"
993
994 #. type: TP
995 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
996 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
997 #, fuzzy, no-wrap
998 #| msgid "prlimit()"
999 msgid "B<getrlimit>()"
1000 msgstr "prlimit()"
1001
1002 #. type: TQ
1003 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1004 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1005 #, fuzzy, no-wrap
1006 #| msgid "prlimit()"
1007 msgid "B<setrlimit>()"
1008 msgstr "prlimit()"
1009
1010 #. type: Plain text
1011 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
1012 #: opensuse-tumbleweed
1013 msgid "POSIX.1-2024."
1014 msgstr "POSIX.1-2024."
1015
1016 #. type: TP
1017 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1018 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1019 #, fuzzy, no-wrap
1020 #| msgid "prlimit()"
1021 msgid "B<prlimit>()"
1022 msgstr "prlimit()"
1023
1024 #. type: Plain text
1025 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1026 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1027 msgid "Linux."
1028 msgstr "Linux."
1029
1030 #. type: Plain text
1031 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1032 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1033 msgid ""
1034 "B<RLIMIT_MEMLOCK> and B<RLIMIT_NPROC> derive from BSD and are not specified "
1035 "in POSIX.1; they are present on the BSDs and Linux, but on few other "
1036 "implementations. B<RLIMIT_RSS> derives from BSD and is not specified in "
1037 "POSIX.1; it is nevertheless present on most implementations. B<\\"
1038 "%RLIMIT_MSGQUEUE>, B<RLIMIT_NICE>, B<RLIMIT_RTPRIO>, B<RLIMIT_RTTIME>, and "
1039 "B<\\%RLIMIT_SIGPENDING> are Linux-specific."
1040 msgstr ""
1041
1042 #. type: SH
1043 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1044 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1045 #, no-wrap
1046 msgid "HISTORY"
1047 msgstr "HISTORIAL"
1048
1049 #. type: Plain text
1050 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
1051 #: opensuse-tumbleweed
1052 #, fuzzy
1053 #| msgid "POSIX.1-2001, POSIX.1-2008, SVr4."
1054 msgid "4.3BSD, SVr4, SUSv1, POSIX.1-2001 XSI, POSIX.1-2024."
1055 msgstr "POSIX.1-2001, POSIX.1-2008, SVr4."
1056
1057 #. type: Plain text
1058 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1059 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1060 msgid "Linux 2.6.36, glibc 2.13."
1061 msgstr ""
1062
1063 #. type: SH
1064 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1065 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1066 #, no-wrap
1067 msgid "NOTES"
1068 msgstr "NOTAS"
1069
1070 #. type: Plain text
1071 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1072 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1073 msgid ""
1074 "A child process created via B<fork>(2) inherits its parent's resource "
1075 "limits. Resource limits are preserved across B<execve>(2)."
1076 msgstr ""
1077
1078 #. type: Plain text
1079 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1080 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1081 msgid ""
1082 "Resource limits are per-process attributes that are shared by all of the "
1083 "threads in a process."
1084 msgstr ""
1085
1086 #. type: Plain text
1087 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1088 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1089 msgid ""
1090 "Lowering the soft limit for a resource below the process's current "
1091 "consumption of that resource will succeed (but will prevent the process from "
1092 "further increasing its consumption of the resource)."
1093 msgstr ""
1094
1095 #. type: Plain text
1096 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1097 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1098 msgid ""
1099 "One can set the resource limits of the shell using the built-in I<ulimit> "
1100 "command (I<limit> in B<csh>(1)). The shell's resource limits are inherited "
1101 "by the processes that it creates to execute commands."
1102 msgstr ""
1103
1104 #. type: Plain text
1105 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1106 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1107 msgid ""
1108 "Since Linux 2.6.24, the resource limits of any process can be inspected via "
1109 "I</proc/>pidI</limits>; see B<proc>(5)."
1110 msgstr ""
1111
1112 #. type: Plain text
1113 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1114 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1115 msgid ""
1116 "Ancient systems provided a B<vlimit>() function with a similar purpose to "
1117 "B<setrlimit>(). For backward compatibility, glibc also provides "
1118 "B<vlimit>(). All new applications should be written using B<setrlimit>()."
1119 msgstr ""
1120
1121 #. type: SS
1122 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1123 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1124 #, fuzzy, no-wrap
1125 #| msgid "C library/kernel differences"
1126 msgid "C library/kernel ABI differences"
1127 msgstr "Diferencias kernel / biblioteca C"
1128
1129 #. type: Plain text
1130 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1131 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1132 msgid ""
1133 "Since glibc 2.13, the glibc B<getrlimit>() and B<setrlimit>() wrapper "
1134 "functions no longer invoke the corresponding system calls, but instead "
1135 "employ B<prlimit>(), for the reasons described in BUGS."
1136 msgstr ""
1137
1138 #. type: Plain text
1139 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1140 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1141 msgid ""
1142 "The name of the glibc wrapper function is B<prlimit>(); the underlying "
1143 "system call is B<prlimit64>()."
1144 msgstr ""
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 "BUGS"
1151 msgstr "ERRORES"
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 older Linux kernels, the B<SIGXCPU> and B<SIGKILL> signals delivered when "
1158 "a process encountered the soft and hard B<RLIMIT_CPU> limits were delivered "
1159 "one (CPU) second later than they should have been. This was fixed in Linux "
1160 "2.6.8."
1161 msgstr ""
1162
1163 #. see http://marc.theaimsgroup.com/?l=linux-kernel&m=114008066530167&w=2
1164 #. type: Plain text
1165 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1166 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1167 msgid ""
1168 "In Linux 2.6.x kernels before Linux 2.6.17, a B<RLIMIT_CPU> limit of 0 is "
1169 "wrongly treated as \"no limit\" (like B<RLIM_INFINITY>). Since Linux "
1170 "2.6.17, setting a limit of 0 does have an effect, but is actually treated as "
1171 "a limit of 1 second."
1172 msgstr ""
1173
1174 #. See https://lwn.net/Articles/145008/
1175 #. type: Plain text
1176 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1177 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1178 msgid ""
1179 "A kernel bug means that B<RLIMIT_RTPRIO> does not work in Linux 2.6.12; the "
1180 "problem is fixed in Linux 2.6.13."
1181 msgstr ""
1182
1183 #. see http://marc.theaimsgroup.com/?l=linux-kernel&m=112256338703880&w=2
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 "In Linux 2.6.12, there was an off-by-one mismatch between the priority "
1189 "ranges returned by B<getpriority>(2) and B<RLIMIT_NICE>. This had the "
1190 "effect that the actual ceiling for the nice value was calculated as I<19\\ -"
1191 "\\ rlim_cur>. This was fixed in Linux 2.6.13."
1192 msgstr ""
1193
1194 #. The relevant patch, sent to LKML, seems to be
1195 #. http://thread.gmane.org/gmane.linux.kernel/273462
1196 #. From: Roland McGrath <roland <at> redhat.com>
1197 #. Subject: [PATCH 7/7] make RLIMIT_CPU/SIGXCPU per-process
1198 #. Date: 2005-01-23 23:27:46 GMT
1199 #. Tested Solaris 10, FreeBSD 9, OpenBSD 5.0
1200 #. FIXME . https://bugzilla.kernel.org/show_bug.cgi?id=50951
1201 #. type: Plain text
1202 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1203 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1204 msgid ""
1205 "Since Linux 2.6.12, if a process reaches its soft B<RLIMIT_CPU> limit and "
1206 "has a handler installed for B<SIGXCPU>, then, in addition to invoking the "
1207 "signal handler, the kernel increases the soft limit by one second. This "
1208 "behavior repeats if the process continues to consume CPU time, until the "
1209 "hard limit is reached, at which point the process is killed. Other "
1210 "implementations do not change the B<RLIMIT_CPU> soft limit in this manner, "
1211 "and the Linux behavior is probably not standards conformant; portable "
1212 "applications should avoid relying on this Linux-specific behavior. The "
1213 "Linux-specific B<RLIMIT_RTTIME> limit exhibits the same behavior when the "
1214 "soft limit is encountered."
1215 msgstr ""
1216
1217 #. d3561f78fd379a7110e46c87964ba7aa4120235c
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 "Kernels before Linux 2.4.22 did not diagnose the error B<EINVAL> for "
1223 "B<setrlimit>() when I<rlim-E<gt>rlim_cur> was greater than I<rlim-"
1224 "E<gt>rlim_max>."
1225 msgstr ""
1226
1227 #. type: Plain text
1228 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1229 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1230 msgid ""
1231 "Linux doesn't return an error when an attempt to set B<RLIMIT_CPU> has "
1232 "failed, for compatibility reasons."
1233 msgstr ""
1234
1235 #. type: SS
1236 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1237 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1238 #, no-wrap
1239 msgid "Representation of \\[dq]large\\[dq] resource limit values on 32-bit platforms"
1240 msgstr ""
1241
1242 #. #-#-#-#-# archlinux: getrlimit.2.pot (PACKAGE VERSION) #-#-#-#-#
1243 #. Linux still uses long for limits internally:
1244 #. c022a0acad534fd5f5d5f17280f6d4d135e74e81
1245 #. kernel/sys.c:do_prlimit() still uses struct rlimit which
1246 #. uses kernel_ulong_t for its members, i.e., 32-bit on 32-bit kernel.
1247 #. https://bugzilla.kernel.org/show_bug.cgi?id=5042
1248 #. https://www.sourceware.org/bugzilla/show_bug.cgi?id=12201
1249 #. type: Plain text
1250 #. #-#-#-#-# debian-trixie: getrlimit.2.pot (PACKAGE VERSION) #-#-#-#-#
1251 #. Linux still uses long for limits internally:
1252 #. c022a0acad534fd5f5d5f17280f6d4d135e74e81
1253 #. kernel/sys.c:do_prlimit() still uses struct rlimit which
1254 #. uses kernel_ulong_t for its members, i.e. 32-bit on 32-bit kernel.
1255 #. https://bugzilla.kernel.org/show_bug.cgi?id=5042
1256 #. https://www.sourceware.org/bugzilla/show_bug.cgi?id=12201
1257 #. type: Plain text
1258 #. #-#-#-#-# debian-unstable: getrlimit.2.pot (PACKAGE VERSION) #-#-#-#-#
1259 #. Linux still uses long for limits internally:
1260 #. c022a0acad534fd5f5d5f17280f6d4d135e74e81
1261 #. kernel/sys.c:do_prlimit() still uses struct rlimit which
1262 #. uses kernel_ulong_t for its members, i.e., 32-bit on 32-bit kernel.
1263 #. https://bugzilla.kernel.org/show_bug.cgi?id=5042
1264 #. https://www.sourceware.org/bugzilla/show_bug.cgi?id=12201
1265 #. type: Plain text
1266 #. #-#-#-#-# fedora-44: getrlimit.2.pot (PACKAGE VERSION) #-#-#-#-#
1267 #. Linux still uses long for limits internally:
1268 #. c022a0acad534fd5f5d5f17280f6d4d135e74e81
1269 #. kernel/sys.c:do_prlimit() still uses struct rlimit which
1270 #. uses kernel_ulong_t for its members, i.e. 32-bit on 32-bit kernel.
1271 #. https://bugzilla.kernel.org/show_bug.cgi?id=5042
1272 #. https://www.sourceware.org/bugzilla/show_bug.cgi?id=12201
1273 #. type: Plain text
1274 #. #-#-#-#-# fedora-rawhide: getrlimit.2.pot (PACKAGE VERSION) #-#-#-#-#
1275 #. Linux still uses long for limits internally:
1276 #. c022a0acad534fd5f5d5f17280f6d4d135e74e81
1277 #. kernel/sys.c:do_prlimit() still uses struct rlimit which
1278 #. uses kernel_ulong_t for its members, i.e. 32-bit on 32-bit kernel.
1279 #. https://bugzilla.kernel.org/show_bug.cgi?id=5042
1280 #. https://www.sourceware.org/bugzilla/show_bug.cgi?id=12201
1281 #. type: Plain text
1282 #. #-#-#-#-# mageia-cauldron: getrlimit.2.pot (PACKAGE VERSION) #-#-#-#-#
1283 #. Linux still uses long for limits internally:
1284 #. c022a0acad534fd5f5d5f17280f6d4d135e74e81
1285 #. kernel/sys.c:do_prlimit() still uses struct rlimit which
1286 #. uses kernel_ulong_t for its members, i.e., 32-bit on 32-bit kernel.
1287 #. https://bugzilla.kernel.org/show_bug.cgi?id=5042
1288 #. https://www.sourceware.org/bugzilla/show_bug.cgi?id=12201
1289 #. type: Plain text
1290 #. #-#-#-#-# opensuse-leap-16-1: getrlimit.2.pot (PACKAGE VERSION) #-#-#-#-#
1291 #. Linux still uses long for limits internally:
1292 #. c022a0acad534fd5f5d5f17280f6d4d135e74e81
1293 #. kernel/sys.c:do_prlimit() still uses struct rlimit which
1294 #. uses kernel_ulong_t for its members, i.e., 32-bit on 32-bit kernel.
1295 #. https://bugzilla.kernel.org/show_bug.cgi?id=5042
1296 #. https://www.sourceware.org/bugzilla/show_bug.cgi?id=12201
1297 #. type: Plain text
1298 #. #-#-#-#-# opensuse-tumbleweed: getrlimit.2.pot (PACKAGE VERSION) #-#-#-#-#
1299 #. Linux still uses long for limits internally:
1300 #. c022a0acad534fd5f5d5f17280f6d4d135e74e81
1301 #. kernel/sys.c:do_prlimit() still uses struct rlimit which
1302 #. uses kernel_ulong_t for its members, i.e., 32-bit on 32-bit kernel.
1303 #. https://bugzilla.kernel.org/show_bug.cgi?id=5042
1304 #. https://www.sourceware.org/bugzilla/show_bug.cgi?id=12201
1305 #. type: Plain text
1306 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1307 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1308 msgid ""
1309 "The glibc B<getrlimit>() and B<setrlimit>() wrapper functions use a 64-bit "
1310 "I<rlim_t> data type, even on 32-bit platforms. However, the I<rlim_t> data "
1311 "type used in the B<getrlimit>() and B<setrlimit>() system calls is a (32-"
1312 "bit) I<unsigned long>. Furthermore, in Linux, the kernel represents "
1313 "resource limits on 32-bit platforms as I<unsigned long>. However, a 32-bit "
1314 "data type is not wide enough. The most pertinent limit here is B<\\"
1315 "%RLIMIT_FSIZE>, which specifies the maximum size to which a file can grow: "
1316 "to be useful, this limit must be represented using a type that is as wide as "
1317 "the type used to represent file offsets\\[em]that is, as wide as a 64-bit "
1318 "B<off_t> (assuming a program compiled with I<_FILE_OFFSET_BITS=64>)."
1319 msgstr ""
1320
1321 #. type: Plain text
1322 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1323 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1324 msgid ""
1325 "To work around this kernel limitation, if a program tried to set a resource "
1326 "limit to a value larger than can be represented in a 32-bit I<unsigned "
1327 "long>, then the glibc B<setrlimit>() wrapper function silently converted "
1328 "the limit value to B<RLIM_INFINITY>. In other words, the requested resource "
1329 "limit setting was silently ignored."
1330 msgstr ""
1331
1332 #. https://www.sourceware.org/bugzilla/show_bug.cgi?id=12201
1333 #. type: Plain text
1334 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1335 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1336 msgid ""
1337 "Since glibc 2.13, glibc works around the limitations of the B<\\"
1338 "%getrlimit>() and B<setrlimit>() system calls by implementing "
1339 "B<setrlimit>() and B<\\%getrlimit>() as wrapper functions that call "
1340 "B<prlimit>()."
1341 msgstr ""
1342
1343 #. type: SH
1344 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1345 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1346 #, no-wrap
1347 msgid "EXAMPLES"
1348 msgstr "EJEMPLOS"
1349
1350 #. type: Plain text
1351 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1352 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1353 msgid "The program below demonstrates the use of B<prlimit>()."
1354 msgstr ""
1355
1356 #. type: Plain text
1357 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1358 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1359 #, no-wrap
1360 msgid ""
1361 "#define _GNU_SOURCE\n"
1362 "#define _FILE_OFFSET_BITS 64\n"
1363 "#include E<lt>err.hE<gt>\n"
1364 "#include E<lt>stdint.hE<gt>\n"
1365 "#include E<lt>stdio.hE<gt>\n"
1366 "#include E<lt>stdlib.hE<gt>\n"
1367 "#include E<lt>sys/resource.hE<gt>\n"
1368 "#include E<lt>time.hE<gt>\n"
1369 "\\&\n"
1370 "int\n"
1371 "main(int argc, char *argv[])\n"
1372 "{\n"
1373 " pid_t pid;\n"
1374 " struct rlimit old, new;\n"
1375 " struct rlimit *newp;\n"
1376 "\\&\n"
1377 " if (!(argc == 2 || argc == 4)) {\n"
1378 " fprintf(stderr, \"Usage: %s E<lt>pidE<gt> [E<lt>new-soft-limitE<gt> \"\n"
1379 " \"E<lt>new-hard-limitE<gt>]\\[rs]n\", argv[0]);\n"
1380 " exit(EXIT_FAILURE);\n"
1381 " }\n"
1382 "\\&\n"
1383 " pid = atoi(argv[1]); /* PID of target process */\n"
1384 "\\&\n"
1385 " newp = NULL;\n"
1386 " if (argc == 4) {\n"
1387 " new.rlim_cur = atoi(argv[2]);\n"
1388 " new.rlim_max = atoi(argv[3]);\n"
1389 " newp = &new;\n"
1390 " }\n"
1391 "\\&\n"
1392 " /* Set CPU time limit of target process; retrieve and display\n"
1393 " previous limit */\n"
1394 "\\&\n"
1395 " if (prlimit(pid, RLIMIT_CPU, newp, &old) == -1)\n"
1396 " err(EXIT_FAILURE, \"prlimit-1\");\n"
1397 " printf(\"Previous limits: soft=%jd; hard=%jd\\[rs]n\",\n"
1398 " (intmax_t) old.rlim_cur, (intmax_t) old.rlim_max);\n"
1399 "\\&\n"
1400 " /* Retrieve and display new CPU time limit */\n"
1401 "\\&\n"
1402 " if (prlimit(pid, RLIMIT_CPU, NULL, &old) == -1)\n"
1403 " err(EXIT_FAILURE, \"prlimit-2\");\n"
1404 " printf(\"New limits: soft=%jd; hard=%jd\\[rs]n\",\n"
1405 " (intmax_t) old.rlim_cur, (intmax_t) old.rlim_max);\n"
1406 "\\&\n"
1407 " exit(EXIT_SUCCESS);\n"
1408 "}\n"
1409 msgstr ""
1410
1411 #. SRC END
1412 #. type: SH
1413 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1414 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1415 #, no-wrap
1416 msgid "SEE ALSO"
1417 msgstr "VÉASE TAMBIÉN"
1418
1419 #. type: Plain text
1420 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1421 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1422 msgid ""
1423 "B<prlimit>(1), B<dup>(2), B<fcntl>(2), B<fork>(2), B<getrusage>(2), "
1424 "B<mlock>(2), B<mmap>(2), B<open>(2), B<quotactl>(2), B<sbrk>(2), "
1425 "B<shmctl>(2), B<malloc>(3), B<sigqueue>(3), B<ulimit>(3), B<core>(5), "
1426 "B<capabilities>(7), B<cgroups>(7), B<credentials>(7), B<signal>(7)"
1427 msgstr ""
1428 "B<prlimit>(1), B<dup>(2), B<fcntl>(2), B<fork>(2), B<getrusage>(2), "
1429 "B<mlock>(2), B<mmap>(2), B<open>(2), B<quotactl>(2), B<sbrk>(2), "
1430 "B<shmctl>(2), B<malloc>(3), B<sigqueue>(3), B<ulimit>(3), B<core>(5), "
1431 "B<capabilities>(7), B<cgroups>(7), B<credentials>(7), B<signal>(7)"
1432
1433 #. type: TH
1434 #: debian-trixie
1435 #, no-wrap
1436 msgid "2024-06-17"
1437 msgstr "17 Junio 2024"
1438
1439 #. type: TH
1440 #: debian-trixie
1441 #, no-wrap
1442 msgid "Linux man-pages 6.9.1"
1443 msgstr "Páginas de Manual de Linux 6.9.1"
1444
1445 #. type: Plain text
1446 #: debian-trixie
1447 msgid "Standard C library (I<libc>, I<-lc>)"
1448 msgstr "Biblioteca Estándar C (I<libc>, I<-lc>)"
1449
1450 #. type: Plain text
1451 #: debian-trixie fedora-44 fedora-rawhide
1452 #, no-wrap
1453 msgid "B<typedef> /* ... */ B<rlim_t;> /* Unsigned integer type */\n"
1454 msgstr ""
1455
1456 #. type: Plain text
1457 #: debian-trixie fedora-44 fedora-rawhide
1458 msgid "POSIX.1-2008."
1459 msgstr "POSIX.1-2008."
1460
1461 #. type: Plain text
1462 #: debian-trixie fedora-44 fedora-rawhide
1463 msgid "POSIX.1-2001, SVr4, 4.3BSD."
1464 msgstr "POSIX.1-2001, SVr4, 4.3BSD."
1465
1466 #. type: TH
1467 #: fedora-44 fedora-rawhide
1468 #, no-wrap
1469 msgid "2024-07-23"
1470 msgstr "23 ​​Julio 2024"
1471
1472 #. type: TH
1473 #: fedora-44 fedora-rawhide
1474 #, no-wrap
1475 msgid "Linux man-pages 6.13"
1476 msgstr "Páginas de Manual de Linux 6.13"
1477
1478 #. type: TH
1479 #: mageia-cauldron
1480 #, no-wrap
1481 msgid "Linux man-pages 6.17"
1482 msgstr "Páginas de Manual de Linux 6.17"
1483
1484 #. type: TH
1485 #: opensuse-leap-16-1 opensuse-tumbleweed
1486 #, no-wrap
1487 msgid "Linux man-pages (unreleased)"
1488 msgstr "Páginas de Manual de Linux (no publicadas)"