[systemd-devel] how does "journalctl --list-boots" works without RTC

Asfak Rahman asfak.rahman at outlook.com
Mon Sep 17 09:03:08 UTC 2018


Hello,

My embedded board is running systemd v232 and I dont have RTC. So, the logs are completely depends on wallclock.
I see that the journalctl is doing some optimization in the output and not printing all the available boots.


root at ubuntu:~# journalctl --list-boots --no-pager
-1 28e4fbc0495343b3a58226965c447562 Thu 2018-07-05 14:47:02 UTC—Thu 2018-07-05 14:48:26 UTC
0 b2093b1c856e439488a6b65d64ef37d4 Thu 2018-07-05 14:48:27 UTC—Thu 2018-07-05 14:52:58 UTC


Waiting more than 6 min


root at ubuntu:~# journalctl --list-boots --no-pager
0 28e4fbc0495343b3a58226965c447562 Thu 2018-07-05 14:47:02 UTC—Thu 2018-07-05 14:55:31 UTC



Could somebody explain the behaviour?

BR,
Asfak

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/systemd-devel/attachments/20180917/1944f0fd/attachment-0001.html>


More information about the systemd-devel mailing list