analyze a core dump of the operating system
crashinfo utility analyzes a core dump saved by
It generates a text file containing the analysis in the same directory as the
core dump. For a given core dump file named vmcore.XX
the generated text file will be named core.txt.XX.
crashinfo analyzes the most
recent core dump in the core dump directory. A specific core dump may be
specified via either the core or
dumpnr arguments. Once
crashinfo has located a core dump, it analyzes the
core dump to determine the exact version of the kernel that generated the
core. It then looks for a matching kernel file under each of the
subdirectories in /boot. The location of the kernel
file can also be explicitly provided via the kernel
crashinfo has located a core dump and
kernel, it uses several utilities to analyze the core including
Note that kgdb must be installed from the devel/gdb port or gdb package.
The options are as follows:
- Run in batch mode. Write most messages to the
core.txt.XX file instead of the terminal. This
flag is used when
crashinfo is run during
- Specify an alternate core dump directory. The default crash dump directory
- Use the core dump saved in
vmcore.dumpnr instead of the
latest core in the core dump directory.
- Specify an explicit kernel file.
crashinfo utility appeared in