• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 523
  • Last Modified:

A Way to see restart history for a machine?

(running 10.4.11 client)
While I know that I can use the BSD command "uptime" to see the *last* time a machine was restarted, I am looking for a way to see a history of the last 5 times the machine was up/down.  Is there a way to do this *using built-in tools* on 10.4.11?  I'm quite desperate to find a solution to this problem as getting this info off a machine of mine is vital.
0
psfollies
Asked:
psfollies
  • 3
  • 2
1 Solution
 
Donald StewartNetwork AdministratorCommented:
0
 
Donald StewartNetwork AdministratorCommented:
0
 
psfolliesAuthor Commented:
... would help if it were a Windows machine :)  This is the OSX section.

I am assuming that 10.4.11 logs on and off times somewhere, I just don't know either where to look or what BSD command may help.
0
Prep for the ITIL® Foundation Certification Exam

December’s Course of the Month is now available! Enroll to learn ITIL® Foundation best practices for delivering IT services effectively and efficiently.

 
Donald StewartNetwork AdministratorCommented:
Sorry, late here
0
 
Eoin OSullivanConsultantCommented:
Sorry, but by default OSX does NOT record specifically the log on - log off times, nor the user who is logging on.

The best thing would be to open the Console Application and you can see all logs recorded by all applications and system components.  By scanning these logs you can work out when the computer was on and off.
http://goliath.ecnext.com/coms2/gi_0199-7300975/Tracking-down-trouble-with-the.html


For future reference you could write a small shell script that writes to a file every time someone logs on and off.
0
 
psfolliesAuthor Commented:
Thanks for the info.  I sure with there was a log in OSX that recorded up and down times and that you could call it via the uptime command (i.e. "uptime -h" for a history).  I was able to decipher it via the system console log - but that was a lot of lines :)
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now