How to collect a coredump of a running process without killing the process or without restarting an application?

Solution Verified - Updated -

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 gcore to collect the coredump but buildids and libraries are not available through executing eu-unstrip command

    # 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.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content