Ananda Bbau |
04-10-2014 01:57 AM |
where to change in linux code to convert dmesg uptime to UTC format(human readable)
Hi All,
I changed the line CONFIG_PRINTK_TIME=y in kernel-2.6.32-x86_64.config to get dmesg timestamp. I am getting the time stamp in the following:
[ 5.967800] mbr: 0x80 0x00 0x00 0x00 0x01 0x01 0x00 0x83 0x55 0xaa
[ 5.974417] sd 0:2:0:0: [sda] 285155328 512-byte logical blocks: (145 GB/135 GiB)
[ 5.982530] sd 0:2:0:0: [sda] Write Protect is off
I want to convert this uptime demsg to UTC format dmesg (Human readable format). For that where do i need to change in linux code. I dont want any script and all. I need to change in linux code and need to install the image in several servers.
|