21.10.2009

Error message archaelogy

I learned a funky way to dig up old kernel logs today on #linux. To find out what caused segfaults, type

sudo zcat /var/log/kern.log.*.gz | grep 'seg'

On this box that shows segfaults as far back as last May.

Of course for more recent seg faults one might just say..

dmesg | grep 'seg fault'

Nice. Thanks to Chris V.

More to come later.