[ Bottom of Page | Previous Page | Next Page | Contents | Index | Library Home | Legal | Search ]

Commands Reference, Volume 2

gencore Command

Purpose

Generates a core file for a running process.

Syntax

gencore ProcessID FileName

Description

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.

Parameters

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.

Exit Status

0
The core file was created successfully.
>0
An Error occurred. A partial core file may be created.

Examples

  1. To generate a core file named "core.1095" for the process with process ID 1095, enter:
    gencore 1095 core.1095 
    The creates the core file without terminating the process.

Files

/usr/bin/gencore Contains the gencore command.

Related Information

The dbx command, kill command.

[ Top of Page | Previous Page | Next Page | Contents | Index | Library Home | Legal | Search ]