Sample Header Ad - 728x90

last reboot and who -b shows different results?

3 votes
1 answer
3727 views
I am using the following 3 commands to check the latest time point when my computer is rebooted:
last reboot
who -b
uptime
The result for last reboot is:
wtmp begins Sat Oct  9 04:49:27 2021
The result for who -b is:
system boot  2018-01-11 20:52
The result for uptime is:
22:49:01 up 1372 days, ...
It seems that the result of uptime and who -b is consistent with each other, but inconsistent with that of last reboot. I find this post https://unix.stackexchange.com/questions/18413/uptime-and-who-b-are-showing-different-times-when-the-system-was-last-booted-on , but it said his uptime and who -b is inconsistent with each other, different from my case.
Asked by alancc (213 rep)
Oct 15, 2021, 05:58 AM
Last activity: Oct 15, 2021, 08:57 PM