/gcore

Amit Singh's core dump utility for OS X

Primary LanguageCOtherNOASSERTION

gcore – A core dump utility for OS X

gcore is a core dump utility for OS X (named after similar tools) and was created by Amit Singh and published along with his book “Mac OS X Internals” in the online bonus chapter.

Usage

gcore [-c corefile] [-s] <pid>

Options

-c
Specify the file where to store the dump
Default: core.PID
-s
Suspend the process while dumping it's memory.
Note: If the process was already suspended, it will be resumed nevertheless.