gcore creates a core image of each specified process, suitable for use with adb(1). By default the core image
is written to the file <pid>.core.
The options are:
-c Write the core file to the specified file instead of <pid>.core.
-s Stop the process while creating the core image and resume it when done. This makes sure that the core
dump will be in a consistent state. The process is resumed even if it was already stopped. Of course,
you can obtain the same result by manually stopping the process with kill(1).
The core image name was changed from core.<pid> to <pid>.core to prevent matching names like core.h and core.c
when using programs such as find(1).
<process-id>.core The core image.
If gcore encounters an error while creating the core image and the -s option was used the process will remain
Swapped out processes and system processes (the swapper) may not be gcore'd.
4.2 Berkeley Distribution April 15, 1994 GCORE(1)
All times are GMT -4. The time now is 09:29 AM.
Unix & Linux Forums Content Copyright 1993-2018. All Rights Reserved.