<?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 process in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/check-process/m-p/5370625#M476372</link>
    <description>&lt;P&gt;A similar recent topic:&lt;/P&gt;&lt;P&gt;&lt;A target="_blank" href="http://h30499.www3.hp.com/t5/Languages-and-Scripting/system-script/m-p/5355375/"&gt;http://h30499.www3.hp.com/t5/Languages-and-Scripting/system-script/m-p/5355375/&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 24 Oct 2011 18:29:22 GMT</pubDate>
    <dc:creator>Dennis Handly</dc:creator>
    <dc:date>2011-10-24T18:29:22Z</dc:date>
    <item>
      <title>Check process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/check-process/m-p/5370089#M476366</link>
      <description>&lt;P&gt;&lt;BR /&gt;I would like to find the server process which use high CPU ( ie. run over 10 hours and use 90 % CPU time ) and then kill such process , can advise how to write such script ?&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Mon, 24 Oct 2011 10:10:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/check-process/m-p/5370089#M476366</guid>
      <dc:creator>Intothenewworld</dc:creator>
      <dc:date>2011-10-24T10:10:56Z</dc:date>
    </item>
    <item>
      <title>Re: Check process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/check-process/m-p/5370625#M476372</link>
      <description>&lt;P&gt;A similar recent topic:&lt;/P&gt;&lt;P&gt;&lt;A target="_blank" href="http://h30499.www3.hp.com/t5/Languages-and-Scripting/system-script/m-p/5355375/"&gt;http://h30499.www3.hp.com/t5/Languages-and-Scripting/system-script/m-p/5355375/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 24 Oct 2011 18:29:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/check-process/m-p/5370625#M476372</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2011-10-24T18:29:22Z</dc:date>
    </item>
    <item>
      <title>Re: Check process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/check-process/m-p/5370953#M476376</link>
      <description>&lt;P&gt;thx reply ,&lt;/P&gt;&lt;P&gt;I tried it in my&amp;nbsp;unix-like system ( eg. Redhat ), the output is a list of processes ( as below ) , these processes do not use 90% CPU , can advise how to use the script ? what I need to chang if run it at linux server ?&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;10021 0&lt;BR /&gt;10043 0&lt;BR /&gt;10143 0&lt;BR /&gt;10144 0&lt;BR /&gt;10697 0&lt;BR /&gt;11818 0&lt;BR /&gt;12682 0&lt;BR /&gt;12683 0&lt;BR /&gt;12710 0&lt;BR /&gt;12825 0&lt;BR /&gt;14029 0&lt;BR /&gt;14207 0&lt;BR /&gt;14212 0&lt;BR /&gt;14213 0&lt;BR /&gt;14214 0&lt;BR /&gt;14310 0&lt;BR /&gt;14311 0&lt;/P&gt;</description>
      <pubDate>Tue, 25 Oct 2011 03:49:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/check-process/m-p/5370953#M476376</guid>
      <dc:creator>Intothenewworld</dc:creator>
      <dc:date>2011-10-25T03:49:34Z</dc:date>
    </item>
    <item>
      <title>Re: Check process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/check-process/m-p/5371011#M476378</link>
      <description>&lt;P&gt;&amp;gt;I tried it in my&amp;nbsp;Unix-like system (eg. Redhat)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;(This is a HP-UX category and that script is meant to work on a UNIX branded OS.&amp;nbsp; If you want Linux answers post in a Linux category.&amp;nbsp; If you want, we can ask this topic to be moved.)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;gt;the output is a list of processes (as below) , these processes do not use 90% CPU, can advise how to use the script?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;That was a debugging line that I should have left commented.&amp;nbsp; I've updated that post.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;gt;what I need to change if run it at Linux server?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Lower that 90 and see if you pick up some PIDs?&lt;/P&gt;</description>
      <pubDate>Tue, 25 Oct 2011 05:01:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/check-process/m-p/5371011#M476378</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2011-10-25T05:01:48Z</dc:date>
    </item>
    <item>
      <title>Re: Check process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/check-process/m-p/5371433#M476385</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://community.hpe.com/t5/user/viewprofilepage/user-id/1243723"&gt;@Intothenewworld&lt;/a&gt; wrote:&lt;BR /&gt;&lt;P&gt;I tried it in my&amp;nbsp;unix-like system ( eg. Redhat ), the output is a list of processes ( as below ) , these processes do not use 90% CPU , can advise how to use the script ? what I need to chang if run it at linux server ?&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Look at your Red Hat manpages for 'ps'; look at the thread Dennis suggested as a "starter"; and TRY to construct your own solution.&amp;nbsp; Then, if/when you are stuck ask for help.&amp;nbsp; You cannot expect every Unix variant (e.g. HP-UX, AIX, Solaris, Mac OS X) to have exactly the same semantics and syntax.&amp;nbsp; The GNU toolsets which comprise the various Linux distributions are generally far richer in features.&amp;nbsp; Learn to fish and you will never go hungry.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;...JRF...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;...JRF...&lt;/P&gt;</description>
      <pubDate>Tue, 25 Oct 2011 12:35:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/check-process/m-p/5371433#M476385</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2011-10-25T12:35:22Z</dc:date>
    </item>
  </channel>
</rss>

