gcore(1) DG/UX R4.11MU05 gcore(1)
NAME
gcore - get core images of running processes
SYNOPSIS
gcore [ -o filename ] process-id ...
DESCRIPTION
gcore creates a core image of each specified process. Such an image
may be used with debuggers such as dbx and mxdb. The name of the
core image file for the process whose process ID is process-id will
be core.process-id. The core image is written, if possible, in the
current user's working directory; normal access controls apply.
The -o option substitutes filename in place of core as the first part
of the name of the core image files.
To create a core file the effective user ID and real user ID of the
specified process must be the same. In addition, the effective user
ID of the specified process must match the effective user ID of the
current user unless the user has appropriate privilege.
On a generic DG/UX system, appropriate privilege is granted by having
an effective user ID of 0 (root). On a system with DG/UX information
security, appropriate privilege is granted by having one or more
specific capabilities enabled in the effective capability set of the
user. See the cap_defaults(5) man page for more information.
FILES
core.process-id core images
SEE ALSO
dbx(1), mxdb(1), core(4), capdefaults(5), appropriateprivilege(5).
Licensed material--property of copyright holder(s)