- NetBSD Manual Pages
GCORE(1) NetBSD General Commands Manual GCORE(1)
Powered by man-cgi (2020-09-24).
Maintained for NetBSD
by Kimmo Suominen.
Based on man-cgi by Panagiotis Christias.
gcore -- get core images of running process
gcore [-c corename] pid [pid ...]
gcore 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
filename can be changed by supplying the -c corename argument, or setting
``proc.<pid>.corename'' with sysctl(8).
<progname>.core The core image.
gcore appeared in 4.2BSD, disappeared in NetBSD 1.2, and reappeared in
NetBSD 9.0 March 26, 2017 NetBSD 9.0