<?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: process occupying 97% of cpu in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/process-occupying-97-of-cpu/m-p/3703036#M249646</link>
    <description>Hi Arun,&lt;BR /&gt;&lt;BR /&gt;Using 'top' command to check the process that use the CPU.&lt;BR /&gt;&lt;BR /&gt;# top            [enter]&lt;BR /&gt;&lt;BR /&gt;Hope this information can help.&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;AW</description>
    <pubDate>Thu, 05 Jan 2006 02:06:46 GMT</pubDate>
    <dc:creator>Adisuria Wangsadinata_1</dc:creator>
    <dc:date>2006-01-05T02:06:46Z</dc:date>
    <item>
      <title>process occupying 97% of cpu</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/process-occupying-97-of-cpu/m-p/3703035#M249645</link>
      <description>I have a process started log back and it is taking more that 96.7% of cpu.I f give ps- ef &lt;BR /&gt;it is showing as -sh invoked by root.Is there any way to find out what is the command used by that process.&lt;BR /&gt;&lt;BR /&gt;regards&lt;BR /&gt;Arun</description>
      <pubDate>Thu, 05 Jan 2006 02:03:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/process-occupying-97-of-cpu/m-p/3703035#M249645</guid>
      <dc:creator>aruns_s</dc:creator>
      <dc:date>2006-01-05T02:03:41Z</dc:date>
    </item>
    <item>
      <title>Re: process occupying 97% of cpu</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/process-occupying-97-of-cpu/m-p/3703036#M249646</link>
      <description>Hi Arun,&lt;BR /&gt;&lt;BR /&gt;Using 'top' command to check the process that use the CPU.&lt;BR /&gt;&lt;BR /&gt;# top            [enter]&lt;BR /&gt;&lt;BR /&gt;Hope this information can help.&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;AW</description>
      <pubDate>Thu, 05 Jan 2006 02:06:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/process-occupying-97-of-cpu/m-p/3703036#M249646</guid>
      <dc:creator>Adisuria Wangsadinata_1</dc:creator>
      <dc:date>2006-01-05T02:06:46Z</dc:date>
    </item>
    <item>
      <title>Re: process occupying 97% of cpu</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/process-occupying-97-of-cpu/m-p/3703037#M249647</link>
      <description>hi&lt;BR /&gt;as per top, cpu usage is 97%.&lt;BR /&gt;please advice how can I solve this.&lt;BR /&gt;I am not sure if I can kill the process.Any other way to find out what is the command used by that process.</description>
      <pubDate>Thu, 05 Jan 2006 02:15:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/process-occupying-97-of-cpu/m-p/3703037#M249647</guid>
      <dc:creator>aruns_s</dc:creator>
      <dc:date>2006-01-05T02:15:26Z</dc:date>
    </item>
    <item>
      <title>Re: process occupying 97% of cpu</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/process-occupying-97-of-cpu/m-p/3703038#M249648</link>
      <description>Hi Arun,&lt;BR /&gt;&lt;BR /&gt;On the 'top' command, check the command that using lot of the CPU source.&lt;BR /&gt;&lt;BR /&gt;Example :&lt;BR /&gt;&lt;BR /&gt;CPU TTY     PID USERNAME PRI NI   SIZE    RES STATE    TIME %WCPU  %CPU COMMAND&lt;BR /&gt; 0   ?       36 root     152 20  8032K  8032K run     29:04  0.33  0.33 vxfsd&lt;BR /&gt; 0   ?     2591 root     152 20   252M 58804K run     67:39  0.31  0.30 prm3d&lt;BR /&gt; 1   ?     3890 root     152 20 15424K  4036K run      1:44  0.18  0.18 rep_serv&lt;BR /&gt; 1   ?     3891 root     152 20 12856K  2364K run      1:20  0.18  0.18 agdbserv&lt;BR /&gt;&lt;BR /&gt;On the example above, the command that using most of CPU source is vxsfd.&lt;BR /&gt;&lt;BR /&gt;Some of the issue about taken CPU source can be solved by patches. Please let me know which process on your system.&lt;BR /&gt;&lt;BR /&gt;Hope this information can help you.&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;AW</description>
      <pubDate>Thu, 05 Jan 2006 02:23:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/process-occupying-97-of-cpu/m-p/3703038#M249648</guid>
      <dc:creator>Adisuria Wangsadinata_1</dc:creator>
      <dc:date>2006-01-05T02:23:06Z</dc:date>
    </item>
    <item>
      <title>Re: process occupying 97% of cpu</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/process-occupying-97-of-cpu/m-p/3703039#M249649</link>
      <description>Hi Arun,&lt;BR /&gt;&lt;BR /&gt;I also happended to find one such process some time back in my server, I was also confused about it and finally rebooted the server and it went away.&lt;BR /&gt;&lt;BR /&gt;In my opinion it is a process linked to some session which has got terminated. Killing the process shall finish it but try to do it when nothing (applications) are running if possible. Otherwise reboot will clear it.&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;Devender</description>
      <pubDate>Thu, 05 Jan 2006 02:28:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/process-occupying-97-of-cpu/m-p/3703039#M249649</guid>
      <dc:creator>Devender Khatana</dc:creator>
      <dc:date>2006-01-05T02:28:36Z</dc:date>
    </item>
    <item>
      <title>Re: process occupying 97% of cpu</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/process-occupying-97-of-cpu/m-p/3703040#M249650</link>
      <description>Hi&lt;BR /&gt;Thaks for youe advice&lt;BR /&gt;I found that 'sh' is the process which is taking 97% cpu.and it is in run stage.This process had started on dec 20.please let me know whether I can kill.&lt;BR /&gt;&lt;BR /&gt;regards&lt;BR /&gt;Arun</description>
      <pubDate>Thu, 05 Jan 2006 02:31:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/process-occupying-97-of-cpu/m-p/3703040#M249650</guid>
      <dc:creator>aruns_s</dc:creator>
      <dc:date>2006-01-05T02:31:04Z</dc:date>
    </item>
    <item>
      <title>Re: process occupying 97% of cpu</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/process-occupying-97-of-cpu/m-p/3703041#M249651</link>
      <description>Most likely a looper and probably not doing any useful work.&lt;BR /&gt;&lt;BR /&gt;you should walk the process tree to make sure it not running other process before you kill it&lt;BR /&gt;&lt;BR /&gt;  nat  26871  26676 0  Jan  3  pts/ti    0:46 /opt/cognos/ph823d7/bin/quick cc= &lt;BR /&gt;     nat  26676  26674 0  Jan  3  pts/ti    0:00 -sh&lt;BR /&gt;     root  26674   1809 0  Jan  3  pts/ti    0:00 telnetd -b /etc/issue&lt;BR /&gt;     root   1809      1 0  Sep 22  ?         8:17 /usr/sbin/inetd&lt;BR /&gt;     root      1      0 0  Sep 22  ?        73:56 init&lt;BR /&gt;&lt;BR /&gt;In this example -sh  (pid 26676) has a child 26871. You want to make sure the children are not important process. But if it is the -sh taking the time, probably a looper.&lt;BR /&gt;&lt;BR /&gt;In the above example, If you kill -sh (pid 26676) make sure the child also dies&lt;BR /&gt;&lt;BR /&gt;Based on the date you mentioned, and the fact -sh is taking the cpu time, I would kill your "offending" process.&lt;BR /&gt;kill -1 first to see if it will die nicely&lt;BR /&gt;it probably will not die. than use the more agressive signals.&lt;BR /&gt;&lt;BR /&gt;rory&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Rory</description>
      <pubDate>Fri, 06 Jan 2006 03:31:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/process-occupying-97-of-cpu/m-p/3703041#M249651</guid>
      <dc:creator>Rory R Hammond</dc:creator>
      <dc:date>2006-01-06T03:31:28Z</dc:date>
    </item>
    <item>
      <title>Re: process occupying 97% of cpu</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/process-occupying-97-of-cpu/m-p/3703042#M249652</link>
      <description>Hi Arun, &lt;BR /&gt;&lt;BR /&gt;Use "top" command to identify which process is consuming high CPU resource. &lt;BR /&gt;&lt;BR /&gt;Understand you have identified "-sh" process is the culprit.  The next thing that you need to do now is to find out what are the children processes that might be still running.  Use the following commands to capture the process table: &lt;BR /&gt;&lt;BR /&gt;# export UNIX95=XPG4&lt;BR /&gt;# script /tmp/processes.txt&lt;BR /&gt;# ps -e -H -o ruser,vsz,sz,pcpu,pid,ppid,state,comm,args &lt;BR /&gt;# exit&lt;BR /&gt;# more /tmp/processes.txt&lt;BR /&gt;&lt;BR /&gt;After search for the process id of "-sh" from the file "/tmp/processes.txt" (a process hierarchy).  Each process is displayed under its parent.  Trace the children processes first and kill them if necessary.  &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 06 Jan 2006 04:08:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/process-occupying-97-of-cpu/m-p/3703042#M249652</guid>
      <dc:creator>Clifford Chi</dc:creator>
      <dc:date>2006-01-06T04:08:03Z</dc:date>
    </item>
  </channel>
</rss>

