[CentOS] finding out the time of the second-to-last reboot

Mon Aug 9 20:10:36 UTC 2010
Keith Roberts <keith at karsites.net>

On Mon, 9 Aug 2010, Boris Epstein wrote:

> To: CentOS mailing list <centos at centos.org>
> From: Boris Epstein <borepstein at gmail.com>
> Subject: [CentOS] finding out the time of the second-to-last reboot
> 
> Hello all,
>
> I've got a CentOS box that became non-responsive today for some obscure
> reason and had to be rebooted. Is there a way to find out when it last had
> to be rebooted before today? uptime gives you no history past the very last
> reboot, so obviously I need to find some other way to get an answer to my
> question.
>
> Thanks for any and all tips.

Try checking some of your log files, like apache, mysql, or 
/var/log/dmesg. That should tell you the last time the 
machine rebooted.

Kind Regards,

Keith Roberts

-----------------------------------------------------------------
Websites:
http://www.php-debuggers.net
http://www.karsites.net
http://www.raised-from-the-dead.org.uk

All email addresses are challenge-response protected with
TMDA [http://tmda.net]
-----------------------------------------------------------------