Discussions
Categories
- 17.9K All Categories
- 3.4K Industry Applications
- 3.3K Intelligent Advisor
- 62 Insurance
- 536K On-Premises Infrastructure
- 138.2K Analytics Software
- 38.6K Application Development Software
- 5.7K Cloud Platform
- 109.4K Database Software
- 17.5K Enterprise Manager
- 8.8K Hardware
- 71.1K Infrastructure Software
- 105.2K Integration
- 41.6K Security Software
How to read a core file?

A core has been generated. I know this file contains details of some crash or error occurred into the JVM. However, what tool are you used to load this core file?
core.4849890.06045307
Answers
-
Use jmap to convert the core file into a hprof file and then you can use any java profiling tool like for example VisualVM to analyse it.
-
Hi handat, thank you for letting me know about jmap.
However, the system is AIX and I couldn't find jmap out there. On other hands, there's dbx command, which loads well that core file.
I am not sure how far can I go with dbx, what can be read? please help
$ ls core*
core.11599898.04034722
$ dbx
Type 'help' for help.
enter object file name (default is `a.out', ^D to exit): core.11599898.04034722
Core file "core.11599898.04034722" program "webservd" does not match current program (ignored)
warning: cannot execute core.11599898.04034722
reading symbolic information ...
(dbx)