Results 1 to 4 of 4
  1. #1


    Member Since
    May 13, 2011
    Posts
    1
    uptime / last reboot inconsistency
    So on my Macbook Pro 10.6.6, I see

    $ who -b
    reboot ~ Apr 6 20:43
    -------------
    $ uptime
    7:04 up 36 days, 10:23, 9 users, load averages: 0.37 0.37 0.32
    -------------
    $ last reboot

    wtmp begins Mon Apr 18 09:08
    -------------
    So, 'who -b' and 'uptime' are reporting correct values (i know last reboot was on apr 6), but 'last reboot is wildly off by 12 days --- what gives ??

  2. #2

    baggss's Avatar
    Member Since
    Oct 10, 2004
    Location
    Margaritaville
    Posts
    10,311
    Specs:
    27" 3.4 Ghz i7 iMac-13" C2D Macbook-OSX 10.10.2 -64Gb iPad 2-64 Gb iPhone 6+-ATV 2-14Tb of Storage
    hmmmm..that is odd.....

    Then again, when I run last reboot on mine it says today (13 May) when I know it was actually a few days ago. Not just you.

    EDIT: From This Page...

    Tips & Warnings

    Laptops and computers with "Sleep" and "Hibernation" modes may display inaccurate data if the "Sleep" and "Hibernation" modes are utilized frequently.
    That explains mine....


  3. #3

    bobtomay's Avatar
    Member Since
    Dec 22, 2006
    Location
    Texas, where else?
    Posts
    26,484
    Specs:
    15" MBP '06 2.33 C2D 4GB 10.7; 13" MBA '14 1.8 i7 8GB 10.11; 21" iMac '13 2.9 i5 8GB 10.11; 6S
    I don't know a whole lot about this stuff, but the last reboot command is not showing you any boot at all.

    The wtmp merely shows the time the log started. If there are any reboots in the log, they would appear in a list above that.

    As to why the log gets interrupted or restarts, don't have a clue, but remember reading something about it 3-4 years ago - maybe with 10.5.
    I cannot be held responsible for the things that come out of my mouth.
    In the Windows world, most everything folks don't understand is called a virus.

  4. #4

    baggss's Avatar
    Member Since
    Oct 10, 2004
    Location
    Margaritaville
    Posts
    10,311
    Specs:
    27" 3.4 Ghz i7 iMac-13" C2D Macbook-OSX 10.10.2 -64Gb iPad 2-64 Gb iPhone 6+-ATV 2-14Tb of Storage
    Quote Originally Posted by bobtomay View Post
    I don't know a whole lot about this stuff, but the last reboot command is not showing you any boot at all.

    The wtmp merely shows the time the log started. If there are any reboots in the log, they would appear in a list above that.
    Yep. Mine shows the same thing which is odd. What we should see is This...

    YourMac:~user$ last reboot
    reboot ~ Tue Sep 22 12:52
    reboot ~ Sun Aug 30 23:17
    reboot ~ Sat Aug 29 01:12
    reboot ~ Fri Aug 28 22:07
    ...or something like it....


Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Brightness inconsistency
    By larry17 in forum Apple Desktops
    Replies: 2
    Last Post: 03-19-2010, 05:15 PM
  2. Mac Office 2008 inconsistency
    By qbibo in forum OS X - Apps and Games
    Replies: 3
    Last Post: 10-13-2009, 10:32 PM
  3. Keychain inconsistency problem
    By magtec80 in forum OS X - Operating System
    Replies: 2
    Last Post: 07-07-2008, 02:47 PM
  4. Uptime command
    By johninc in forum OS X - Development and Darwin
    Replies: 6
    Last Post: 12-11-2005, 09:07 PM
  5. Uptime
    By PBG4MAN in forum Apple Notebooks
    Replies: 9
    Last Post: 01-17-2005, 02:11 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •