[PLUG] Can't understand dmesg

Anthony Jeffries ajeffri at angrywithunicorns.org
Wed Feb 3 02:59:42 UTC 2016


There is an option to dmesg that converts the time stamp to a human readable format. 'man dmesg' should tell you what it is. I don't remember it offhand.

Sent from my iPhone

> On Feb 2, 2016, at 6:47 PM, John Jason Jordan <johnxj at comcast.net> wrote:
> 
> I have continuing problems with the optical drive in my laptop, which
> is /dev/sr0. Just now I tried to see what dmesg said about it, but I
> can't understand the numbers in front of the output. For example, for
> 'dmesg |grep sr0' I get hundreds of lines like:
> 
> [1384105.947297] sr 2:0:0:0: [sr0]  
> 
> I would like to know the time when this took place. It seems that the
> first numbers ought to be a time stamp of some sort, but I need a
> translation into human time. For that matter, it might be nice to know
> what the rest of the line means as well. The only part that I
> understand is [sr0]. The man page tells me options for the dmesg
> command, but no information about understanding the output.
> 
> Anyone?
> _______________________________________________
> PLUG mailing list
> PLUG at lists.pdxlinux.org
> http://lists.pdxlinux.org/mailman/listinfo/plug



More information about the PLUG mailing list