Re: Dmesg timestamt format

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



2010/5/27 Alejandro López <listas.apl@xxxxxxxxxxxxxx>:
> Hi,
>
> Which format is dmesg's timestamp printed in? I currently have values like 68993.598785 and I can't really figure out how to
> transform it into a date/time.

In Linux systems in general, it is typically the number of seconds
since the device was powered on. It is really not useful for finding
out when something happened; it's basically there to find out how much
time passed between messages. If you want real timestamps, install
syslog.

You may be able to look at /proc/uptime, subtract that many seconds
from current time and approximate the dmesg times based on that.

That is, of course, assuming it started at 0. In the case of N900 I
don't think it necessarily always does. Maybe it depends on the
presence of a charging cable, etc.
_______________________________________________
maemo-users mailing list
maemo-users@xxxxxxxxx
https://lists.maemo.org/mailman/listinfo/maemo-users



[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Big List of Linux Books]    

  Powered by Linux