<?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: check program time in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/check-program-time/m-p/4901919#M701883</link>
    <description>OK, I checked more. actually the whole command you gave work on HP-UX,&lt;BR /&gt;&lt;BR /&gt;Below part work for Linux&lt;BR /&gt;ps -eo pid,etime,comm | awk -F: '$2 &amp;gt;= 5 &amp;amp;&amp;amp; /bonobo-activati/'&lt;BR /&gt;&lt;BR /&gt;Thank yopu very much</description>
    <pubDate>Fri, 13 May 2005 10:35:04 GMT</pubDate>
    <dc:creator>bin lu_1</dc:creator>
    <dc:date>2005-05-13T10:35:04Z</dc:date>
    <item>
      <title>check program time</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/check-program-time/m-p/4901915#M701879</link>
      <description>We have over average 70+ users login using an application in production hours. &lt;BR /&gt;&lt;BR /&gt;Sometimes, few of their programs "runaway" or were loop inside in Unix. then later those useless processes to the top of other running programs by different users.&lt;BR /&gt;&lt;BR /&gt;Users use top to find out those runaway processes running. But our SA hope know those processes as early as we can. &lt;BR /&gt;&lt;BR /&gt;I tried to time command to find them (runaway processes) in early stage. For example, find  the processes stay alive 5 minutes long.&lt;BR /&gt;&lt;BR /&gt;Does any one know how to get a process 5 minutes long command. I hope that I could put them in script, try to send me a email if a assigned time broken.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;&lt;BR /&gt;Bin &lt;BR /&gt;</description>
      <pubDate>Fri, 13 May 2005 09:11:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/check-program-time/m-p/4901915#M701879</guid>
      <dc:creator>bin lu_1</dc:creator>
      <dc:date>2005-05-13T09:11:27Z</dc:date>
    </item>
    <item>
      <title>Re: check program time</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/check-program-time/m-p/4901916#M701880</link>
      <description>You can check the "elapsed" time for process on your server with something like: &lt;BR /&gt;&lt;BR /&gt;UNIX95= ps -eo pid,etime,comm | grep procname&lt;BR /&gt;&lt;BR /&gt;The format of the etime parameter is:&lt;BR /&gt;&lt;BR /&gt;DAYS-HOURS:MINUTES:SECONDS&lt;BR /&gt;&lt;BR /&gt;You can use this to check for MINUTES &amp;gt; 5</description>
      <pubDate>Fri, 13 May 2005 09:20:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/check-program-time/m-p/4901916#M701880</guid>
      <dc:creator>Simon Hargrave</dc:creator>
      <dc:date>2005-05-13T09:20:48Z</dc:date>
    </item>
    <item>
      <title>Re: check program time</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/check-program-time/m-p/4901917#M701881</link>
      <description>In fact to find all process called "procname" that have been running for 5 minutes or more: -&lt;BR /&gt;&lt;BR /&gt;UNIX95= ps -eo pid,etime,comm | awk -F: '$2 &amp;gt;= 5 &amp;amp;&amp;amp; /procname/'</description>
      <pubDate>Fri, 13 May 2005 09:23:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/check-program-time/m-p/4901917#M701881</guid>
      <dc:creator>Simon Hargrave</dc:creator>
      <dc:date>2005-05-13T09:23:05Z</dc:date>
    </item>
    <item>
      <title>Re: check program time</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/check-program-time/m-p/4901918#M701882</link>
      <description>It works very well in Linux. I am using HP-UX, I was trying to find the same command in HP-UX&lt;BR /&gt;&lt;BR /&gt;`ps -eo pid,etime,comm` does not work in HP-UX, yet.&lt;BR /&gt;&lt;BR /&gt;Thank you&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 13 May 2005 10:10:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/check-program-time/m-p/4901918#M701882</guid>
      <dc:creator>bin lu_1</dc:creator>
      <dc:date>2005-05-13T10:10:17Z</dc:date>
    </item>
    <item>
      <title>Re: check program time</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/check-program-time/m-p/4901919#M701883</link>
      <description>OK, I checked more. actually the whole command you gave work on HP-UX,&lt;BR /&gt;&lt;BR /&gt;Below part work for Linux&lt;BR /&gt;ps -eo pid,etime,comm | awk -F: '$2 &amp;gt;= 5 &amp;amp;&amp;amp; /bonobo-activati/'&lt;BR /&gt;&lt;BR /&gt;Thank yopu very much</description>
      <pubDate>Fri, 13 May 2005 10:35:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/check-program-time/m-p/4901919#M701883</guid>
      <dc:creator>bin lu_1</dc:creator>
      <dc:date>2005-05-13T10:35:04Z</dc:date>
    </item>
    <item>
      <title>Re: check program time</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/check-program-time/m-p/4901920#M701884</link>
      <description>Thank you this forum platform is good</description>
      <pubDate>Fri, 20 May 2005 11:11:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/check-program-time/m-p/4901920#M701884</guid>
      <dc:creator>bin lu_1</dc:creator>
      <dc:date>2005-05-20T11:11:50Z</dc:date>
    </item>
  </channel>
</rss>

