<?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: How to detect Process wit high cpu during n seconds in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-detect-process-wit-high-cpu-during-n-seconds/m-p/5145205#M453445</link>
    <description>Hi &lt;BR /&gt;&lt;BR /&gt;My need is to kill one process over  80% if this process take that during n secondes. It's my request and investigation is not here the purpose. &lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Den</description>
    <pubDate>Mon, 08 Dec 2008 15:22:53 GMT</pubDate>
    <dc:creator>Leo The Cat</dc:creator>
    <dc:date>2008-12-08T15:22:53Z</dc:date>
    <item>
      <title>How to detect Process wit high cpu during n seconds</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-detect-process-wit-high-cpu-during-n-seconds/m-p/5145203#M453443</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;I'd like to find and kill systematically all processes with cpu &amp;gt; 80% during 60 seconds. Is it possible ?&lt;BR /&gt;&lt;BR /&gt;Bests Regards&lt;BR /&gt;Den</description>
      <pubDate>Mon, 08 Dec 2008 13:46:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-detect-process-wit-high-cpu-during-n-seconds/m-p/5145203#M453443</guid>
      <dc:creator>Leo The Cat</dc:creator>
      <dc:date>2008-12-08T13:46:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to detect Process wit high cpu during n seconds</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-detect-process-wit-high-cpu-during-n-seconds/m-p/5145204#M453444</link>
      <description>&amp;gt;&amp;gt;&amp;gt;I'd like to find and kill systematically all processes with cpu &amp;gt; 80% during 60 seconds. Is it possible ?&amp;lt;&amp;lt;&amp;lt;&lt;BR /&gt;&lt;BR /&gt;Yes, its possible, &lt;BR /&gt;&lt;BR /&gt;But.... later you may end-up in killing the system important processes with cpu &amp;gt; 80%&lt;BR /&gt;&lt;BR /&gt;well , your goal should find out which process uses more cpu usage, than dig in to the issue , deeper&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Johnson&lt;BR /&gt;</description>
      <pubDate>Mon, 08 Dec 2008 14:47:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-detect-process-wit-high-cpu-during-n-seconds/m-p/5145204#M453444</guid>
      <dc:creator>Johnson Punniyalingam</dc:creator>
      <dc:date>2008-12-08T14:47:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to detect Process wit high cpu during n seconds</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-detect-process-wit-high-cpu-during-n-seconds/m-p/5145205#M453445</link>
      <description>Hi &lt;BR /&gt;&lt;BR /&gt;My need is to kill one process over  80% if this process take that during n secondes. It's my request and investigation is not here the purpose. &lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Den</description>
      <pubDate>Mon, 08 Dec 2008 15:22:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-detect-process-wit-high-cpu-during-n-seconds/m-p/5145205#M453445</guid>
      <dc:creator>Leo The Cat</dc:creator>
      <dc:date>2008-12-08T15:22:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to detect Process wit high cpu during n seconds</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-detect-process-wit-high-cpu-during-n-seconds/m-p/5145206#M453446</link>
      <description>"....later you may end-up in killing the system important processes with cpu &amp;gt; 80%"&lt;BR /&gt;&lt;BR /&gt;are you looking to kill processes which have been &amp;gt; 80% for more than 60 seconds, or processes &amp;gt; 80% within a 60 second period?&lt;BR /&gt;&lt;BR /&gt;in either case, unintended results are likely, which could render the system unusable without a reboot. &lt;BR /&gt;&lt;BR /&gt;this is a *very* *bad* idea</description>
      <pubDate>Mon, 08 Dec 2008 15:33:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-detect-process-wit-high-cpu-during-n-seconds/m-p/5145206#M453446</guid>
      <dc:creator>OldSchool</dc:creator>
      <dc:date>2008-12-08T15:33:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to detect Process wit high cpu during n seconds</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-detect-process-wit-high-cpu-during-n-seconds/m-p/5145207#M453447</link>
      <description>Hi OldSchool !&lt;BR /&gt;&lt;BR /&gt;"....&lt;BR /&gt;are you looking to kill processes which have been &amp;gt; 80% for more than 60 seconds, or processes &amp;gt; 80% within a 60 second period?&lt;BR /&gt;..."&lt;BR /&gt;&lt;BR /&gt;To be exact, 80% cpu usage more than 60 seconds. &lt;BR /&gt;&lt;BR /&gt;But I could do script and crontab (every 5 minutes) doing this: &lt;BR /&gt;Find a process over 80%&lt;BR /&gt; if no =&amp;gt; END.&lt;BR /&gt; if yes=&amp;gt; start a 60 seconds loop with a check at every 5 seconds. if all checks within this loop are positives (The same process always over 80%)I could kill it. &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Bests regards&lt;BR /&gt;Den</description>
      <pubDate>Mon, 08 Dec 2008 15:50:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-detect-process-wit-high-cpu-during-n-seconds/m-p/5145207#M453447</guid>
      <dc:creator>Leo The Cat</dc:creator>
      <dc:date>2008-12-08T15:50:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to detect Process wit high cpu during n seconds</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-detect-process-wit-high-cpu-during-n-seconds/m-p/5145208#M453448</link>
      <description>Small precision. The owner of this process is not unknow ... ! So my target is an applicative process and not a system process ! ;-)of course !&lt;BR /&gt;&lt;BR /&gt;Den.</description>
      <pubDate>Mon, 08 Dec 2008 15:52:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-detect-process-wit-high-cpu-during-n-seconds/m-p/5145208#M453448</guid>
      <dc:creator>Leo The Cat</dc:creator>
      <dc:date>2008-12-08T15:52:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to detect Process wit high cpu during n seconds</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-detect-process-wit-high-cpu-during-n-seconds/m-p/5145209#M453449</link>
      <description>You can run the top command for a few seconds and examine its output. As in "top -s XX -d 2". You can check the output of the top command with a script and look at the %CPU columns and extract the PID etc.&lt;BR /&gt;I guess you are aware to be selective about which process to kill based on user owner etc.</description>
      <pubDate>Mon, 08 Dec 2008 15:57:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-detect-process-wit-high-cpu-during-n-seconds/m-p/5145209#M453449</guid>
      <dc:creator>TTr</dc:creator>
      <dc:date>2008-12-08T15:57:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to detect Process wit high cpu during n seconds</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-detect-process-wit-high-cpu-during-n-seconds/m-p/5145210#M453450</link>
      <description>The TTr's post give us a good clue. &lt;BR /&gt;&lt;BR /&gt;Bests Regards&lt;BR /&gt;Den.</description>
      <pubDate>Mon, 08 Dec 2008 18:49:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-detect-process-wit-high-cpu-during-n-seconds/m-p/5145210#M453450</guid>
      <dc:creator>Leo The Cat</dc:creator>
      <dc:date>2008-12-08T18:49:06Z</dc:date>
    </item>
  </channel>
</rss>

