How to collect a coredump of a running process without killing the process or without restarting an application?
Issue
- How to obtain a core file without restarting an application?
- How an application core can be generated when a process is not crashing?
- I want to collect a coredump of a running process without killing the process
-
I use
gcoreto collect the coredump but buildids and libraries are not available through executingeu-unstripcommand# gcore <pid> [...] Saved corefile core.<pid> # eu-unstrip -n --core=core.<pid> | grep -c "/lib64/" 0
Environment
- Red Hat Enterprise Linux
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.