The gcore command creates a
core image of a running process. By default, the name of the core
file for a process-id will be core.process-id. The process
information in the core image can be obtained by using gdb or other debuggers. The usage of gcore is:
gcore [-o prefix] <pid> [pid ....]
When gcore creates a core image
of each specified process, the process is temporarily stopped. When
the creation of the core image is complete, the process continues
to execute.
gcore is shipped with HP-UX
11i v3 (11.31). For an HP-UX 11i v2 (11.23) version, contact HP support
(response center or WTEC).