Linux Centos with dmesg timestamp - Server Fault
serverfault.com › questions › 375273dmesg reads the Kernel log ring buffer. It doesn't do timestamps. What you should do is configure syslog to grab the kernel logs from that buffer and send them to a file (if it isn't already set to do so). Note, default CentOS 5.x syslog config sends kernel logs to /var/log/messages, as I recall. If you'd like to send all kernel (dmesg) logs to ...