| 1 |
.TH gcore "1" "Feb 2020" "gdb 9.1" "GNU Tools" |
| 2 |
.SH NAME |
| 3 |
gcore \- Generate core files for running processes |
| 4 |
.SH SYNOPSIS |
| 5 |
.B gcore |
| 6 |
[-a] [-o \fIfilename\fR] \fIpid[s]\fR |
| 7 |
.SH DESCRIPTION |
| 8 |
.\" Add any additional description here |
| 9 |
.PP |
| 10 |
gcore generates a core file for the process(es) specified by process IDs, |
| 11 |
\fIpid[s]\fR. By default, each core file is written to core.\fIpid\fR, in the |
| 12 |
current directory. |
| 13 |
.TP |
| 14 |
\fB\-a\fR |
| 15 |
(Linux only) ignore /proc/PID/coredump_filter and also dump memory mappings |
| 16 |
marked with the 'VM_DONTDUMP' flag. See info node Core File Generation for |
| 17 |
longer explanation. |
| 18 |
.TP |
| 19 |
\fB\-o\fR \fIfilename\fR |
| 20 |
write core file to \fIfilename\fR if one PID, or \fIfilename.pid\fR if |
| 21 |
multiple PIDs, instead of default core.\fIpid\fR |
| 22 |
.SH COPYING |
| 23 |
Copyright \(co 2003, 2005, 2007, 2008, 2018, 2020 Free Software Foundation, Inc. |
| 24 |
.PP |
| 25 |
Permission is granted to make and distribute verbatim copies of this manual |
| 26 |
provided the copyright notice and this permission notice are preserved on |
| 27 |
all copies. |
| 28 |
.PP |
| 29 |
Permission is granted to copy and distribute modified versions of this |
| 30 |
manual under the conditions for verbatim copying, provided that the entire |
| 31 |
resulting derived work is distributed under the terms of a permission |
| 32 |
notice identical to this one. |
| 33 |
.PP |
| 34 |
Permission is granted to copy and distribute translations of this manual |
| 35 |
into another language, under the above conditions for modified versions, |
| 36 |
except that this permission notice may be included in translations approved |
| 37 |
by the Free Software Foundation instead of in the original English. |
| 38 |
.SH "SEE ALSO" |
| 39 |
.BR gdb (1), |
| 40 |
.BR core (5) |