[CentOS] Checking last shutdown state

Thu Aug 14 20:29:29 UTC 2008
nate <centos at linuxpowered.net>

Joseph L. Casale wrote:
> How do I check the last shutdown, or any if possible for
> the status related to whether or not it was clean? I need
> to know if a UPS had successfully shut a few boxes down.

You should be able to check the boot logs to see if the
file systems were mounted cleanly or if they had to have
their journals checked.

nate