You are not logged in.
Pages: 1
[Sun Jul 23 15:06:49 2017] input: Logitech Anywhere MX as /devices/pci0000:00/0000:00:14.0/usb3/3-2/3-2:1.2/0003:046D:C52B.002F/0003:046D:1017.0030/input/input31
[Sun Jul 23 15:06:49 2017] logitech-hidpp-device 0003:046D:1017.0030: input,hidraw1: USB HID v1.11 Mouse [Logitech Anywhere MX] on usb-0000:00:14.0-2:1
^C
[j@hyperion ~]$ date
Mon Jul 24 08:23:58 CEST 2017The commands dmesg -Tw and date where executed directly consequetive. date shows the correct day. Is there a reason why the time in the dmesg is off by about 17 hours?
Last edited by theking2 (2017-07-24 08:55:29)
archlinux on a Gigabyte C1037UN-EU, 16GiB
a Promise PDC40718 based ZFS set
root on a Samsung SSD PB22-J
running LogitechMediaServer(-git), Samba, MiniDLNA, TOR
Offline
Maybe the last message in dmesg was just 17 hours ago?
Offline
Just running here, attached a usb key - dmesg time is off by 69 hours.
The reason is that there's no gap between sleep and wakeup (though I know it was several hours in S3), so I guess this just adds runtime to the initial date.
Offline
To extend seth's answer:
-T, --ctime Print human-readable timestamps. Be aware that the timestamp could be inaccurate! The time source used for the logs is not updated after system SUSPEND/RESUME.
If you want kernel messages with accurate timestamps, it's probably recommended to use:
journalctl -kOffline
Thanks ayekat
archlinux on a Gigabyte C1037UN-EU, 16GiB
a Promise PDC40718 based ZFS set
root on a Samsung SSD PB22-J
running LogitechMediaServer(-git), Samba, MiniDLNA, TOR
Offline
Pages: 1