The last command outputs the future time for system boot time and a negative number for the elapsed time from the system boot.

Solution Unverified - Updated -

Issue

  • The last command outputs the future time for system boot time as below.
# date
Wed Apr  4 06:59:03 EDT 2018
# last | grep -i reboot
reboot   system boot  3.10.0-693.21.1. Mon Apr 23 07:59 - 07:01 (-19+00:-57)
  • In this example, Apr 23 07:59 was recorded. But, the current date was still Apr 4 06:59:03. Also, the elapsed time was a negative time like -19+00:-57.
  • Why was the future time recorded?

Environment

Red Hat Enterprise Linux 7
ntpd (not chrony) is used for time sync.

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.