<?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: What process is using what cpu? in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/what-process-is-using-what-cpu/m-p/3021844#M130619</link>
    <description>Hello!&lt;BR /&gt;&lt;BR /&gt;In top you can see it.&lt;BR /&gt;&lt;BR /&gt;Caesar</description>
    <pubDate>Fri, 11 Jul 2003 20:38:23 GMT</pubDate>
    <dc:creator>Caesar_3</dc:creator>
    <dc:date>2003-07-11T20:38:23Z</dc:date>
    <item>
      <title>What process is using what cpu?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/what-process-is-using-what-cpu/m-p/3021842#M130617</link>
      <description>Is there a script to find which process is "hammering" cpu0.  We have 4 cpus in a N4000 box&lt;BR /&gt;with hpux 11i</description>
      <pubDate>Fri, 11 Jul 2003 20:24:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/what-process-is-using-what-cpu/m-p/3021842#M130617</guid>
      <dc:creator>ROSS HANSON</dc:creator>
      <dc:date>2003-07-11T20:24:00Z</dc:date>
    </item>
    <item>
      <title>Re: What process is using what cpu?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/what-process-is-using-what-cpu/m-p/3021843#M130618</link>
      <description>Easy way is top command&lt;BR /&gt;It  will show you which process is running on what cpu&lt;BR /&gt;&lt;BR /&gt;-USA..</description>
      <pubDate>Fri, 11 Jul 2003 20:33:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/what-process-is-using-what-cpu/m-p/3021843#M130618</guid>
      <dc:creator>Uday_S_Ankolekar</dc:creator>
      <dc:date>2003-07-11T20:33:37Z</dc:date>
    </item>
    <item>
      <title>Re: What process is using what cpu?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/what-process-is-using-what-cpu/m-p/3021844#M130619</link>
      <description>Hello!&lt;BR /&gt;&lt;BR /&gt;In top you can see it.&lt;BR /&gt;&lt;BR /&gt;Caesar</description>
      <pubDate>Fri, 11 Jul 2003 20:38:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/what-process-is-using-what-cpu/m-p/3021844#M130619</guid>
      <dc:creator>Caesar_3</dc:creator>
      <dc:date>2003-07-11T20:38:23Z</dc:date>
    </item>
    <item>
      <title>Re: What process is using what cpu?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/what-process-is-using-what-cpu/m-p/3021845#M130620</link>
      <description>If you want to do this as a script, so you can run it from cron etc, then use this little snippet:&lt;BR /&gt;&lt;BR /&gt;top -s 10 -d 5 -f /tmp/top.out&lt;BR /&gt;&lt;BR /&gt;That will run top refreshed every 10 seconds for 5 iterations and put the output in the file /tmp/top.out.&lt;BR /&gt;&lt;BR /&gt;man top&lt;BR /&gt;</description>
      <pubDate>Fri, 11 Jul 2003 20:48:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/what-process-is-using-what-cpu/m-p/3021845#M130620</guid>
      <dc:creator>John Dvorchak</dc:creator>
      <dc:date>2003-07-11T20:48:41Z</dc:date>
    </item>
    <item>
      <title>Re: What process is using what cpu?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/what-process-is-using-what-cpu/m-p/3021846#M130621</link>
      <description>use "top" to display top processes on system:&lt;BR /&gt;# top &lt;BR /&gt;eg.&lt;BR /&gt; TTY    PID USERNAME PRI NI   SIZE    RES STATE    TIME %WCPU  %CPU COMMAND&lt;BR /&gt;  ?    6339 oradb    240 20   369M 12856K run    860:46 99.51 99.34 oracleprod&lt;BR /&gt;  ?      29 root     152 20  1856K     0K run      0:58  1.13  1.13 vxfsd&lt;BR /&gt;pts/0  7284 root     178 20  2864K   424K run      0:00  0.23  0.10 top&lt;BR /&gt;&lt;BR /&gt;The CPU column shows the CPU# the process is executing.&lt;BR /&gt;The TIME column shows the time the process consumed.&lt;BR /&gt;The %CPU column shows the raw CPU percentage.</description>
      <pubDate>Fri, 11 Jul 2003 23:02:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/what-process-is-using-what-cpu/m-p/3021846#M130621</guid>
      <dc:creator>twang</dc:creator>
      <dc:date>2003-07-11T23:02:08Z</dc:date>
    </item>
    <item>
      <title>Re: What process is using what cpu?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/what-process-is-using-what-cpu/m-p/3021847#M130622</link>
      <description>Hi Ross,&lt;BR /&gt;&lt;BR /&gt;Along with top, you can use 'ps' also to get the information.&lt;BR /&gt;&lt;BR /&gt;export UNIX95=1&lt;BR /&gt;ps -ef -o "pcpu args" |sort -n&lt;BR /&gt;&lt;BR /&gt;-Sri</description>
      <pubDate>Fri, 11 Jul 2003 23:05:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/what-process-is-using-what-cpu/m-p/3021847#M130622</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2003-07-11T23:05:44Z</dc:date>
    </item>
    <item>
      <title>Re: What process is using what cpu?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/what-process-is-using-what-cpu/m-p/3021848#M130623</link>
      <description>Note that CPU 0 will always be the first one to be hammered if there aren't any other processes using a lot of CPU. There's nothing wrong with that, if more processing power is needed for other programs then the other CPUs will become active. To see this in action (use top to monitor), use this very simple script:&lt;BR /&gt;&lt;BR /&gt;while :&lt;BR /&gt;do :&lt;BR /&gt;done&lt;BR /&gt;&lt;BR /&gt;This will do nothing but burn CPU cycles. Start multiple copies and you'll see top display the distribution of CPU cycles. Note also that HP-UX will change CPUs for the same process quite often. There's nothing to move in doing this--all the CPUs see all of memory.</description>
      <pubDate>Fri, 11 Jul 2003 23:09:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/what-process-is-using-what-cpu/m-p/3021848#M130623</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2003-07-11T23:09:03Z</dc:date>
    </item>
    <item>
      <title>Re: What process is using what cpu?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/what-process-is-using-what-cpu/m-p/3021849#M130624</link>
      <description>Agree with Sridhar, you may issue this:&lt;BR /&gt;&lt;BR /&gt;UNIX95= ps -e -o vsz=Kbytes -o ruser -o pid,args=Command-Line | sort -rnk1 | more&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Sat, 12 Jul 2003 00:43:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/what-process-is-using-what-cpu/m-p/3021849#M130624</guid>
      <dc:creator>twang</dc:creator>
      <dc:date>2003-07-12T00:43:27Z</dc:date>
    </item>
    <item>
      <title>Re: What process is using what cpu?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/what-process-is-using-what-cpu/m-p/3021850#M130625</link>
      <description>Some more options&lt;BR /&gt;&lt;BR /&gt; o Glance, then select process&lt;BR /&gt; o ps -elp &lt;PID&gt;&lt;BR /&gt; o MeasureWare&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;&lt;BR /&gt;Tim&lt;/PID&gt;</description>
      <pubDate>Sun, 13 Jul 2003 07:41:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/what-process-is-using-what-cpu/m-p/3021850#M130625</guid>
      <dc:creator>Tim D Fulford</dc:creator>
      <dc:date>2003-07-13T07:41:42Z</dc:date>
    </item>
    <item>
      <title>Re: What process is using what cpu?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/what-process-is-using-what-cpu/m-p/3021851#M130626</link>
      <description>oops&lt;BR /&gt;&lt;BR /&gt;my ps command should read&lt;BR /&gt; o ps -flp &lt;PID&gt;&lt;BR /&gt;&lt;BR /&gt;Or if you want it for all processes&lt;BR /&gt; o ps -fel&lt;BR /&gt;&lt;BR /&gt;The 6th column labled C is the CPU#&lt;/PID&gt;</description>
      <pubDate>Mon, 14 Jul 2003 07:39:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/what-process-is-using-what-cpu/m-p/3021851#M130626</guid>
      <dc:creator>Tim D Fulford</dc:creator>
      <dc:date>2003-07-14T07:39:55Z</dc:date>
    </item>
    <item>
      <title>Re: What process is using what cpu?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/what-process-is-using-what-cpu/m-p/3021852#M130627</link>
      <description>Ross&lt;BR /&gt;&lt;BR /&gt;Some catching up to do:-&lt;BR /&gt;&lt;BR /&gt;This member has assigned points to 10 of 129 responses to his/her questions.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Please assign points to those who have used their own time to assist you.&lt;BR /&gt;&lt;BR /&gt;Paula</description>
      <pubDate>Mon, 14 Jul 2003 12:18:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/what-process-is-using-what-cpu/m-p/3021852#M130627</guid>
      <dc:creator>Paula J Frazer-Campbell</dc:creator>
      <dc:date>2003-07-14T12:18:41Z</dc:date>
    </item>
    <item>
      <title>Re: What process is using what cpu?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/what-process-is-using-what-cpu/m-p/3021853#M130628</link>
      <description>Ross&lt;BR /&gt;&lt;BR /&gt;Some catching up to do:-&lt;BR /&gt;&lt;BR /&gt;This member has assigned points to 10 of 129 responses to his/her questions.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Please assign points to those who have used their own time to assist you.&lt;BR /&gt;&lt;BR /&gt;Paula</description>
      <pubDate>Mon, 14 Jul 2003 12:19:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/what-process-is-using-what-cpu/m-p/3021853#M130628</guid>
      <dc:creator>Paula J Frazer-Campbell</dc:creator>
      <dc:date>2003-07-14T12:19:19Z</dc:date>
    </item>
  </channel>
</rss>

