LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Weird last logs (https://www.linuxquestions.org/questions/linux-newbie-8/weird-last-logs-4175593332/)

packets 11-11-2016 09:34 AM

Weird last logs
 
I have scheduled reboot every 4:30 AM but when you checked it from last, the info was not accurate. The info was kinda reverse time. Why is it 4:34-4:30?

Code:

reboot  system boot  2.6.32-504.16.2. Mon Oct 31 04:34 - 04:30 (6+23:55) 
reboot  system boot  2.6.32-504.16.2. Mon Oct 24 04:34 - 04:30 (7+00:55)


AlucardZero 11-11-2016 03:10 PM

That's last boot time to shutdown time. Your system takes approximately 4 minutes to reboot.

packets 11-13-2016 06:10 AM

Yes but should it be 4:30-4:34? Why it got reverse?

AlucardZero 11-13-2016 09:47 AM

It's not reversed. You're skipping reading the date, apparently. Read it as
"Mon Oct 31 04:34" (last boot time)
to
"04:30" (shutdown time)
which was
"(6+23:55)"
6 days, 23 hours, 55 minutes afterwards.


All times are GMT -5. The time now is 10:56 AM.