Hacker News new | ask | show | jobs
by CTrox 3854 days ago
I can recommend atop[1] for that. It runs every ten minutes by default and writes lots of information to /var/log/atop/atop_YYYYMMDD. With that you can examine what happend before the crash, just open a file with atop -r /var/log/atop/atop_YYYYMMDD.

[1] http://linux.die.net/man/1/atop

1 comments

A nice atop tutorial: https://lwn.net/Articles/387202/