gcore [-pgF] [-o filename] [-c content] process-id...
The gcore utility creates a core image of each specified process. By default, the name of the core image file for the process whose process ID is process-id is core.process-id.
The following options are supported:
The following operand is supported:
Caution should be exercised when using the -F flag. Imposing two controlling processes on one victim process can lead to chaos. Safety is assured only if the primary controlling process, typically a debugger, has stopped the victim process and the primary controlling process is doing nothing at the moment of application of the proc tool in question.
The following exit values are returned:
See attributes(7) for descriptions of the following attributes:
|ATTRIBUTE TYPE||ATTRIBUTE VALUE|
|Interface Stability||See below.|
The command syntax is Evolving. The Output Formats are Unstable.
gcore is unaffected by the setrlimit(2) system call using the RLIMIT_CORE value.
|June 19, 2006||OmniOS|