<?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 System uptime in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/system-uptime/m-p/2610122#M35895</link>
    <description>Is there a way to view the system uptime in seconds or minutes instead of the default uptime output?</description>
    <pubDate>Thu, 08 Nov 2001 17:43:57 GMT</pubDate>
    <dc:creator>Tim Giltinan</dc:creator>
    <dc:date>2001-11-08T17:43:57Z</dc:date>
    <item>
      <title>System uptime</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/system-uptime/m-p/2610122#M35895</link>
      <description>Is there a way to view the system uptime in seconds or minutes instead of the default uptime output?</description>
      <pubDate>Thu, 08 Nov 2001 17:43:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/system-uptime/m-p/2610122#M35895</guid>
      <dc:creator>Tim Giltinan</dc:creator>
      <dc:date>2001-11-08T17:43:57Z</dc:date>
    </item>
    <item>
      <title>Re: System uptime</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/system-uptime/m-p/2610123#M35896</link>
      <description>hi,&lt;BR /&gt;&lt;BR /&gt; i don't think there is any unix command to do that. It can be done through a script which parses uptime output and does the conversion.&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;-raj</description>
      <pubDate>Thu, 08 Nov 2001 17:55:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/system-uptime/m-p/2610123#M35896</guid>
      <dc:creator>Roger Baptiste</dc:creator>
      <dc:date>2001-11-08T17:55:22Z</dc:date>
    </item>
    <item>
      <title>Re: System uptime</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/system-uptime/m-p/2610124#M35897</link>
      <description>I believe the program nickel has a script function that does it.. (or something to that effect)&lt;BR /&gt;&lt;BR /&gt;See &lt;A href="http://www.grc.hp.com/docs/nickel/" target="_blank"&gt;http://www.grc.hp.com/docs/nickel/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Later,&lt;BR /&gt;Bill</description>
      <pubDate>Thu, 08 Nov 2001 17:58:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/system-uptime/m-p/2610124#M35897</guid>
      <dc:creator>Bill McNAMARA_1</dc:creator>
      <dc:date>2001-11-08T17:58:53Z</dc:date>
    </item>
    <item>
      <title>Re: System uptime</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/system-uptime/m-p/2610125#M35898</link>
      <description>Script expr statements with ifs.&lt;BR /&gt;&lt;BR /&gt;e.g. to get mins&lt;BR /&gt;if [ `uptime | awk '{print $4}'` = "days," ]&lt;BR /&gt;then&lt;BR /&gt; echo `expr `uptime | awk '{print $3}'` \* 1440`&lt;BR /&gt;elsif&lt;BR /&gt; uptime | awk '{print $3}'&lt;BR /&gt;fi&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;James</description>
      <pubDate>Thu, 08 Nov 2001 18:05:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/system-uptime/m-p/2610125#M35898</guid>
      <dc:creator>James Beamish-White</dc:creator>
      <dc:date>2001-11-08T18:05:57Z</dc:date>
    </item>
    <item>
      <title>Re: System uptime</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/system-uptime/m-p/2610126#M35899</link>
      <description>Sorry, that script didn't actually work when I tried it, this one does:&lt;BR /&gt;&lt;BR /&gt;#!/bin/sh&lt;BR /&gt;&lt;BR /&gt;if [ `uptime | awk '{print $4}'` = "days," ] &lt;BR /&gt;then &lt;BR /&gt;expr `uptime | awk '{print $3}'` \* 1440&lt;BR /&gt;else&lt;BR /&gt;uptime | awk '{print $3}' &lt;BR /&gt;fi &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;James</description>
      <pubDate>Thu, 08 Nov 2001 18:09:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/system-uptime/m-p/2610126#M35899</guid>
      <dc:creator>James Beamish-White</dc:creator>
      <dc:date>2001-11-08T18:09:15Z</dc:date>
    </item>
    <item>
      <title>Re: System uptime</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/system-uptime/m-p/2610127#M35900</link>
      <description>Hi James,&lt;BR /&gt;You forgot to add the hours and minutes to your days_converted.to.minutes...&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;All the best&lt;BR /&gt;&lt;BR /&gt;Victor</description>
      <pubDate>Thu, 08 Nov 2001 18:17:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/system-uptime/m-p/2610127#M35900</guid>
      <dc:creator>Victor BERRIDGE</dc:creator>
      <dc:date>2001-11-08T18:17:27Z</dc:date>
    </item>
  </channel>
</rss>

