gcore
[
option]
process_idsCreate ("get") a core image of each running process specified. The core image can be used with a debugger. You must own the running process or be a privileged user to use this command.
-o
fileCreate core file named file.
process_id (default is core.
process_id).