We have a server running RHEL 5.
Sometimes the power cuts and the server is down (the UPS handles only 30 min).
I want to be able to to identify the time of the shutdown, in an other term the last minute where the server was up.
I tried last
command but it only logs shutdown started by a command.
I also checked the /var/log/messages
but I don't see anything useful for my question.