简体   繁体   中英

Linux core dump vs heap dump?

I have this file on Linux box. To me it looks like core dump and different from heap dump. Right?

8dbe79c2f000-8dbe79c34000 r--s 005f8000 fd:01 30800604                 /path../charsets.jar
8dbe79c34000-8dbe79c35000 r--s 00007000 fd:01 30800604                 /path../sunec.jar
8dbe79c35000-8dbe79c3a000 rw-p 00063000 fd:01 30800604                 /path../jsse.jar

...............

If it's core dump what does it represent? I understand 8dbe79c2f000-8dbe79c34000 should be memory space. But what does this info represent?

  1. 30800604
  2. /path../charsets.jar
  3. fd:01

Have you tried file command. More details at man 1 file It shows something like below on system for a core dump

➜  ~  file core.28983
core.28983: ELF 64-bit LSB core file x86-64, version 1 (SYSV), SVR4-style, from './a.out'
➜  ~

whereas jar files are not usually core files, they are java archive. Output of file command on jar looks like following on my system

file /usr/share/texmf/scripts/ppower4/pp4p.jar
/usr/share/texmf/scripts/ppower4/pp4p.jar: Zip archive data, at least v1.0 to extract

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM