Core Dump and Stack Tace on Linux of a Java process
Steps for taking the Core Dump
Run the command# ps -ef | grep java
get the process id of the java process you want to get the core dump.
Next run the command
# gdb --pid=
Next
gdb>gcore
This should create a file core.
Remember its a binary file.
If I find some other better way to take the dump, I would update.
If you know other ways please let me know.
Comments
Post a Comment