"uptime -s" and "who -b" report a different date for time of the boot
Issue
-
uptime -sandwho -breport a different date# uptime -s 2023-07-05 16:41:39 # who -b system boot 2023-07-05 18:41Here above we see a 2 hours difference.
Environment
- Red Hat Enterprise Linux 7 and later
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.