Re: Dmesg timestamt format

2010-05-28 Thread Alejandro López
Thanks for all three answers. Now I know how to use that value.

Cláudio Sampaio wrote:
 2010/5/27 Alejandro López listas@googlemail.com
 mailto:listas@googlemail.com
 
 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.
 
 It's printk() times, more info here: http://elinux.org/Printk_Times
 
 Best regards,
 -- 
 Cláudio Patola Sampaio
 IRC: ptl  - Yahoo: patolaaa
 Campinas, SP - Brazil.
___
maemo-users mailing list
maemo-users@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-users


Dmesg timestamt format

2010-05-27 Thread Alejandro López
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.

Thanks.
Alejandro.
___
maemo-users mailing list
maemo-users@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-users


Re: Dmesg timestamt format

2010-05-27 Thread Martin Grimme
Hi,

these are seconds since system start.


Regards,
Martin

2010/5/27, Alejandro López listas@googlemail.com:
 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.

 Thanks.
 Alejandro.
 ___
 maemo-users mailing list
 maemo-users@maemo.org
 https://lists.maemo.org/mailman/listinfo/maemo-users

___
maemo-users mailing list
maemo-users@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-users


Re: Dmesg timestamt format

2010-05-27 Thread Paul Hartman
2010/5/27 Alejandro López listas@googlemail.com:
 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@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-users


Re: Dmesg timestamt format

2010-05-27 Thread Cláudio Sampaio
2010/5/27 Alejandro López listas@googlemail.com

 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.

 It's printk() times, more info here: http://elinux.org/Printk_Times

Best regards,
-- 
Cláudio Patola Sampaio
IRC: ptl  - Yahoo: patolaaa
Campinas, SP - Brazil.
___
maemo-users mailing list
maemo-users@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-users