GCORE(1) BSD General Commands Manual GCORE(1)NAMEgcore — get core images of running process
SYNOPSISgcore [-c corename] pid [pid ...]
DESCRIPTIONgcore creates a core image of the specified processes suitable for use
with gdb(1). By default, the core is written to the file
“<progname>.core”, where “⟨progname⟩” is the program name of the process
corresponding to the pid that is given on the command line. This file‐
name can be changed by supplying the -c corename argument, or setting
“proc.<pid>.corename” with sysctl(8).
FILES
<progname>.core The core image.
SEE ALSOgdb(1), sysctl(8)HISTORYgcore appeared in BSD 4.2, disappeared in NetBSD 1.2, and reappeared in
NetBSD 2.0.
BUGS
The process is not stopped while the core file is generated, so it might
not be consistent.
BSD January 9, 2005 BSD