jim-minter / gcore

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

gcore

Generates a core file from a running process without terminating it. The process will be paused while the core file is being written, however. The core file is written to stdout. Equivalent to gdb-based gcore, but is statically linked, doesn't require gdb or its dependencies, and is container-aware (i.e. you can harvest the core from a process running inside a container from outside the container).

Currently only runs against 64-bit target processes on Linux/x86_64.

Usage: gcore pid | gzip >core.gz.

About

License:Apache License 2.0


Languages

Language:Go 95.2%Language:C 4.7%Language:Makefile 0.1%