Generate a core file for a running process


gcore [-o filename] pid


gcore generates a core file for the process specified by its process ID, pid. By default, the core file is written to, in the cur‐ rent directory. -o filename write core file to filename instead of


Copyright © 2003, 2005, 2007, 2008 Free Software Foundation, Inc. Permission is granted to make and distribute verbatim copies of this manual provided the copyright notice and this permission notice are preserved on all copies. Permission is granted to copy and distribute modified versions of this manual under the conditions for verbatim copying, provided that the en‐ tire resulting derived work is distributed under the terms of a permis‐ sion notice identical to this one. Permission is granted to copy and distribute translations of this man‐ ual into another language, under the above conditions for modified ver‐ sions, except that this permission notice may be included in transla‐ tions approved by the Free Software Foundation instead of in the origi‐ nal English.


gdb(1), core(5)

Copied to clipboard