I am trying to understand the dmesg timestamp and find it hard to convert that to change it to java date/custom date format.
dmesg
Sample dmesg log:
<
With older Linux distros yet another option is to use wrapping script, e.g. in Perl or Python.
See solutions here:
http://linuxaria.com/article/how-to-make-dmesg-timestamp-human-readable?lang=en http://jmorano.moretrix.com/2012/03/dmesg-human-readable-timestamps/