BlogBlog ÜbersichtjailscriptportsoptFreeBSDLinksThermoskanneKontakt

crashinfo beim Systemstart automatisch ausführen

Soll nach einem Kernel-Crash automatisch beim Systemstart eine crashinfo-Datei erstellt werden, so kann folgende Zeile in der /etc/rc.conf eingefügt werden:

crashinfo_enable="YES"

Die crashinfo-Datei wird dabei automatisch beim Systemstart in /var/crash erstellt:

[...]
Starting syslogd.
Checking for core dump on /dev/ad4s3b...
savecore: reboot after panic: page fault
May 28 17:33:36 test savecore: reboot after panic: page fault
savecore: writing core to vmcore.7
Writing crash summary to /var/crash/core.txt.7.
Initial i386 initialization:
[...]

Mehr Informationen zu crashinfo findet man in der Manpage crashinfo(8). Ein Beispiel einer crashinfo-Datei findet man hier: core.txt.0

Comments (0)  Permalink

Comments

add a comment

The Trackback URL to this post is:
http://www.chruetertee.ch/blog/plugin=trackback(1415).xml
Trackbacks are moderated.

This blog is gravatar enabled.
Your email adress will never be published.
Comment spam will be deleted!

Name*
E-Mail
For Spammers Only
URL
Comment*
Notify me via E-Mail when new comments are made to this entry
Remember me (needs cookies)