303402 |
27-Jul-2016 |
jhb |
MFC 303109: Update crashinfo to work with newer gdb from ports.
If gdb from ports is installed, use it instead of the base system gdb to extract variables from a kernel. Note that base gdb and ports gdb do not support the same options for invoking a single command in batch mode, so a wrapper shell function is used. In addition, prefer kgdb from ports when generating a backtrace if present.
PR: 193335 Approved by: re (gjb) |
216077 |
30-Nov-2010 |
cperciva |
Teach crashinfo(8) to look at the currently running kernel (based on the kern.bootfile sysctl). Prior to this commit, crashinfo(8) only looks at /boot/*/kernel; this includes the usual places where kernels reside, so for most systems this will have no effect.
Approved by: jhb MFC after: 3 days
|
181335 |
05-Aug-2008 |
jhb |
Add a script to perform simple analysis of a crash dump (either a full dump or minidump). When the script is run, it generates a text file containing the output of several commands run againt the core dump such as kgdb (stack trace), ps, netstat, vmstat, iostat, dmesg, and fstat.
Obtained from: Yahoo! MFC after: 2 weeks
|