The core file contains memory values and a stack trace for a running process. Core files are generally usable only on the same machine where the server is running and the core file was generated. The syntax to create a core file is:
gcore [option] process_id
You can use the resulting core image with debugging utilities such as sdb, adb, or dbx—see “UNIX debugging tools”.
You can create core files only on Solaris, HP-UX, and Linux; you cannot on AIX.