Can I find out when an unattended system went down ? I suspect its power was cut.
Context:
I realised I had a few minutes left to catch the train, so I disconnected the mouse, keyboard and monitor from my laptop, shove it in the bag and ran. The next morning I found the laptop dead, while I was expecting it to be in sleep. However, battery was full.
I suspect that I closed the lid before pulling out the monitor cable, so it didn't go to sleep, but kept running. Then it probably overheated in the bag and BIOS cut the power.
I'd be curious to see when it actually went down. I checked the syslog
and the last events are the mouse / keyboard disconnection.
I also checked the output of last
with various parameters, to no avail, because it wasn't a 'planned' shutdown.
I guess my best bet would be to find a program that normally writes or logs often. Firefox used to be one, until I changed it. And I've used Firefox since then anyway, so it would be overwritten.
I'm using Linux Mint 17.2 (Ubuntu 14.04 derivative)
[I realise this question can also be on ServerFault]