Blue Flower

Um ein lesbares Format des DMSG timestamps zu bekommen, kann man sich folgenden alias anlegen.

alias kmsg='dmesg | perl -ne "BEGIN{\$a= time()- qx!cat /proc/uptime!}; s/\[\s*(\d+)\.\d+\]/localtime(\$1 + \$a)/e; print \$_;"'