<?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: CPU consumed by a Process in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/cpu-consumed-by-a-process/m-p/3727834#M788884</link>
    <description>You can use like,&lt;BR /&gt;&lt;BR /&gt;UNIX95= ps -ef -o pid,comm,cpu,cpu | grep 'pid of process'&lt;BR /&gt;&lt;BR /&gt;--&lt;BR /&gt;Muthu</description>
    <pubDate>Thu, 09 Feb 2006 05:41:58 GMT</pubDate>
    <dc:creator>Muthukumar_5</dc:creator>
    <dc:date>2006-02-09T05:41:58Z</dc:date>
    <item>
      <title>CPU consumed by a Process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cpu-consumed-by-a-process/m-p/3727828#M788878</link>
      <description>Hi all,&lt;BR /&gt;&lt;BR /&gt;Supose if i know a process id then how to find out CPU consumed by that process.</description>
      <pubDate>Thu, 09 Feb 2006 05:23:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cpu-consumed-by-a-process/m-p/3727828#M788878</guid>
      <dc:creator>Cenoce_2</dc:creator>
      <dc:date>2006-02-09T05:23:13Z</dc:date>
    </item>
    <item>
      <title>Re: CPU consumed by a Process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cpu-consumed-by-a-process/m-p/3727829#M788879</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;# UNIX95= ps -eo pcpu,pid,args | grep PID&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Robert-Jan</description>
      <pubDate>Thu, 09 Feb 2006 05:33:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cpu-consumed-by-a-process/m-p/3727829#M788879</guid>
      <dc:creator>Robert-Jan Goossens</dc:creator>
      <dc:date>2006-02-09T05:33:01Z</dc:date>
    </item>
    <item>
      <title>Re: CPU consumed by a Process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cpu-consumed-by-a-process/m-p/3727830#M788880</link>
      <description>Hello, &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;# UNIX95= ps -ef -o pid,ruser,pcpu,args|tr -d "%" |awk '{if($4&amp;gt;=90) print $0}'&lt;BR /&gt;&lt;BR /&gt;-Arun</description>
      <pubDate>Thu, 09 Feb 2006 05:33:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cpu-consumed-by-a-process/m-p/3727830#M788880</guid>
      <dc:creator>Arunvijai_4</dc:creator>
      <dc:date>2006-02-09T05:33:33Z</dc:date>
    </item>
    <item>
      <title>Re: CPU consumed by a Process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cpu-consumed-by-a-process/m-p/3727831#M788881</link>
      <description>Hi Cenoce,&lt;BR /&gt;&lt;BR /&gt;Use glance&lt;BR /&gt;&lt;BR /&gt;grtz. Mark</description>
      <pubDate>Thu, 09 Feb 2006 05:33:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cpu-consumed-by-a-process/m-p/3727831#M788881</guid>
      <dc:creator>Mark Nieuwboer</dc:creator>
      <dc:date>2006-02-09T05:33:52Z</dc:date>
    </item>
    <item>
      <title>Re: CPU consumed by a Process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cpu-consumed-by-a-process/m-p/3727832#M788882</link>
      <description>hi,&lt;BR /&gt;&lt;BR /&gt;you can use Glance Plus.&lt;BR /&gt;&lt;BR /&gt;e.g.&lt;BR /&gt;--------------------------------------------------------------------------------&lt;BR /&gt;Resources PID: 19711, rwrun        PPID: 16127 euid:   124 User: ias&lt;BR /&gt;--------------------------------------------------------------------------------&lt;BR /&gt;CPU Usage (util):     41.3 Log Reads :    735 Wait Reason    :      PRI&lt;BR /&gt;User/Nice/RT CPU:     39.7 Log Writes:      0 Total RSS/VSS  : 28.0mb/ 30.0mb&lt;BR /&gt;System CPU      :      0.4 Phy Reads :      0 Traps / Vfaults:    969/      0&lt;BR /&gt;Interrupt CPU   :      0.8 Phy Writes:      0 Faults Mem/Disk:      0/      0&lt;BR /&gt;Cont Switch CPU :      0.0 FS Reads  :      0 Deactivations  :      0&lt;BR /&gt;Scheduler       :     HPUX FS Writes :      0 Forks &amp;amp; Vforks :      0&lt;BR /&gt;Priority        :      243 VM Reads  :      0 Signals Recd   :      0&lt;BR /&gt;Nice Value      :       21 VM Writes :      0 Mesg Sent/Recd :    359/    359&lt;BR /&gt;Dispatches      :     1345 Sys Reads :      0 Other Log Rd/Wt:    360/    359&lt;BR /&gt;Forced CSwitch  :      905 Sys Writes:      0 Other Phy Rd/Wt:      0/      0&lt;BR /&gt;VoluntaryCSwitch:      359 Raw Reads :      0 Proc Start Time&lt;BR /&gt;Running CPU     :        1 Raw Writes:      0    Thu Feb  9 14:26:03 2006&lt;BR /&gt;CPU Switches    :       73 Bytes Xfer:    0kb                :&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;hope this helps!&lt;BR /&gt;&lt;BR /&gt;kind regards&lt;BR /&gt;yogeeraj</description>
      <pubDate>Thu, 09 Feb 2006 05:34:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cpu-consumed-by-a-process/m-p/3727832#M788882</guid>
      <dc:creator>Yogeeraj_1</dc:creator>
      <dc:date>2006-02-09T05:34:16Z</dc:date>
    </item>
    <item>
      <title>Re: CPU consumed by a Process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cpu-consumed-by-a-process/m-p/3727833#M788883</link>
      <description>Hello, &lt;BR /&gt;&lt;BR /&gt;You can also use "top" . &lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 09 Feb 2006 05:38:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cpu-consumed-by-a-process/m-p/3727833#M788883</guid>
      <dc:creator>Arunvijai_4</dc:creator>
      <dc:date>2006-02-09T05:38:50Z</dc:date>
    </item>
    <item>
      <title>Re: CPU consumed by a Process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cpu-consumed-by-a-process/m-p/3727834#M788884</link>
      <description>You can use like,&lt;BR /&gt;&lt;BR /&gt;UNIX95= ps -ef -o pid,comm,cpu,cpu | grep 'pid of process'&lt;BR /&gt;&lt;BR /&gt;--&lt;BR /&gt;Muthu</description>
      <pubDate>Thu, 09 Feb 2006 05:41:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cpu-consumed-by-a-process/m-p/3727834#M788884</guid>
      <dc:creator>Muthukumar_5</dc:creator>
      <dc:date>2006-02-09T05:41:58Z</dc:date>
    </item>
    <item>
      <title>Re: CPU consumed by a Process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cpu-consumed-by-a-process/m-p/3727835#M788885</link>
      <description>you can use top but it may not be accurate always. Some times process will not be coming in list. Better go with UNIX95 for default or use glanceplus.&lt;BR /&gt;&lt;BR /&gt;--&lt;BR /&gt;Muthu</description>
      <pubDate>Thu, 09 Feb 2006 05:43:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cpu-consumed-by-a-process/m-p/3727835#M788885</guid>
      <dc:creator>Muthukumar_5</dc:creator>
      <dc:date>2006-02-09T05:43:26Z</dc:date>
    </item>
    <item>
      <title>Re: CPU consumed by a Process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cpu-consumed-by-a-process/m-p/3727836#M788886</link>
      <description>&lt;A href="http://www.hpux.ws/system.perf.sh" target="_blank"&gt;http://www.hpux.ws/system.perf.sh&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;sar packages that run background for as long as you designate.&lt;BR /&gt;&lt;BR /&gt;This is a complete package that started out from HP and were fixed/improved by me.&lt;BR /&gt;&lt;BR /&gt;Any reason why the replies to this thread are broken into such small pieces? &lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Thu, 09 Feb 2006 05:56:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cpu-consumed-by-a-process/m-p/3727836#M788886</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2006-02-09T05:56:46Z</dc:date>
    </item>
    <item>
      <title>Re: CPU consumed by a Process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cpu-consumed-by-a-process/m-p/3727837#M788887</link>
      <description>Thanks all&lt;BR /&gt;&lt;BR /&gt;Can anybody explain how UNIX95 works</description>
      <pubDate>Thu, 09 Feb 2006 06:15:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cpu-consumed-by-a-process/m-p/3727837#M788887</guid>
      <dc:creator>Cenoce_2</dc:creator>
      <dc:date>2006-02-09T06:15:03Z</dc:date>
    </item>
    <item>
      <title>Re: CPU consumed by a Process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cpu-consumed-by-a-process/m-p/3727838#M788888</link>
      <description>see:&lt;BR /&gt;&lt;A href="http://ou800doc.caldera.com/en/DIFFS/UNIX95_Conformance.html" target="_blank"&gt;http://ou800doc.caldera.com/en/DIFFS/UNIX95_Conformance.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 09 Feb 2006 07:49:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cpu-consumed-by-a-process/m-p/3727838#M788888</guid>
      <dc:creator>Yogeeraj_1</dc:creator>
      <dc:date>2006-02-09T07:49:17Z</dc:date>
    </item>
    <item>
      <title>Re: CPU consumed by a Process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cpu-consumed-by-a-process/m-p/3727839#M788889</link>
      <description>A couple of notes:&lt;BR /&gt; &lt;BR /&gt;There is no need to use grep with ps, especially when looking for a specific PID. Just use the -p option. Not only does it save an extra step, but it avoids the inevitable mistakes when a small PID (as in PID=123) will be found in 1123 1234 2123 and so on. It's really important to use all the options available in ps as they are 100% accurate whereas grep will match anything on the ps line.&lt;BR /&gt; &lt;BR /&gt;UNIX95 is a special variable found in most flavors of Unix and is used to signal an alternate behavior in certain processes and libraries. In the case of ps, you will see the term XPG4 for several options (-C -H -o for example) and these options are invlaid if UNIX95 has not been set. But because UNIX95 affects so many other things, it is always recommended to set the value on the command line so it is temporary for the child process. Never type: export UNIX95=something as it can affect things in an odd way. The use of: UNIX95= ps... may look strange but UNIX95= is defining the variable and giving it a null value, which in the shell is very different than having an undefined variable. You can assign any value to UNIX95, as it needs to exist but the contents are irrelevant.</description>
      <pubDate>Thu, 09 Feb 2006 10:10:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cpu-consumed-by-a-process/m-p/3727839#M788889</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2006-02-09T10:10:21Z</dc:date>
    </item>
  </channel>
</rss>

