New To Mac-Forums?

Welcome to our community! Join the discussion today by registering your FREE account. If you have any problems with the registration process, please contact us!

Get your questions answered by community gurus Advice and insight from world-class Apple enthusiasts Exclusive access to members-only contests, giveaways and deals

Join today!

 
Start a Discussion
 

Mac-Forums Brief

Subscribe to Mac-Forums Brief to receive special offers from Mac-Forums partners and sponsors

Join the conversation RSS
OS X - Operating System General OS operation information and support

uptime / last reboot inconsistency


Post Reply New Thread Subscribe

 
Thread Tools
craigslist

 
Member Since: May 13, 2011
Posts: 1
craigslist is on a distinguished road

craigslist is offline
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 ??
QUOTE Thanks
baggss

 
baggss's Avatar
 
Member Since: Oct 10, 2004
Location: Margaritaville
Posts: 10,309
baggss has a reputation beyond reputebaggss has a reputation beyond reputebaggss has a reputation beyond reputebaggss has a reputation beyond reputebaggss has a reputation beyond reputebaggss has a reputation beyond reputebaggss has a reputation beyond reputebaggss has a reputation beyond reputebaggss has a reputation beyond reputebaggss has a reputation beyond reputebaggss has a reputation beyond repute
Mac Specs: 27" 3.4 Ghz i7 iMac-13" C2D Macbook-OSX 18.8.2-64Gb iPad 2-32 Gb iPhone 5-ATV 2-14Tb of Storage

baggss is offline
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...

Quote:
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....


QUOTE Thanks
bobtomay

 
bobtomay's Avatar
 
Member Since: Dec 22, 2006
Location: Texas, where else?
Posts: 25,043
bobtomay has a reputation beyond reputebobtomay has a reputation beyond reputebobtomay has a reputation beyond reputebobtomay has a reputation beyond reputebobtomay has a reputation beyond reputebobtomay has a reputation beyond reputebobtomay has a reputation beyond reputebobtomay has a reputation beyond reputebobtomay has a reputation beyond reputebobtomay has a reputation beyond reputebobtomay has a reputation beyond repute
Mac Specs: 15" MBP 2.33 C2D 256 4GB, MBA 13" i7 1.8, MB 2.0 2GB, Nano 4th, 3GS, iPad 1

bobtomay is offline
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.
QUOTE Thanks
baggss

 
baggss's Avatar
 
Member Since: Oct 10, 2004
Location: Margaritaville
Posts: 10,309
baggss has a reputation beyond reputebaggss has a reputation beyond reputebaggss has a reputation beyond reputebaggss has a reputation beyond reputebaggss has a reputation beyond reputebaggss has a reputation beyond reputebaggss has a reputation beyond reputebaggss has a reputation beyond reputebaggss has a reputation beyond reputebaggss has a reputation beyond reputebaggss has a reputation beyond repute
Mac Specs: 27" 3.4 Ghz i7 iMac-13" C2D Macbook-OSX 18.8.2-64Gb iPad 2-32 Gb iPhone 5-ATV 2-14Tb of Storage

baggss is offline
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...

Quote:
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....


QUOTE Thanks

Post Reply New Thread Subscribe


« How to change keyboard shortcut for opening apple menu | Any Difference between Volume and HDD Disk Image? »
Thread Tools

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread
Thread Starter
Forum
Replies
Last Post
Macbook crashed, wouldn't reboot at first, now the dock freezes. dak125 OS X - Operating System 1 11-18-2009 01:36 PM
MacBook Pro won't reboot. Japultra OS X - Operating System 3 06-11-2008 03:47 PM
Screenlock stops working after reboot. Help! hotmonkeyac OS X - Operating System 1 12-12-2007 07:22 PM
MacBook Pro Airport doesn't reconnect after reboot. edokid Apple Notebooks 0 04-24-2006 07:38 PM
AirPort doesn't reconnect to network after reboot. edokid Internet, Networking, and Wireless 0 04-23-2006 11:12 PM

All times are GMT -4. The time now is 04:40 AM.

Powered by vBulletin
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
X

Welcome to Mac-Forums.com

Create your username to jump into the discussion!

New members like you have made this community the ultimate source for your Mac since 2003!


(4 digit year)

Already a member?