<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Log for down time in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/log-for-down-time/m-p/5420915#M53438</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have a DL380G5 server and OS is RHEL5. I have founded that server is down then I started the server again now server is up and running smoothly.&lt;/P&gt;&lt;P&gt;I need to know when the server was down. Which log I have to check for shutdown time.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Alamgir Khan&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sun, 18 Dec 2011 04:50:43 GMT</pubDate>
    <dc:creator>Alamgir</dc:creator>
    <dc:date>2011-12-18T04:50:43Z</dc:date>
    <item>
      <title>Log for down time</title>
      <link>https://community.hpe.com/t5/operating-system-linux/log-for-down-time/m-p/5420915#M53438</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have a DL380G5 server and OS is RHEL5. I have founded that server is down then I started the server again now server is up and running smoothly.&lt;/P&gt;&lt;P&gt;I need to know when the server was down. Which log I have to check for shutdown time.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Alamgir Khan&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 18 Dec 2011 04:50:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/log-for-down-time/m-p/5420915#M53438</guid>
      <dc:creator>Alamgir</dc:creator>
      <dc:date>2011-12-18T04:50:43Z</dc:date>
    </item>
    <item>
      <title>Re: Log for down time</title>
      <link>https://community.hpe.com/t5/operating-system-linux/log-for-down-time/m-p/5421085#M53439</link>
      <description>&lt;P&gt;If the server was down because someone had shut it down using the proper procedure, you would find a message in /var/log messages, like this:&lt;/P&gt;&lt;PRE&gt;[root@rhel57 ~]# grep shutdown /var/log/messages
Oct  8 15:28:24 rhel55 shutdown[11079]: shutting down for system halt
Oct  9 23:09:23 rhel55 shutdown[4446]: shutting down for system halt
Oct  9 23:41:50 rhel55 shutdown[2291]: shutting down for system reboot
Oct  9 23:44:44 rhel57 shutdown[2321]: shutting down for system halt&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;(this is from a RHEL 5.7 Virtual Machine I use for testing various things)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If a day or more has passed after the restart, the /var/log/messages might have already been rotated, so you should also check the older versions of the log, i.e. /var/log/messages.*.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But if the shutdown was caused by the server overheating, or loss of power, or some other hardware failure, you would need the hardware log (IML = Integrated Management Log, if I recall correctly). If you have the hp-health package (part of the PSP = Proliant Support Pack) installed, there are several tools for viewing the hardware log: "hpimlview", "hplog -v" and the "show iml" subcommand of "hpasmcli".&lt;/P&gt;</description>
      <pubDate>Sun, 18 Dec 2011 22:05:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/log-for-down-time/m-p/5421085#M53439</guid>
      <dc:creator>Matti_Kurkela</dc:creator>
      <dc:date>2011-12-18T22:05:44Z</dc:date>
    </item>
  </channel>
</rss>

