<?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 Re: Power failures - determining server shutdown time in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/power-failures-determining-server-shutdown-time/m-p/2597811#M33629</link>
    <description>Without a UPS, you are placing your server(s) at risk of serious failure. The cost alone to perform repairs and to get the server(s) back into a state of reliability far out weighs the cost of a UPS. HP, can cancel or raise the price of their service contract (if you have a service contract).</description>
    <pubDate>Fri, 19 Oct 2001 13:16:56 GMT</pubDate>
    <dc:creator>harry d brown jr</dc:creator>
    <dc:date>2001-10-19T13:16:56Z</dc:date>
    <item>
      <title>Power failures - determining server shutdown time</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/power-failures-determining-server-shutdown-time/m-p/2597805#M33623</link>
      <description>Greetings&lt;BR /&gt;&lt;BR /&gt;I need to know,when there is a power failure and no UPS is connected to the server,  how to determine the time that the server went down / the failure occurred.&lt;BR /&gt;&lt;BR /&gt;Many thanks in advance&lt;BR /&gt;Manoj</description>
      <pubDate>Fri, 19 Oct 2001 07:15:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/power-failures-determining-server-shutdown-time/m-p/2597805#M33623</guid>
      <dc:creator>Manoj Sooka</dc:creator>
      <dc:date>2001-10-19T07:15:53Z</dc:date>
    </item>
    <item>
      <title>Re: Power failures - determining server shutdown time</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/power-failures-determining-server-shutdown-time/m-p/2597806#M33624</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;with the command&lt;BR /&gt;&lt;BR /&gt;who -r&lt;BR /&gt;&lt;BR /&gt;you could look when the server has been started.&lt;BR /&gt;&lt;BR /&gt;Also look into /etc/shutdownlog when the system was going down.&lt;BR /&gt;In the file /var/adm/syslog/OLDsyslog.log you can see what had happened before the last reboot.&lt;BR /&gt;&lt;BR /&gt;Regards</description>
      <pubDate>Fri, 19 Oct 2001 07:26:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/power-failures-determining-server-shutdown-time/m-p/2597806#M33624</guid>
      <dc:creator>Andreas Voss</dc:creator>
      <dc:date>2001-10-19T07:26:37Z</dc:date>
    </item>
    <item>
      <title>Re: Power failures - determining server shutdown time</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/power-failures-determining-server-shutdown-time/m-p/2597807#M33625</link>
      <description>I don't think you can. Since the server is going down immediately on a power failure, he has no way of logging a shutdown in any file.&lt;BR /&gt;&lt;BR /&gt;/etc/shutdownlog only registers normal restarts or system panics, but in this situations the system shuts itself down.&lt;BR /&gt;Things like "who -r" or the startdate of your syslog.log file only show the time of the end of the power failure, when the system restarts, not the beginning of the power failure.&lt;BR /&gt;&lt;BR /&gt;Maybe there are other logfiles on your system that are regularly changed (every minute, every few minutes ?). If they have a timestamp for every line in that logfile, you can detect a gap in the timestamps. This kind of logging is the only way of finding the start a a shutdown. maybe, if you have regular entries in syslog.log, you could check the last entry in this file to determine the shutdown time.</description>
      <pubDate>Fri, 19 Oct 2001 07:39:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/power-failures-determining-server-shutdown-time/m-p/2597807#M33625</guid>
      <dc:creator>Wim Rombauts</dc:creator>
      <dc:date>2001-10-19T07:39:42Z</dc:date>
    </item>
    <item>
      <title>Re: Power failures - determining server shutdown time</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/power-failures-determining-server-shutdown-time/m-p/2597808#M33626</link>
      <description>Hi, Manoj&lt;BR /&gt;&lt;BR /&gt;/var/adm/syslog/OLDsyslog.log and /etc/shutdownlog files will gives you the information .</description>
      <pubDate>Fri, 19 Oct 2001 07:40:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/power-failures-determining-server-shutdown-time/m-p/2597808#M33626</guid>
      <dc:creator>Ravi_8</dc:creator>
      <dc:date>2001-10-19T07:40:42Z</dc:date>
    </item>
    <item>
      <title>Re: Power failures - determining server shutdown time</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/power-failures-determining-server-shutdown-time/m-p/2597809#M33627</link>
      <description>If you have set up dmesg(1M) as per its manual page, then /var/adm/cron/OLDlog will have the time within 10 minutes accuracy.</description>
      <pubDate>Fri, 19 Oct 2001 11:52:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/power-failures-determining-server-shutdown-time/m-p/2597809#M33627</guid>
      <dc:creator>Frank Slootweg</dc:creator>
      <dc:date>2001-10-19T11:52:36Z</dc:date>
    </item>
    <item>
      <title>Re: Power failures - determining server shutdown time</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/power-failures-determining-server-shutdown-time/m-p/2597810#M33628</link>
      <description>I agree with Wim.&lt;BR /&gt;If its a power outage, then things like the shutdown log will not contain anything, unless the system had a bit of time to log before it went down.&lt;BR /&gt;Otherwise, perhaps you have cron jobs that run alot, in that case the cron log may be helpful as to when the system went down. /var/adm/cron/log   or perhaps other logs that get written to frequently would help give you a good idea anyway.</description>
      <pubDate>Fri, 19 Oct 2001 13:09:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/power-failures-determining-server-shutdown-time/m-p/2597810#M33628</guid>
      <dc:creator>Bernie Vande Griend</dc:creator>
      <dc:date>2001-10-19T13:09:47Z</dc:date>
    </item>
    <item>
      <title>Re: Power failures - determining server shutdown time</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/power-failures-determining-server-shutdown-time/m-p/2597811#M33629</link>
      <description>Without a UPS, you are placing your server(s) at risk of serious failure. The cost alone to perform repairs and to get the server(s) back into a state of reliability far out weighs the cost of a UPS. HP, can cancel or raise the price of their service contract (if you have a service contract).</description>
      <pubDate>Fri, 19 Oct 2001 13:16:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/power-failures-determining-server-shutdown-time/m-p/2597811#M33629</guid>
      <dc:creator>harry d brown jr</dc:creator>
      <dc:date>2001-10-19T13:16:56Z</dc:date>
    </item>
    <item>
      <title>Re: Power failures - determining server shutdown time</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/power-failures-determining-server-shutdown-time/m-p/2597812#M33630</link>
      <description>Some of many different ways - &lt;BR /&gt;&lt;BR /&gt;1) Check uptime to find since when the system has been up and running.&lt;BR /&gt;2) who -r gives you the date and time when the system was last booted.&lt;BR /&gt;3) ll /etc/rc.log (check the time stamp)&lt;BR /&gt;4) head /var/adm/syslog/syslog.log - Time stamp the first entry - not 100% as syslog can be restarted anytime.&lt;BR /&gt;5) /etc/shutdownlog - may not give if the system was just powered off&lt;BR /&gt;6) ll /var/tombstones/ts99&lt;BR /&gt;&lt;BR /&gt;-Sri</description>
      <pubDate>Fri, 19 Oct 2001 13:44:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/power-failures-determining-server-shutdown-time/m-p/2597812#M33630</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2001-10-19T13:44:08Z</dc:date>
    </item>
  </channel>
</rss>

