Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Is there a way to figure out what triggered a shutdown on OSX if the shutdown has been "blocked" by some application?

I don't know what's causing my new Macbook Pro to random just want to shut off. Fortunately, some program like VLC usually stops it from shutting down, but I'd like to get to the bottom of this problem.

share|improve this question

1 Answer 1

up vote 3 down vote accepted

Usually you can see when the system goes to shutdown opening Console.app, looking for messages from kernel or even shutdown itself.

enter image description here

If you then know the exact time of the shutdown, you can look for messages by other processes sent immediately before that. It however depends on the process sending messages at all, so your mileage may vary.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.