# phpman > man > gcore(1)


*Source: tldr-pages*

---

[gcore(1)](https://www.chedong.com/phpMan.php/man/gcore/1/markdown)                                      GNU Tools                                     [gcore(1)](https://www.chedong.com/phpMan.php/man/gcore/1/markdown)



## NAME
       gcore - Generate core files for running processes

## SYNOPSIS
       **gcore** [-a] [-o _filename_] _pid[s]_

## DESCRIPTION
       gcore generates a core file for the process(es) specified by process IDs, _pid[s]_. By default,
       each core file is written to core._pid_, in the current directory.

### -a
              with  the  'VM_DONTDUMP'  flag. See info node Core File Generation for longer explana‐
              tion.

### -o
              write core file to _filename_ if one PID, or _filename.pid_ if multiple PIDs,  instead  of
              default core._pid_

## COPYING
       Copyright © 2003, 2005, 2007, 2008, 2018, 2020 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 con‐
       ditions  for verbatim copying, provided that the entire resulting derived work is distributed
       under the terms of a permission notice identical to this one.

       Permission is granted to copy and distribute translations of this manual  into  another  lan‐
       guage,  under  the above conditions for modified versions, except that this permission notice
       may be included in translations approved by the Free Software Foundation instead  of  in  the
       original English.

## SEE ALSO
       [**gdb**(1)](https://www.chedong.com/phpMan.php/man/gdb/1/markdown), [**core**(5)](https://www.chedong.com/phpMan.php/man/core/5/markdown)



gdb 9.1                                       Feb 2020                                      [gcore(1)](https://www.chedong.com/phpMan.php/man/gcore/1/markdown)
