this post was submitted on 29 Aug 2023
13 points (100.0% liked)
Linux
1822 readers
1 users here now
Everything about Linux
RULES
-
Be nice to each other.
-
No memes or pictures of Linux in the wild.
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
I can hear the conspiracy theories already.
For anyone wondering, the systemd option exists because the
utmp
file format uses 32-bit time stamps on 32-bit machines, so commands likewho
will report incorrect times on such machines. If systemd is available, then it will just ask systemd for a list of active user sessions and when they started, since systemd already tracks that information as part of its process-supervision duties. No need to look at potentially-incorrectutmp
files then.