CRASHINFO(8)
π CRASHINFO(8) β the system manager's manual, but make it cute
okay so bestie, you found yourself a crashinfo page from the System Manager's Manual section 8, and honestly? it's giving "your kernel fell over and we're gonna do forensics about it." let's get into it π«Ά
β¨ NAME β¨
crashinfo β analyze a core dump of the operating system π
like, the OS crashed, it left a little diary entry, and this is the tool that reads it.
π SYNOPSIS π
crashinfo [-d crashdir] [-n dumpnr] [-k kernel] [core]
that's it. that's the whole vibe check. four little things you can pass it and one optional positional. slay. β¨
π¦ DESCRIPTION π¦
so the crashinfo utility analyzes a core dump saved by savecore(8). it generates a text file containing the analysis, and it drops that text file 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. iconic naming convention, no notes. π
by default, crashinfo analyzes the most recent core dump in the core dump directory. but if you want a specific one, you can point at it with either the core or dumpnr arguments β your choice, main character energy either way. π
once crashinfo has located a core dump, it analyzes the core dump to determine the exact version of the kernel that generated the core. then it looks for a matching kernel file under each of the subdirectories in /boot. you can also just hand it the kernel yourself, explicitly, via the kernel argument. convenient!! π
once crashinfo has located a core dump and kernel, it uses several utilities to analyze the core, including:
dmesg(8)fstat(1)iostat(8)ipcs(1)kgdb(1)(ports/devel/gdb)netstat(1)nfsstat(1)ps(1)pstat(8)vmstat(8)
a whole ensemble cast, honestly. an avengers situation. π¦ΈββοΈ
β οΈ note thatkgdbmust be installed from thedevel/gdbport or thegdbpackage. like, it's not optional, bestie. if it's not there, that part of the analysis is not happening. π
the options are as follows:
πΈ OPTIONS πΈ
-bβ run in batch mode. write most messages to thecore.txt.XXfile instead of the terminal. this flag is used whencrashinfois run during boot. iykyk, boot-time doesn't have a human watching the screen. π€-dcrashdir β specify an alternate core dump directory. the default crash dump directory is/var/crash. β¨-ndumpnr β use the core dump saved invmcore.dumpnrinstead of the latest core in the core dump directory. so like, if you know exactly which dump you want, this is your girl. π―-kkernel β specify an explicit kernel file. π§
π SEE ALSO π
go read those too, bestie, they're part of the lore. π
π°οΈ HISTORY π°οΈ
the crashinfo utility appeared in FreeBSD 6.4. vintage. retro. a classic. π
okay that's the whole page!! and for the cute sign-off: this one's tagged as Debian, dated December 2, 2020 β so yeah, that's the source and the date, mwah π go analyze some cores, you got this π«Άπβ¨
π¦ where this page comes from
- freebsd 14.5: base 14.5
- freebsd 15.1: base 15.1
- Copyright (c) 2008 Yahoo!, Inc
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms