Generates a core file for a running process.
The gencore command creates a core file of the process specified by the process ID ProcessID without terminating the process. The created core file contains the memory image of the process, which can be used with the dbx command for debugging purposes. The core file generated will be named as specified by FileName parameter.
The gencore command does not create the core file in the location set by the chcore or syscorepath commands. The core file is placed in the path specified by the FileName parameter. If FileName specifies only the name of the file, the core file is placed in the current working directory.
Item | Description |
---|---|
FileName | Specifies the file name of the core file the gencore command creates. |
ProcessID | Specifies the process ID of the process from which gencore will create a core file. |
gencore 1095 core.1095
The creates the core file without terminating the process.Item | Description |
---|---|
/usr/bin/gencore | Contains the gencore command. |