[maemo-users] Dmesg timestamt format
From: Paul Hartman paul.hartman+maemo at gmail.comDate: Thu May 27 22:57:16 EEST 2010
- Previous message: Dmesg timestamt format
- Next message: Dmesg timestamt format
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
2010/5/27 Alejandro López <listas.apl at 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.
- Previous message: Dmesg timestamt format
- Next message: Dmesg timestamt format
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]