Debian Codegraph @

po/es/man5/core.5.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 msgid ""
5 msgstr ""
6 "Project-Id-Version: manpages-l10n 4.11.0\n"
7 "POT-Creation-Date: 2026-06-05 06:21+0200\n"
8 "PO-Revision-Date: 2021-09-03 21:21+0200\n"
9 "Last-Translator: Automatically generated\n"
10 "Language-Team: Spanish <[email protected]>\n"
11 "Language: es\n"
12 "MIME-Version: 1.0\n"
13 "Content-Type: text/plain; charset=UTF-8\n"
14 "Content-Transfer-Encoding: 8bit\n"
15 "Plural-Forms: nplurals=2; plural=(n != 1);\n"
16
17 #. type: TH
18 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
19 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
20 #, no-wrap
21 msgid "core"
22 msgstr ""
23
24 #. type: TH
25 #: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed
26 #, no-wrap
27 msgid "2026-03-16"
28 msgstr "16 Marzo 2026"
29
30 #. type: TH
31 #: archlinux debian-unstable
32 #, fuzzy, no-wrap
33 #| msgid "Linux man-pages 6.17"
34 msgid "Linux man-pages 6.18"
35 msgstr "Páginas de Manual de Linux 6.17"
36
37 #. type: SH
38 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
39 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
40 #, no-wrap
41 msgid "NAME"
42 msgstr "NOMBRE"
43
44 #. type: Plain text
45 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
46 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
47 msgid "core - core dump file"
48 msgstr ""
49
50 #. type: SH
51 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
52 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
53 #, no-wrap
54 msgid "DESCRIPTION"
55 msgstr "DESCRIPCIÓN"
56
57 #. type: Plain text
58 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
59 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
60 msgid ""
61 "The default action of certain signals is to cause a process to terminate and "
62 "produce a I<core dump file>, a file containing an image of the process's "
63 "memory at the time of termination. This image can be used in a debugger "
64 "(e.g., B<gdb>(1)) to inspect the state of the program at the time that it "
65 "terminated. A list of the signals which cause a process to dump core can be "
66 "found in B<signal>(7)."
67 msgstr ""
68
69 #. type: Plain text
70 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
71 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
72 msgid ""
73 "A process can set its soft B<RLIMIT_CORE> resource limit to place an upper "
74 "limit on the size of the core dump file that will be produced if it receives "
75 "a \"core dump\" signal; see B<getrlimit>(2) for details."
76 msgstr ""
77
78 #. type: Plain text
79 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
80 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
81 msgid ""
82 "There are various circumstances in which a core dump file is not produced:"
83 msgstr ""
84
85 #. type: IP
86 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
87 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
88 #, no-wrap
89 msgid "\\[bu]"
90 msgstr "\\[bu]"
91
92 #. type: Plain text
93 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
94 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
95 msgid ""
96 "The process does not have permission to write the core file. (By default, "
97 "the core file is called I<core> or I<core.pid>, where I<pid> is the ID of "
98 "the process that dumped core, and is created in the current working "
99 "directory. See below for details on naming.) Writing the core file fails "
100 "if the directory in which it is to be created is not writable, or if a file "
101 "with the same name exists and is not writable or is not a regular file "
102 "(e.g., it is a directory or a symbolic link)."
103 msgstr ""
104
105 #. type: Plain text
106 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
107 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
108 msgid ""
109 "A (writable, regular) file with the same name as would be used for the core "
110 "dump already exists, but there is more than one hard link to that file."
111 msgstr ""
112
113 #. type: Plain text
114 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
115 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
116 msgid ""
117 "The filesystem where the core dump file would be created is full; or has run "
118 "out of inodes; or is mounted read-only; or the user has reached their quota "
119 "for the filesystem."
120 msgstr ""
121
122 #. type: Plain text
123 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
124 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
125 msgid ""
126 "The directory in which the core dump file is to be created does not exist."
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<RLIMIT_CORE> (core file size) or B<RLIMIT_FSIZE> (file size) resource "
134 "limits for the process are set to zero; see B<getrlimit>(2) and the "
135 "documentation of the shell's I<ulimit> command (I<limit> in B<csh>(1)). "
136 "However, B<RLIMIT_CORE> will be ignored if the system is configured to pipe "
137 "core dumps to a program."
138 msgstr ""
139
140 #. type: Plain text
141 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
142 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
143 msgid ""
144 "The binary being executed by the process does not have read permission "
145 "enabled. (This is a security measure to ensure that an executable whose "
146 "contents are not readable does not produce a\\[em]possibly readable\\"
147 "[em]core dump containing an image of the executable.)"
148 msgstr ""
149
150 #. FIXME . Perhaps relocate discussion of /proc/sys/fs/suid_dumpable
151 #. and PR_SET_DUMPABLE to this page?
152 #. type: Plain text
153 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
154 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
155 msgid ""
156 "The process is executing a set-user-ID (set-group-ID) program that is owned "
157 "by a user (group) other than the real user (group) ID of the process, or "
158 "the process is executing a program that has file capabilities (see "
159 "B<capabilities>(7)). (However, see the description of the B<prctl>(2) "
160 "B<PR_SET_DUMPABLE> operation, and the description of the I</proc/sys/fs/"
161 "suid_dumpable> file in B<proc>(5).)"
162 msgstr ""
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 "I</proc/sys/kernel/core_pattern> is empty and I</proc/sys/kernel/"
169 "core_uses_pid> contains the value 0. (These files are described below.) "
170 "Note that if I</proc/sys/kernel/core_pattern> is empty and I</proc/sys/"
171 "kernel/core_uses_pid> contains the value 1, core dump files will have names "
172 "of the form I<.pid>, and such files are hidden unless one uses the B<ls>(1) "
173 "I<-a> option."
174 msgstr ""
175
176 #. commit 046d662f481830e652ac34cd112249adde16452a
177 #. type: Plain text
178 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
179 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
180 msgid ""
181 "(Since Linux 3.7) The kernel was configured without the B<CONFIG_COREDUMP> "
182 "option."
183 msgstr ""
184
185 #. type: Plain text
186 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
187 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
188 msgid ""
189 "In addition, a core dump may exclude part of the address space of the "
190 "process if the B<madvise>(2) B<MADV_DONTDUMP> flag was employed."
191 msgstr ""
192
193 #. type: Plain text
194 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
195 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
196 msgid ""
197 "On systems that employ B<systemd>(1) as the I<init> framework, core dumps "
198 "may instead be placed in a location determined by B<systemd>(1). See below "
199 "for further details."
200 msgstr ""
201
202 #. type: SS
203 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
204 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
205 #, no-wrap
206 msgid "Naming of core dump files"
207 msgstr ""
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 "By default, a core dump file is named I<core>, but the I</proc/sys/kernel/"
214 "core_pattern> file (since Linux 2.6 and 2.4.21) can be set to define a "
215 "template that is used to name core dump files. The template can contain % "
216 "specifiers which are substituted by the following values when a core file is "
217 "created:"
218 msgstr ""
219
220 #. type: TP
221 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
222 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
223 #, no-wrap
224 msgid "%%"
225 msgstr "%%"
226
227 #. type: Plain text
228 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
229 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
230 msgid "A single % character."
231 msgstr ""
232
233 #. type: TP
234 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
235 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
236 #, no-wrap
237 msgid "%c"
238 msgstr "%c"
239
240 #. type: Plain text
241 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
242 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
243 msgid ""
244 "Core file size soft resource limit of crashing process (since Linux 2.6.24)."
245 msgstr ""
246
247 #. type: TP
248 #: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed
249 #, no-wrap
250 msgid "%C"
251 msgstr "%C"
252
253 #. commit 8603b6f58637ce196d68f7749633ea81af196d66
254 #. type: Plain text
255 #: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed
256 msgid "CPU the task ran on (since Linux 6.2)."
257 msgstr ""
258
259 #. type: TP
260 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
261 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
262 #, no-wrap
263 msgid "%d"
264 msgstr "%d"
265
266 #. Added in git commit 12a2b4b2241e318b4f6df31228e4272d2c2968a1
267 #. type: Plain text
268 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
269 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
270 msgid ""
271 "Dump mode\\[em]same as value returned by B<prctl>(2) B<PR_GET_DUMPABLE> "
272 "(since Linux 3.7)."
273 msgstr ""
274
275 #. type: TP
276 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
277 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
278 #, no-wrap
279 msgid "%e"
280 msgstr ""
281
282 #. type: Plain text
283 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
284 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
285 msgid ""
286 "The process or thread's I<comm> value, which typically is the same as the "
287 "executable filename (without path prefix, and truncated to a maximum of 15 "
288 "characters), but may have been modified to be something different; see the "
289 "discussion of I</proc/>pidI</comm> and I</proc/>pidI</task/>tidI</comm> in "
290 "B<proc>(5)."
291 msgstr ""
292
293 #. type: TP
294 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
295 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
296 #, no-wrap
297 msgid "%E"
298 msgstr ""
299
300 #. type: Plain text
301 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
302 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
303 msgid ""
304 "Pathname of executable, with slashes (\\[aq]/\\[aq]) replaced by exclamation "
305 "marks (\\[aq]!\\[aq]) (since Linux 3.0)."
306 msgstr ""
307
308 #. type: TP
309 #: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed
310 #, no-wrap
311 msgid "%f"
312 msgstr "%f"
313
314 #. commit f38c85f1ba6902e4e2e2bf1b84edf065a904cdeb
315 #. type: Plain text
316 #: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed
317 msgid ""
318 "Actual filename of executable, which may differ from %e (since Linux 5.9)."
319 msgstr ""
320
321 #. type: TP
322 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
323 #: opensuse-tumbleweed
324 #, no-wrap
325 msgid "%F"
326 msgstr "%F"
327
328 #. commit b5325b2a270fcaf7b2a9a0f23d422ca8a5a8bdea
329 #. type: Plain text
330 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
331 #: opensuse-tumbleweed
332 #, fuzzy
333 #| msgid "I</proc/sys/vm/drop_caches> (since Linux 2.6.16)"
334 msgid "PIDFD of dumped process (since Linux 6.16)."
335 msgstr "I</proc/sys/vm/drop_caches> (desde Linux 2.6.16)"
336
337 #. type: TP
338 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
339 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
340 #, no-wrap
341 msgid "%g"
342 msgstr "%g"
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 "Numeric real GID of dumped process."
348 msgstr ""
349
350 #. type: TP
351 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
352 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
353 #, no-wrap
354 msgid "%h"
355 msgstr "%h"
356
357 #. type: Plain text
358 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
359 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
360 msgid "Hostname (same as I<nodename> returned by B<uname>(2))."
361 msgstr ""
362
363 #. type: TP
364 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
365 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
366 #, no-wrap
367 msgid "%i"
368 msgstr "%i"
369
370 #. commit b03023ecbdb76c1dec86b41ed80b123c22783220
371 #. type: Plain text
372 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
373 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
374 msgid ""
375 "TID of thread that triggered core dump, as seen in the PID namespace in "
376 "which the thread resides (since Linux 3.18)."
377 msgstr ""
378
379 #. type: TP
380 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
381 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
382 #, no-wrap
383 msgid "%I"
384 msgstr ""
385
386 #. commit b03023ecbdb76c1dec86b41ed80b123c22783220
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 "TID of thread that triggered core dump, as seen in the initial PID namespace "
392 "(since Linux 3.18)."
393 msgstr ""
394
395 #. type: TP
396 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
397 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
398 #, no-wrap
399 msgid "%p"
400 msgstr "%p"
401
402 #. type: Plain text
403 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
404 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
405 msgid ""
406 "PID of dumped process, as seen in the PID namespace in which the process "
407 "resides."
408 msgstr ""
409
410 #. type: TP
411 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
412 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
413 #, no-wrap
414 msgid "%P"
415 msgstr "%P"
416
417 #. Added in git commit 65aafb1e7484b7434a0c1d4c593191ebe5776a2f
418 #. type: Plain text
419 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
420 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
421 msgid ""
422 "PID of dumped process, as seen in the initial PID namespace (since Linux "
423 "3.12)."
424 msgstr ""
425
426 #. type: TP
427 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
428 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
429 #, no-wrap
430 msgid "%s"
431 msgstr "%s"
432
433 #. type: Plain text
434 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
435 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
436 msgid "Number of signal causing dump."
437 msgstr ""
438
439 #. type: TP
440 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
441 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
442 #, no-wrap
443 msgid "%t"
444 msgstr "%t"
445
446 #. type: Plain text
447 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
448 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
449 msgid ""
450 "Time of dump, expressed as seconds since the Epoch, 1970-01-01 00:00:00 "
451 "+0000 (UTC)."
452 msgstr ""
453
454 #. type: TP
455 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
456 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
457 #, no-wrap
458 msgid "%u"
459 msgstr "%u"
460
461 #. type: Plain text
462 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
463 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
464 msgid "Numeric real UID of dumped process."
465 msgstr ""
466
467 #. type: Plain text
468 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
469 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
470 msgid ""
471 "A single % at the end of the template is dropped from the core filename, as "
472 "is the combination of a % followed by any character other than those listed "
473 "above. All other characters in the template become a literal part of the "
474 "core filename. The template may include \\[aq]/\\[aq] characters, which are "
475 "interpreted as delimiters for directory names. The maximum size of the "
476 "resulting core filename is 128 bytes (64 bytes before Linux 2.6.19). The "
477 "default value in this file is \"core\". For backward compatibility, if I</"
478 "proc/sys/kernel/core_pattern> does not include I<%p> and I</proc/sys/kernel/"
479 "core_uses_pid> (see below) is nonzero, then .PID will be appended to the "
480 "core filename."
481 msgstr ""
482
483 #. type: Plain text
484 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
485 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
486 msgid ""
487 "Paths are interpreted according to the settings that are active for the "
488 "crashing process. That means the crashing process's mount namespace (see "
489 "B<mount_namespaces>(7)), its current working directory (found via "
490 "B<getcwd>(2)), and its root directory (see B<chroot>(2))."
491 msgstr ""
492
493 #. type: Plain text
494 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
495 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
496 msgid ""
497 "Since Linux 2.4, Linux has also provided a more primitive method of "
498 "controlling the name of the core dump file. If the I</proc/sys/kernel/"
499 "core_uses_pid> file contains the value 0, then a core dump file is simply "
500 "named I<core>. If this file contains a nonzero value, then the core dump "
501 "file includes the process ID in a name of the form I<core.PID>."
502 msgstr ""
503
504 #. 9520628e8ceb69fa9a4aee6b57f22675d9e1b709
505 #. type: Plain text
506 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
507 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
508 msgid ""
509 "Since Linux 3.6, if I</proc/sys/fs/suid_dumpable> is set to 2 "
510 "(\"suidsafe\"), the pattern must be either an absolute pathname (starting "
511 "with a leading \\[aq]/\\[aq] character) or a pipe, as defined below."
512 msgstr ""
513
514 #. type: SS
515 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
516 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
517 #, no-wrap
518 msgid "Piping core dumps to a program"
519 msgstr ""
520
521 #. type: Plain text
522 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
523 #: opensuse-tumbleweed
524 msgid ""
525 "Since Linux 2.6.19, Linux supports an alternate syntax for the I</proc/sys/"
526 "kernel/core_pattern> file. If the first character of this file is a pipe "
527 "symbol (I<|>), then the remainder of the line is interpreted as the command-"
528 "line for a user-space program (or script) that is to be executed."
529 msgstr ""
530
531 #. commit 315c69261dd3fa12dbc830d4fa00d1fad98d3b03
532 #. type: Plain text
533 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
534 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
535 msgid ""
536 "Since Linux 5.3.0, the pipe template is split on spaces into an argument "
537 "list I<before> the template parameters are expanded. In earlier kernels, "
538 "the template parameters are expanded first and the resulting string is split "
539 "on spaces into an argument list. This means that in earlier kernels "
540 "executable names added by the I<%e> and I<%E> template parameters could get "
541 "split into multiple arguments. So the core dump handler needs to put the "
542 "executable names as the last argument and ensure it joins all parts of the "
543 "executable name using spaces. Executable names with multiple spaces in them "
544 "are not correctly represented in earlier kernels, meaning that the core dump "
545 "handler needs to use mechanisms to find the executable name."
546 msgstr ""
547
548 #. type: Plain text
549 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
550 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
551 msgid ""
552 "Instead of being written to a file, the core dump is given as standard input "
553 "to the program. Note the following points:"
554 msgstr ""
555
556 #. type: Plain text
557 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
558 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
559 msgid ""
560 "The program must be specified using an absolute pathname (or a pathname "
561 "relative to the root directory, I</>), and must immediately follow the '|' "
562 "character."
563 msgstr ""
564
565 #. type: Plain text
566 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
567 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
568 msgid ""
569 "The command-line arguments can include any of the % specifiers listed "
570 "above. For example, to pass the PID of the process that is being dumped, "
571 "specify I<%p> in an argument."
572 msgstr ""
573
574 #. type: Plain text
575 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
576 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
577 msgid "The process created to run the program runs as user and group I<root>."
578 msgstr ""
579
580 #. type: Plain text
581 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
582 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
583 msgid ""
584 "Running as I<root> does not confer any exceptional security bypasses. "
585 "Namely, LSMs (e.g., SELinux) are still active and may prevent the handler "
586 "from accessing details about the crashed process via I</proc/>pid."
587 msgstr ""
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 program pathname is interpreted with respect to the initial mount "
594 "namespace as it is always executed there. It is not affected by the "
595 "settings (e.g., root directory, mount namespace, current working directory) "
596 "of the crashing process."
597 msgstr ""
598
599 #. type: Plain text
600 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
601 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
602 msgid ""
603 "The process runs in the initial namespaces (PID, mount, user, and so on) "
604 "and not in the namespaces of the crashing process. One can utilize "
605 "specifiers such as I<%P> to find the right I</proc/>pid directory and probe/"
606 "enter the crashing process's namespaces if needed."
607 msgstr ""
608
609 #. type: Plain text
610 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
611 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
612 msgid ""
613 "The process starts with its current working directory as the root "
614 "directory. If desired, it is possible change to the working directory of "
615 "the dumping process by employing the value provided by the I<%P> specifier "
616 "to change to the location of the dumping process via I</proc/>pidI</cwd>."
617 msgstr ""
618
619 #. type: Plain text
620 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
621 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
622 msgid ""
623 "Command-line arguments can be supplied to the program (since Linux 2.6.24), "
624 "delimited by white space (up to a total line length of 128 bytes)."
625 msgstr ""
626
627 #. type: Plain text
628 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
629 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
630 msgid ""
631 "The B<RLIMIT_CORE> limit is not enforced for core dumps that are piped to a "
632 "program via this mechanism."
633 msgstr ""
634
635 #. type: SS
636 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
637 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
638 #, no-wrap
639 msgid "/proc/sys/kernel/core_pipe_limit"
640 msgstr ""
641
642 #. type: Plain text
643 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
644 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
645 msgid ""
646 "When collecting core dumps via a pipe to a user-space program, it can be "
647 "useful for the collecting program to gather data about the crashing process "
648 "from that process's I</proc/>pid directory. In order to do this safely, the "
649 "kernel must wait for the program collecting the core dump to exit, so as not "
650 "to remove the crashing process's I</proc/>pid files prematurely. This in "
651 "turn creates the possibility that a misbehaving collecting program can block "
652 "the reaping of a crashed process by simply never exiting."
653 msgstr ""
654
655 #. commit a293980c2e261bd5b0d2a77340dd04f684caff58
656 #. type: Plain text
657 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
658 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
659 msgid ""
660 "Since Linux 2.6.32, the I</proc/sys/kernel/core_pipe_limit> can be used to "
661 "defend against this possibility. The value in this file defines how many "
662 "concurrent crashing processes may be piped to user-space programs in "
663 "parallel. If this value is exceeded, then those crashing processes above "
664 "this value are noted in the kernel log and their core dumps are skipped."
665 msgstr ""
666
667 #. type: Plain text
668 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
669 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
670 msgid ""
671 "A value of 0 in this file is special. It indicates that unlimited processes "
672 "may be captured in parallel, but that no waiting will take place (i.e., the "
673 "collecting program is not guaranteed access to I</proc/E<lt>crashing-"
674 "PIDE<gt>>). The default value for this file is 0."
675 msgstr ""
676
677 #. type: SS
678 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
679 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
680 #, no-wrap
681 msgid "Controlling which mappings are written to the core dump"
682 msgstr ""
683
684 #. type: Plain text
685 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
686 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
687 msgid ""
688 "Since Linux 2.6.23, the Linux-specific I</proc/>pidI</coredump_filter> file "
689 "can be used to control which memory segments are written to the core dump "
690 "file in the event that a core dump is performed for the process with the "
691 "corresponding process ID."
692 msgstr ""
693
694 #. type: Plain text
695 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
696 #: opensuse-tumbleweed
697 msgid ""
698 "The value in the file is a bit mask of memory mapping types (see "
699 "B<mmap>(2)). If a bit is set in the mask, then memory mappings of the "
700 "corresponding type are dumped; otherwise, they are not dumped. The bits in "
701 "this file have the following meanings:"
702 msgstr ""
703
704 #. type: TP
705 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
706 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
707 #, no-wrap
708 msgid "bit 0"
709 msgstr ""
710
711 #. type: Plain text
712 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
713 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
714 msgid "Dump anonymous private mappings."
715 msgstr ""
716
717 #. type: TP
718 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
719 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
720 #, no-wrap
721 msgid "bit 1"
722 msgstr ""
723
724 #. type: Plain text
725 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
726 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
727 msgid "Dump anonymous shared mappings."
728 msgstr ""
729
730 #. type: TP
731 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
732 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
733 #, no-wrap
734 msgid "bit 2"
735 msgstr ""
736
737 #. type: Plain text
738 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
739 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
740 msgid "Dump file-backed private mappings."
741 msgstr ""
742
743 #. type: TP
744 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
745 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
746 #, no-wrap
747 msgid "bit 3"
748 msgstr ""
749
750 #. file-backed shared mappings of course also update the underlying
751 #. mapped file.
752 #. type: Plain text
753 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
754 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
755 msgid "Dump file-backed shared mappings."
756 msgstr ""
757
758 #. type: TP
759 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
760 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
761 #, no-wrap
762 msgid "bit 4 (since Linux 2.6.24)"
763 msgstr ""
764
765 #. type: Plain text
766 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
767 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
768 msgid "Dump ELF headers."
769 msgstr ""
770
771 #. type: TP
772 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
773 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
774 #, no-wrap
775 msgid "bit 5 (since Linux 2.6.28)"
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 "Dump private huge pages."
782 msgstr ""
783
784 #. type: TP
785 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
786 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
787 #, no-wrap
788 msgid "bit 6 (since Linux 2.6.28)"
789 msgstr ""
790
791 #. type: Plain text
792 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
793 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
794 msgid "Dump shared huge pages."
795 msgstr ""
796
797 #. type: TP
798 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
799 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
800 #, no-wrap
801 msgid "bit 7 (since Linux 4.4)"
802 msgstr ""
803
804 #. commit ab27a8d04b32b6ee8c30c14c4afd1058e8addc82
805 #. type: Plain text
806 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
807 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
808 msgid "Dump private DAX pages."
809 msgstr ""
810
811 #. type: TP
812 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
813 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
814 #, no-wrap
815 msgid "bit 8 (since Linux 4.4)"
816 msgstr ""
817
818 #. commit ab27a8d04b32b6ee8c30c14c4afd1058e8addc82
819 #. type: Plain text
820 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
821 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
822 msgid "Dump shared DAX pages."
823 msgstr ""
824
825 #. type: Plain text
826 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
827 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
828 msgid ""
829 "By default, the following bits are set: 0, 1, 4 (if the "
830 "B<CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS> kernel configuration option is "
831 "enabled), and 5. This default can be modified at boot time using the "
832 "I<coredump_filter> boot option."
833 msgstr ""
834
835 #. type: Plain text
836 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
837 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
838 msgid ""
839 "The value of this file is displayed in hexadecimal. (The default value is "
840 "thus displayed as 33.)"
841 msgstr ""
842
843 #. type: Plain text
844 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
845 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
846 msgid ""
847 "Memory-mapped I/O pages such as frame buffer are never dumped, and virtual "
848 "DSO (B<vdso>(7)) pages are always dumped, regardless of the "
849 "I<coredump_filter> value."
850 msgstr ""
851
852 #. type: Plain text
853 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
854 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
855 msgid ""
856 "A child process created via B<fork>(2) inherits its parent's "
857 "I<coredump_filter> value; the I<coredump_filter> value is preserved across "
858 "an B<execve>(2)."
859 msgstr ""
860
861 #. type: Plain text
862 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
863 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
864 msgid ""
865 "It can be useful to set I<coredump_filter> in the parent shell before "
866 "running a program, for example:"
867 msgstr ""
868
869 #. type: Plain text
870 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
871 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
872 #, no-wrap
873 msgid ""
874 "$B< echo 0x7 E<gt> /proc/self/coredump_filter>\n"
875 "$B< ./some_program>\n"
876 msgstr ""
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 "This file is provided only if the kernel was built with the "
883 "B<CONFIG_ELF_CORE> configuration option."
884 msgstr ""
885
886 #. type: SS
887 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
888 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
889 #, no-wrap
890 msgid "Core dumps and systemd"
891 msgstr ""
892
893 #. type: Plain text
894 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
895 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
896 msgid ""
897 "On systems using the B<systemd>(1) I<init> framework, core dumps may be "
898 "placed in a location determined by B<systemd>(1). To do this, "
899 "B<systemd>(1) employs the I<core_pattern> feature that allows piping core "
900 "dumps to a program. One can verify this by checking whether core dumps are "
901 "being piped to the B<systemd-coredump>(8) program:"
902 msgstr ""
903
904 #. type: Plain text
905 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
906 #: opensuse-tumbleweed
907 #, no-wrap
908 msgid ""
909 "$B< cat /proc/sys/kernel/core_pattern>;\n"
910 "|/usr/lib/systemd/systemd-coredump %P %u %g %s %t %c %e\n"
911 msgstr ""
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 msgid ""
917 "In this case, core dumps will be placed in the location configured for "
918 "B<systemd-coredump>(8), typically as B<lz4>(1) compressed files in the "
919 "directory I</var/lib/systemd/coredump/>. One can list the core dumps that "
920 "have been recorded by B<systemd-coredump>(8) using B<coredumpctl>(1):"
921 msgstr ""
922
923 #. type: Plain text
924 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
925 #: opensuse-tumbleweed
926 #, no-wrap
927 msgid ""
928 "$B< coredumpctl list | tail -5>;\n"
929 "Wed 2017-10-11 22:25:30 CEST 2748 1000 1000 3 present /usr/bin/sleep\n"
930 "Thu 2017-10-12 06:29:10 CEST 2716 1000 1000 3 present /usr/bin/sleep\n"
931 "Thu 2017-10-12 06:30:50 CEST 2767 1000 1000 3 present /usr/bin/sleep\n"
932 "Thu 2017-10-12 06:37:40 CEST 2918 1000 1000 3 present /usr/bin/cat\n"
933 "Thu 2017-10-12 08:13:07 CEST 2955 1000 1000 3 present /usr/bin/cat\n"
934 msgstr ""
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 "The information shown for each core dump includes the date and time of the "
941 "dump, the PID, UID, and GID of the dumping process, the signal number that "
942 "caused the core dump, and the pathname of the executable that was being run "
943 "by the dumped process. Various options to B<coredumpctl>(1) allow a "
944 "specified coredump file to be pulled from the B<systemd>(1) location into a "
945 "specified file. For example, to extract the core dump for PID 2955 shown "
946 "above to a file named I<core> in the current directory, one could use:"
947 msgstr ""
948
949 #. type: Plain text
950 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
951 #: opensuse-tumbleweed
952 #, no-wrap
953 msgid "$B< coredumpctl dump 2955 -o core>;\n"
954 msgstr ""
955
956 #. type: Plain text
957 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
958 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
959 msgid "For more extensive details, see the B<coredumpctl>(1) manual page."
960 msgstr ""
961
962 #. type: Plain text
963 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
964 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
965 msgid ""
966 "To (persistently) disable the B<systemd>(1) mechanism that archives core "
967 "dumps, restoring to something more like traditional Linux behavior, one can "
968 "set an override for the B<systemd>(1) mechanism, using something like:"
969 msgstr ""
970
971 #. type: Plain text
972 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
973 #: opensuse-tumbleweed
974 #, no-wrap
975 msgid ""
976 "#B< echo \\[dq]kernel.core_pattern=core.%p\\[dq] E<gt> \\[rs]>;\n"
977 " \\f[B]/etc/sysctl.d/50-coredump.conf\\fR\n"
978 "#B< /lib/systemd/systemd-sysctl>;\n"
979 msgstr ""
980
981 #. type: Plain text
982 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
983 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
984 msgid ""
985 "It is also possible to temporarily (i.e., until the next reboot) change the "
986 "I<core_pattern> setting using a command such as the following (which causes "
987 "the names of core dump files to include the executable name as well as the "
988 "number of the signal which triggered the core dump):"
989 msgstr ""
990
991 #. type: Plain text
992 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
993 #: opensuse-tumbleweed
994 #, no-wrap
995 msgid "#B< sysctl -w kernel.core_pattern=\\[dq]%e-%s.core\\[dq]>;\n"
996 msgstr ""
997
998 #. type: SH
999 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1000 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1001 #, no-wrap
1002 msgid "NOTES"
1003 msgstr "NOTAS"
1004
1005 #. type: Plain text
1006 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1007 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1008 msgid ""
1009 "The B<gdb>(1) I<gcore> command can be used to obtain a core dump of a "
1010 "running process."
1011 msgstr ""
1012
1013 #. #-#-#-#-# archlinux: core.5.pot (PACKAGE VERSION) #-#-#-#-#
1014 #. Changed with commit 6409324b385f3f63a03645b4422e3be67348d922
1015 #. Always including the PID in the name of the core file made
1016 #. sense for LinuxThreads, where each thread had a unique PID,
1017 #. but doesn't seem to serve any purpose with NPTL, where all the
1018 #. threads in a process share the same PID (as POSIX.1 requires).
1019 #. Probably the behavior is maintained so that applications using
1020 #. LinuxThreads continue appending the PID (the kernel has no easy
1021 #. way of telling which threading implementation the user-space
1022 #. application is using). -- mtk, April 2006
1023 #. type: Plain text
1024 #. #-#-#-#-# debian-trixie: core.5.pot (PACKAGE VERSION) #-#-#-#-#
1025 #. Changed with commit 6409324b385f3f63a03645b4422e3be67348d922
1026 #. Always including the PID in the name of the core file made
1027 #. sense for LinuxThreads, where each thread had a unique PID,
1028 #. but doesn't seem to serve any purpose with NPTL, where all the
1029 #. threads in a process share the same PID (as POSIX.1 requires).
1030 #. Probably the behavior is maintained so that applications using
1031 #. LinuxThreads continue appending the PID (the kernel has no easy
1032 #. way of telling which threading implementation the user-space
1033 #. application is using). -- mtk, April 2006
1034 #. type: Plain text
1035 #. #-#-#-#-# debian-unstable: core.5.pot (PACKAGE VERSION) #-#-#-#-#
1036 #. Changed with commit 6409324b385f3f63a03645b4422e3be67348d922
1037 #. Always including the PID in the name of the core file made
1038 #. sense for LinuxThreads, where each thread had a unique PID,
1039 #. but doesn't seem to serve any purpose with NPTL, where all the
1040 #. threads in a process share the same PID (as POSIX.1 requires).
1041 #. Probably the behavior is maintained so that applications using
1042 #. LinuxThreads continue appending the PID (the kernel has no easy
1043 #. way of telling which threading implementation the user-space
1044 #. application is using). -- mtk, April 2006
1045 #. type: Plain text
1046 #. #-#-#-#-# fedora-44: core.5.pot (PACKAGE VERSION) #-#-#-#-#
1047 #. Changed with commit 6409324b385f3f63a03645b4422e3be67348d922
1048 #. Always including the PID in the name of the core file made
1049 #. sense for LinuxThreads, where each thread had a unique PID,
1050 #. but doesn't seem to serve any purpose with NPTL, where all the
1051 #. threads in a process share the same PID (as POSIX.1 requires).
1052 #. Probably the behavior is maintained so that applications using
1053 #. LinuxThreads continue appending the PID (the kernel has no easy
1054 #. way of telling which threading implementation the user-space
1055 #. application is using). -- mtk, April 2006
1056 #. type: Plain text
1057 #. #-#-#-#-# fedora-rawhide: core.5.pot (PACKAGE VERSION) #-#-#-#-#
1058 #. Changed with commit 6409324b385f3f63a03645b4422e3be67348d922
1059 #. Always including the PID in the name of the core file made
1060 #. sense for LinuxThreads, where each thread had a unique PID,
1061 #. but doesn't seem to serve any purpose with NPTL, where all the
1062 #. threads in a process share the same PID (as POSIX.1 requires).
1063 #. Probably the behavior is maintained so that applications using
1064 #. LinuxThreads continue appending the PID (the kernel has no easy
1065 #. way of telling which threading implementation the user-space
1066 #. application is using). -- mtk, April 2006
1067 #. type: Plain text
1068 #. #-#-#-#-# mageia-cauldron: core.5.pot (PACKAGE VERSION) #-#-#-#-#
1069 #. Changed with commit 6409324b385f3f63a03645b4422e3be67348d922
1070 #. Always including the PID in the name of the core file made
1071 #. sense for LinuxThreads, where each thread had a unique PID,
1072 #. but doesn't seem to serve any purpose with NPTL, where all the
1073 #. threads in a process share the same PID (as POSIX.1 requires).
1074 #. Probably the behavior is maintained so that applications using
1075 #. LinuxThreads continue appending the PID (the kernel has no easy
1076 #. way of telling which threading implementation the user-space
1077 #. application is using). -- mtk, April 2006
1078 #. type: Plain text
1079 #. #-#-#-#-# opensuse-leap-16-1: core.5.pot (PACKAGE VERSION) #-#-#-#-#
1080 #. Changed with commit 6409324b385f3f63a03645b4422e3be67348d922
1081 #. Always including the PID in the name of the core file made
1082 #. sense for LinuxThreads, where each thread had a unique PID,
1083 #. but doesn't seem to serve any purpose with NPTL, where all the
1084 #. threads in a process share the same PID (as POSIX.1 requires).
1085 #. Probably the behavior is maintained so that applications using
1086 #. LinuxThreads continue appending the PID (the kernel has no easy
1087 #. way of telling which threading implementation the user-space
1088 #. application is using). -- mtk, April 2006
1089 #. type: Plain text
1090 #. #-#-#-#-# opensuse-tumbleweed: core.5.pot (PACKAGE VERSION) #-#-#-#-#
1091 #. Changed with commit 6409324b385f3f63a03645b4422e3be67348d922
1092 #. Always including the PID in the name of the core file made
1093 #. sense for LinuxThreads, where each thread had a unique PID,
1094 #. but doesn't seem to serve any purpose with NPTL, where all the
1095 #. threads in a process share the same PID (as POSIX.1 requires).
1096 #. Probably the behavior is maintained so that applications using
1097 #. LinuxThreads continue appending the PID (the kernel has no easy
1098 #. way of telling which threading implementation the user-space
1099 #. application is using). -- mtk, April 2006
1100 #. type: Plain text
1101 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1102 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1103 msgid ""
1104 "In Linux versions up to and including 2.6.27, if a multithreaded process "
1105 "(or, more precisely, a process that shares its memory with another process "
1106 "by being created with the B<CLONE_VM> flag of B<clone>(2)) dumps core, then "
1107 "the process ID is always appended to the core filename, unless the process "
1108 "ID was already included elsewhere in the filename via a I<%p> specification "
1109 "in I</proc/sys/kernel/core_pattern>. (This is primarily useful when "
1110 "employing the obsolete LinuxThreads implementation, where each thread of a "
1111 "process has a different PID.)"
1112 msgstr ""
1113
1114 #. type: SH
1115 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1116 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1117 #, no-wrap
1118 msgid "EXAMPLES"
1119 msgstr "EJEMPLOS"
1120
1121 #. type: Plain text
1122 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1123 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1124 msgid ""
1125 "The program below can be used to demonstrate the use of the pipe syntax in "
1126 "the I</proc/sys/kernel/core_pattern> file. The following shell session "
1127 "demonstrates the use of this program (compiled to create an executable named "
1128 "I<core_pattern_pipe_test>):"
1129 msgstr ""
1130
1131 #. type: Plain text
1132 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1133 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1134 #, no-wrap
1135 msgid ""
1136 "$B< cc -o core_pattern_pipe_test core_pattern_pipe_test.c>\n"
1137 "$B< su>\n"
1138 "Password:\n"
1139 "#B< echo \\[dq]|$PWD/core_pattern_pipe_test %p UID=%u GID=%g sig=%s\\[dq] E<gt> \\[rs]>\n"
1140 "B</proc/sys/kernel/core_pattern>\n"
1141 "#B< exit>\n"
1142 "$B< sleep 100>\n"
1143 "B<\\[ha]\\[rs]> # type control-backslash\n"
1144 "Quit (core dumped)\n"
1145 "$B< cat core.info>\n"
1146 "argc=5\n"
1147 "argc[0]=E<lt>/home/mtk/core_pattern_pipe_testE<gt>\n"
1148 "argc[1]=E<lt>20575E<gt>\n"
1149 "argc[2]=E<lt>UID=1000E<gt>\n"
1150 "argc[3]=E<lt>GID=100E<gt>\n"
1151 "argc[4]=E<lt>sig=3E<gt>\n"
1152 "Total bytes in core dump: 282624\n"
1153 msgstr ""
1154
1155 #. type: SS
1156 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1157 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1158 #, no-wrap
1159 msgid "Program source"
1160 msgstr "Código fuente"
1161
1162 #. type: Plain text
1163 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
1164 #: opensuse-tumbleweed
1165 #, no-wrap
1166 msgid ""
1167 "/* core_pattern_pipe_test.c */\n"
1168 "\\&\n"
1169 "#define _GNU_SOURCE\n"
1170 "#include E<lt>sys/stat.hE<gt>\n"
1171 "#include E<lt>fcntl.hE<gt>\n"
1172 "#include E<lt>limits.hE<gt>\n"
1173 "#include E<lt>stdio.hE<gt>\n"
1174 "#include E<lt>stdlib.hE<gt>\n"
1175 "#include E<lt>unistd.hE<gt>\n"
1176 "\\&\n"
1177 "#define BUF_SIZE 1024\n"
1178 "\\&\n"
1179 "int\n"
1180 "main(int argc, char *argv[])\n"
1181 "{\n"
1182 " ssize_t nread, tot;\n"
1183 " char buf[BUF_SIZE];\n"
1184 " FILE *fp;\n"
1185 " char cwd[PATH_MAX];\n"
1186 "\\&\n"
1187 " /* Change our current working directory to that of the\n"
1188 " crashing process. */\n"
1189 "\\&\n"
1190 " snprintf(cwd, PATH_MAX, \"/proc/%s/cwd\", argv[1]);\n"
1191 " chdir(cwd);\n"
1192 "\\&\n"
1193 " /* Write output to file \"core.info\" in that directory. */\n"
1194 "\\&\n"
1195 " fp = fopen(\"core.info\", \"w+\");\n"
1196 " if (fp == NULL)\n"
1197 " exit(EXIT_FAILURE);\n"
1198 "\\&\n"
1199 " /* Display command-line arguments given to core_pattern\n"
1200 " pipe program. */\n"
1201 "\\&\n"
1202 " fprintf(fp, \"argc=%d\\[rs]n\", argc);\n"
1203 " for (size_t j = 0; j E<lt> argc; j++)\n"
1204 " fprintf(fp, \"argc[%zu]=E<lt>%sE<gt>\\[rs]n\", j, argv[j]);\n"
1205 "\\&\n"
1206 " /* Count bytes in standard input (the core dump). */\n"
1207 "\\&\n"
1208 " tot = 0;\n"
1209 " while ((nread = read(STDIN_FILENO, buf, BUF_SIZE)) E<gt> 0)\n"
1210 " tot += nread;\n"
1211 " fprintf(fp, \"Total bytes in core dump: %zd\\[rs]n\", tot);\n"
1212 "\\&\n"
1213 " fclose(fp);\n"
1214 " exit(EXIT_SUCCESS);\n"
1215 "}\n"
1216 msgstr ""
1217
1218 #. type: SH
1219 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1220 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1221 #, no-wrap
1222 msgid "SEE ALSO"
1223 msgstr "VÉASE TAMBIÉN"
1224
1225 #. type: Plain text
1226 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1227 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1228 msgid ""
1229 "B<bash>(1), B<coredumpctl>(1), B<gdb>(1), B<getrlimit>(2), B<mmap>(2), "
1230 "B<prctl>(2), B<sigaction>(2), B<elf>(5), B<proc>(5), B<pthreads>(7), "
1231 "B<signal>(7), B<systemd-coredump>(8)"
1232 msgstr ""
1233
1234 #. type: TH
1235 #: debian-trixie fedora-44 fedora-rawhide
1236 #, no-wrap
1237 msgid "2024-06-15"
1238 msgstr "15 Junio 2024"
1239
1240 #. type: TH
1241 #: debian-trixie
1242 #, no-wrap
1243 msgid "Linux man-pages 6.9.1"
1244 msgstr "Páginas de Manual de Linux 6.9.1"
1245
1246 #. type: Plain text
1247 #: debian-trixie fedora-44 fedora-rawhide
1248 msgid ""
1249 "Since Linux 2.6.19, Linux supports an alternate syntax for the I</proc/sys/"
1250 "kernel/core_pattern> file. If the first character of this file is a pipe "
1251 "symbol (B<|>), then the remainder of the line is interpreted as the command-"
1252 "line for a user-space program (or script) that is to be executed."
1253 msgstr ""
1254
1255 #. type: Plain text
1256 #: debian-trixie fedora-44 fedora-rawhide
1257 msgid ""
1258 "The value in the file is a bit mask of memory mapping types (see "
1259 "B<mmap>(2)). If a bit is set in the mask, then memory mappings of the "
1260 "corresponding type are dumped; otherwise they are not dumped. The bits in "
1261 "this file have the following meanings:"
1262 msgstr ""
1263
1264 #. type: Plain text
1265 #: debian-trixie fedora-44 fedora-rawhide
1266 #, no-wrap
1267 msgid ""
1268 "$ B<cat /proc/sys/kernel/core_pattern>\n"
1269 "|/usr/lib/systemd/systemd-coredump %P %u %g %s %t %c %e\n"
1270 msgstr ""
1271
1272 #. type: Plain text
1273 #: debian-trixie fedora-44 fedora-rawhide
1274 #, no-wrap
1275 msgid ""
1276 "$ B<coredumpctl list | tail -5>\n"
1277 "Wed 2017-10-11 22:25:30 CEST 2748 1000 1000 3 present /usr/bin/sleep\n"
1278 "Thu 2017-10-12 06:29:10 CEST 2716 1000 1000 3 present /usr/bin/sleep\n"
1279 "Thu 2017-10-12 06:30:50 CEST 2767 1000 1000 3 present /usr/bin/sleep\n"
1280 "Thu 2017-10-12 06:37:40 CEST 2918 1000 1000 3 present /usr/bin/cat\n"
1281 "Thu 2017-10-12 08:13:07 CEST 2955 1000 1000 3 present /usr/bin/cat\n"
1282 msgstr ""
1283
1284 #. type: Plain text
1285 #: debian-trixie fedora-44 fedora-rawhide
1286 #, no-wrap
1287 msgid "$ B<coredumpctl dump 2955 -o core>\n"
1288 msgstr ""
1289
1290 #. type: Plain text
1291 #: debian-trixie fedora-44 fedora-rawhide
1292 #, no-wrap
1293 msgid ""
1294 "# B<echo \"kernel.core_pattern=core.%p\" E<gt> \\[rs]>\n"
1295 " B</etc/sysctl.d/50-coredump.conf>\n"
1296 "# B</lib/systemd/systemd-sysctl>\n"
1297 msgstr ""
1298
1299 #. type: Plain text
1300 #: debian-trixie fedora-44 fedora-rawhide
1301 #, no-wrap
1302 msgid "# B<sysctl -w kernel.core_pattern=\"%e-%s.core\">\n"
1303 msgstr ""
1304
1305 #. type: Plain text
1306 #: debian-trixie fedora-44 fedora-rawhide
1307 #, no-wrap
1308 msgid ""
1309 "/* core_pattern_pipe_test.c */\n"
1310 "\\&\n"
1311 "#define _GNU_SOURCE\n"
1312 "#include E<lt>sys/stat.hE<gt>\n"
1313 "#include E<lt>fcntl.hE<gt>\n"
1314 "#include E<lt>limits.hE<gt>\n"
1315 "#include E<lt>stdio.hE<gt>\n"
1316 "#include E<lt>stdlib.hE<gt>\n"
1317 "#include E<lt>unistd.hE<gt>\n"
1318 "\\&\n"
1319 "#define BUF_SIZE 1024\n"
1320 "\\&\n"
1321 "int\n"
1322 "main(int argc, char *argv[])\n"
1323 "{\n"
1324 " ssize_t nread, tot;\n"
1325 " char buf[BUF_SIZE];\n"
1326 " FILE *fp;\n"
1327 " char cwd[PATH_MAX];\n"
1328 "\\&\n"
1329 " /* Change our current working directory to that of the\n"
1330 " crashing process. */\n"
1331 "\\&\n"
1332 " snprintf(cwd, PATH_MAX, \"/proc/%s/cwd\", argv[1]);\n"
1333 " chdir(cwd);\n"
1334 "\\&\n"
1335 " /* Write output to file \"core.info\" in that directory. */\n"
1336 "\\&\n"
1337 " fp = fopen(\"core.info\", \"w+\");\n"
1338 " if (fp == NULL)\n"
1339 " exit(EXIT_FAILURE);\n"
1340 "\\&\n"
1341 " /* Display command-line arguments given to core_pattern\n"
1342 " pipe program. */\n"
1343 "\\&\n"
1344 " fprintf(fp, \"argc=%d\\[rs]n\", argc);\n"
1345 " for (size_t j = 0; j E<lt> argc; j++)\n"
1346 " fprintf(fp, \"argc[%zu]=E<lt>%sE<gt>\\[rs]n\", j, argv[j]);\n"
1347 "\\&\n"
1348 " /* Count bytes in standard input (the core dump). */\n"
1349 "\\&\n"
1350 " tot = 0;\n"
1351 " while ((nread = read(STDIN_FILENO, buf, BUF_SIZE)) E<gt> 0)\n"
1352 " tot += nread;\n"
1353 " fprintf(fp, \"Total bytes in core dump: %zd\\[rs]n\", tot);\n"
1354 "\\&\n"
1355 " fclose(fp);\n"
1356 " exit(EXIT_SUCCESS);\n"
1357 "}\n"
1358 msgstr ""
1359
1360 #. type: TH
1361 #: fedora-44 fedora-rawhide
1362 #, no-wrap
1363 msgid "Linux man-pages 6.13"
1364 msgstr "Páginas de Manual de Linux 6.13"
1365
1366 #. type: TH
1367 #: mageia-cauldron
1368 #, no-wrap
1369 msgid "2026-02-08"
1370 msgstr "8 Febrero 2026"
1371
1372 #. type: TH
1373 #: mageia-cauldron
1374 #, no-wrap
1375 msgid "Linux man-pages 6.17"
1376 msgstr "Páginas de Manual de Linux 6.17"
1377
1378 #. type: TH
1379 #: opensuse-leap-16-1 opensuse-tumbleweed
1380 #, no-wrap
1381 msgid "Linux man-pages (unreleased)"
1382 msgstr "Páginas de Manual de Linux (no publicadas)"