1. 개요

gcore 사용법


2. coredump란?

출처 : 위키피디아

core dump, crash dump, memory dump, or system dump[1] consists of the recorded state of the working memory of a computer program at a specific time, generally when the program has crashed or otherwise terminated abnormally.[2] In practice, other key pieces of program state are usually dumped at the same time, including the processor registers, which may include the program counter and stack pointer, memory management information, and other processor and operating system flags and information. A snapshot dump (or snap dump) is a memory dump requested by the computer operator or by the running program, after which the program is able to continue. Core dumps are often used to assist in diagnosing and debugging errors in computer programs.

3. 별도 이름으로 생성

# gcore -o matrix `pgrep matrix`

4. core 이름으로 생성

# gcore `pgrep matrix`