1GCORE(1)                     GNU Development Tools                    GCORE(1)
2
3
4

NAME

6       gcore - Generate a core file of a running program
7

SYNOPSIS

9       gcore [-a] [-o filename] pid
10

DESCRIPTION

12       Generate a core dump of a running program with process ID pid.
13       Produced file is equivalent to a kernel produced core file as if the
14       process crashed (and if "ulimit -c" were used to set up an appropriate
15       core dump limit).  Unlike after a crash, after gcore the program
16       remains running without any change.
17

OPTIONS

19       -a  Dump all memory mappings.  The actual effect of this option depends
20           on the Operating System.  On GNU/Linux, it will disable
21           "use-coredump-filter" and enable "dump-excluded-mappings".
22
23       -o filename
24           The optional argument filename specifies the file name where to put
25           the core dump.  If not specified, the file name defaults to
26           core.pid, where pid is the running program process ID.
27

SEE ALSO

29       The full documentation for GDB is maintained as a Texinfo manual.  If
30       the "info" and "gdb" programs and GDB's Texinfo documentation are
31       properly installed at your site, the command
32
33               info gdb
34
35       should give you access to the complete manual.
36
37       Using GDB: A Guide to the GNU Source-Level Debugger, Richard M.
38       Stallman and Roland H. Pesch, July 1991.
39
41       Copyright (c) 1988-2013 Free Software Foundation, Inc.
42
43       Permission is granted to copy, distribute and/or modify this document
44       under the terms of the GNU Free Documentation License, Version 1.3 or
45       any later version published by the Free Software Foundation; with the
46       Invariant Sections being "Free Software" and "Free Software Needs Free
47       Documentation", with the Front-Cover Texts being "A GNU Manual," and
48       with the Back-Cover Texts as in (a) below.
49
50       (a) The FSF's Back-Cover Text is: "You are free to copy and modify this
51       GNU Manual.  Buying copies from GNU Press supports the FSF in
52       developing GNU and promoting software freedom."
53
54
55
56gdb-Red Hat Enterprise Linux 7.6.1-2101148.-e1l07-30                          GCORE(1)
Impressum