<?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 Utilization in UNIX in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/cpu-utilization-in-unix/m-p/5365227#M476290</link>
    <description>&lt;P&gt;Hi:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;gt; FYI - vmstat/top/glance does not work in the UNIX system that we use.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;That is not descriptive at all.&amp;nbsp; I think you mean that whatever data you are examining from these tools doesn't lead you to the answer you want.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;gt; what do we interpret from 'ps -e -o pcpu -o pid -o user -o args'&amp;nbsp; command?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is UNIX95 (XPG4) behavior.&amp;nbsp; If you are truly running HP-UX you will need to set UNIX95.&amp;nbsp; The safe way to do this is only for the duratation of the command line needing it:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;# UNIX95= ps -e -o pcpu -o pid -o user -o args&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Notice the whitespace after the "=" and before the 'ps' command.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The manpages are your friend.&amp;nbsp; Read them.&amp;nbsp; The 'ps' command above says to look at every process ('-e') and return the 'pcpu', 'pid', 'user' and 'args' for that process as columns in the output.&amp;nbsp; THis is known as creating a custom output format.&amp;nbsp; Read the manpages!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;...JRF...&lt;/P&gt;</description>
    <pubDate>Tue, 18 Oct 2011 12:25:29 GMT</pubDate>
    <dc:creator>James R. Ferguson</dc:creator>
    <dc:date>2011-10-18T12:25:29Z</dc:date>
    <item>
      <title>CPU Utilization in UNIX</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cpu-utilization-in-unix/m-p/5364851#M476282</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We need to track the CPU utilization in UNIX system [find out any process affects the performance of the system] and for that can you provide the commands that can be used? FYI - vmstat/top/glance does not work in the UNIX system that we use.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also, can you tell about the use of 'ps -e -o pcpu -o pid -o user -o args' &amp;amp;&amp;nbsp;sar command? what do we interpret from 'ps -e -o pcpu -o pid -o user -o args'&amp;nbsp; command? For eg. if we have three different processes having the below usage:&lt;/P&gt;&lt;P&gt;33%&amp;nbsp;&amp;nbsp; &amp;lt;process 1&amp;gt;&lt;/P&gt;&lt;P&gt;33%&amp;nbsp;&amp;nbsp; &amp;lt;process 2&amp;gt;&lt;/P&gt;&lt;P&gt;33%&amp;nbsp;&amp;nbsp; &amp;lt;process 3&amp;gt;&lt;/P&gt;&lt;P&gt;what does it indicate?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;</description>
      <pubDate>Tue, 18 Oct 2011 06:30:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cpu-utilization-in-unix/m-p/5364851#M476282</guid>
      <dc:creator>sathis kumar</dc:creator>
      <dc:date>2011-10-18T06:30:24Z</dc:date>
    </item>
    <item>
      <title>Re: CPU Utilization in UNIX</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cpu-utilization-in-unix/m-p/5365227#M476290</link>
      <description>&lt;P&gt;Hi:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;gt; FYI - vmstat/top/glance does not work in the UNIX system that we use.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;That is not descriptive at all.&amp;nbsp; I think you mean that whatever data you are examining from these tools doesn't lead you to the answer you want.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;gt; what do we interpret from 'ps -e -o pcpu -o pid -o user -o args'&amp;nbsp; command?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is UNIX95 (XPG4) behavior.&amp;nbsp; If you are truly running HP-UX you will need to set UNIX95.&amp;nbsp; The safe way to do this is only for the duratation of the command line needing it:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;# UNIX95= ps -e -o pcpu -o pid -o user -o args&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Notice the whitespace after the "=" and before the 'ps' command.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The manpages are your friend.&amp;nbsp; Read them.&amp;nbsp; The 'ps' command above says to look at every process ('-e') and return the 'pcpu', 'pid', 'user' and 'args' for that process as columns in the output.&amp;nbsp; THis is known as creating a custom output format.&amp;nbsp; Read the manpages!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;...JRF...&lt;/P&gt;</description>
      <pubDate>Tue, 18 Oct 2011 12:25:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cpu-utilization-in-unix/m-p/5365227#M476290</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2011-10-18T12:25:29Z</dc:date>
    </item>
    <item>
      <title>Re: CPU Utilization in UNIX</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cpu-utilization-in-unix/m-p/5365567#M476294</link>
      <description>&lt;P&gt;&amp;gt;if we have three different processes having the below usage, what does it indicate?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It could indicate you only have one CPU and the same/similar process is running and getting equal shares.&lt;/P&gt;</description>
      <pubDate>Tue, 18 Oct 2011 16:58:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cpu-utilization-in-unix/m-p/5365567#M476294</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2011-10-18T16:58:46Z</dc:date>
    </item>
  </channel>
</rss>

