<?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 Confusing CPU Utilisation ? in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/confusing-cpu-utilisation/m-p/3681900#M245530</link>
    <description>Hi all ,&lt;BR /&gt;&lt;BR /&gt;We have 4 CPU in the system L2000-36 . And recently getting 100% cpu usage many times.&lt;BR /&gt;&lt;BR /&gt;While watching top and sar output found this as follows:&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;-------------&lt;BR /&gt;CPU Status:&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;TOP shows &lt;BR /&gt;&lt;BR /&gt;274 processes: 254 sleeping, 20 running&lt;BR /&gt;Cpu states:&lt;BR /&gt;CPU   LOAD   USER   NICE    SYS   IDLE  BLOCK  SWAIT   INTR   SSYS&lt;BR /&gt; 0    0.09   2.0%   0.0%   1.2%  96.8%   0.0%   0.0%   0.0%   0.0%&lt;BR /&gt; 1    0.57   5.6%   0.0%   1.8%  92.6%   0.0%   0.0%   0.0%   0.0%&lt;BR /&gt; 2    0.28  14.9%   0.0%   0.6%  84.5%   0.0%   0.0%   0.0%   0.0%&lt;BR /&gt; 3    0.85   5.8%   0.0%   4.0%  90.3%   0.0%   0.0%   0.0%   0.0%&lt;BR /&gt;---   ----  -----  -----  -----  -----  -----  -----  -----  -----&lt;BR /&gt;avg   0.45   7.0%   0.0%   1.8%  91.2%   0.0%   0.0%   0.0%   0.0%&lt;BR /&gt;&lt;BR /&gt;---------------------------------------------------------------------&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;But at the same time sar shows this :&lt;BR /&gt;&lt;BR /&gt;# sar -u -M 4 9&lt;BR /&gt;&lt;BR /&gt;HP-UX sapsys0 B.11.11 U 9000/800    11/30/05&lt;BR /&gt;&lt;BR /&gt;18:30:02     cpu    %usr    %sys    %wio   %idle&lt;BR /&gt;18:30:06       0       0       1       0      98&lt;BR /&gt;               1       7       2      91       0&lt;BR /&gt;               2       3       1      96       0&lt;BR /&gt;               3       6       4       3      87&lt;BR /&gt;          system       4       2      47      46&lt;BR /&gt;18:30:10       0       1       5       1      92&lt;BR /&gt;               1       1       3      96       0&lt;BR /&gt;               2       6       2      92       0&lt;BR /&gt;               3       6       6       0      88&lt;BR /&gt;          system       3       4      47      45&lt;BR /&gt;----------------------------------------------------------&lt;BR /&gt;&lt;BR /&gt;&amp;amp; this&lt;BR /&gt;&lt;BR /&gt;# sar -u 5 7&lt;BR /&gt;&lt;BR /&gt;HP-UX sapsys0 B.11.11 U 9000/800    11/30/05&lt;BR /&gt;&lt;BR /&gt;18:33:27    %usr    %sys    %wio   %idle&lt;BR /&gt;18:33:32       1       1      49      48&lt;BR /&gt;18:33:37       6       3      46      46&lt;BR /&gt;18:33:42       0       1      50      49&lt;BR /&gt;18:33:47       2       2      47      49&lt;BR /&gt;18:33:52       1       1      49      49&lt;BR /&gt;18:33:57      22       3      35      40&lt;BR /&gt;18:34:02       4       2      47      47&lt;BR /&gt;&lt;BR /&gt;Average        5       2      46      47&lt;BR /&gt;----------------------------------------------------------&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Question:&lt;BR /&gt;Top shows 91% IDLE CPU ,  where as sar shows 47% (including cpu 1 and cpu 2,  100% used always). ??&lt;BR /&gt;&lt;BR /&gt;Please suggest, why this difference is. And what to do , to get exact details.&lt;BR /&gt;&lt;BR /&gt;Thanks.</description>
    <pubDate>Wed, 30 Nov 2005 18:39:37 GMT</pubDate>
    <dc:creator>rveri</dc:creator>
    <dc:date>2005-11-30T18:39:37Z</dc:date>
    <item>
      <title>Confusing CPU Utilisation ?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/confusing-cpu-utilisation/m-p/3681900#M245530</link>
      <description>Hi all ,&lt;BR /&gt;&lt;BR /&gt;We have 4 CPU in the system L2000-36 . And recently getting 100% cpu usage many times.&lt;BR /&gt;&lt;BR /&gt;While watching top and sar output found this as follows:&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;-------------&lt;BR /&gt;CPU Status:&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;TOP shows &lt;BR /&gt;&lt;BR /&gt;274 processes: 254 sleeping, 20 running&lt;BR /&gt;Cpu states:&lt;BR /&gt;CPU   LOAD   USER   NICE    SYS   IDLE  BLOCK  SWAIT   INTR   SSYS&lt;BR /&gt; 0    0.09   2.0%   0.0%   1.2%  96.8%   0.0%   0.0%   0.0%   0.0%&lt;BR /&gt; 1    0.57   5.6%   0.0%   1.8%  92.6%   0.0%   0.0%   0.0%   0.0%&lt;BR /&gt; 2    0.28  14.9%   0.0%   0.6%  84.5%   0.0%   0.0%   0.0%   0.0%&lt;BR /&gt; 3    0.85   5.8%   0.0%   4.0%  90.3%   0.0%   0.0%   0.0%   0.0%&lt;BR /&gt;---   ----  -----  -----  -----  -----  -----  -----  -----  -----&lt;BR /&gt;avg   0.45   7.0%   0.0%   1.8%  91.2%   0.0%   0.0%   0.0%   0.0%&lt;BR /&gt;&lt;BR /&gt;---------------------------------------------------------------------&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;But at the same time sar shows this :&lt;BR /&gt;&lt;BR /&gt;# sar -u -M 4 9&lt;BR /&gt;&lt;BR /&gt;HP-UX sapsys0 B.11.11 U 9000/800    11/30/05&lt;BR /&gt;&lt;BR /&gt;18:30:02     cpu    %usr    %sys    %wio   %idle&lt;BR /&gt;18:30:06       0       0       1       0      98&lt;BR /&gt;               1       7       2      91       0&lt;BR /&gt;               2       3       1      96       0&lt;BR /&gt;               3       6       4       3      87&lt;BR /&gt;          system       4       2      47      46&lt;BR /&gt;18:30:10       0       1       5       1      92&lt;BR /&gt;               1       1       3      96       0&lt;BR /&gt;               2       6       2      92       0&lt;BR /&gt;               3       6       6       0      88&lt;BR /&gt;          system       3       4      47      45&lt;BR /&gt;----------------------------------------------------------&lt;BR /&gt;&lt;BR /&gt;&amp;amp; this&lt;BR /&gt;&lt;BR /&gt;# sar -u 5 7&lt;BR /&gt;&lt;BR /&gt;HP-UX sapsys0 B.11.11 U 9000/800    11/30/05&lt;BR /&gt;&lt;BR /&gt;18:33:27    %usr    %sys    %wio   %idle&lt;BR /&gt;18:33:32       1       1      49      48&lt;BR /&gt;18:33:37       6       3      46      46&lt;BR /&gt;18:33:42       0       1      50      49&lt;BR /&gt;18:33:47       2       2      47      49&lt;BR /&gt;18:33:52       1       1      49      49&lt;BR /&gt;18:33:57      22       3      35      40&lt;BR /&gt;18:34:02       4       2      47      47&lt;BR /&gt;&lt;BR /&gt;Average        5       2      46      47&lt;BR /&gt;----------------------------------------------------------&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Question:&lt;BR /&gt;Top shows 91% IDLE CPU ,  where as sar shows 47% (including cpu 1 and cpu 2,  100% used always). ??&lt;BR /&gt;&lt;BR /&gt;Please suggest, why this difference is. And what to do , to get exact details.&lt;BR /&gt;&lt;BR /&gt;Thanks.</description>
      <pubDate>Wed, 30 Nov 2005 18:39:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/confusing-cpu-utilisation/m-p/3681900#M245530</guid>
      <dc:creator>rveri</dc:creator>
      <dc:date>2005-11-30T18:39:37Z</dc:date>
    </item>
    <item>
      <title>Re: Confusing CPU Utilisation ?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/confusing-cpu-utilisation/m-p/3681901#M245531</link>
      <description>Hi ,&lt;BR /&gt;&lt;BR /&gt;sar result seems to be more correct than top.&lt;BR /&gt;&lt;BR /&gt;hth,&lt;BR /&gt;Raj.</description>
      <pubDate>Wed, 30 Nov 2005 19:43:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/confusing-cpu-utilisation/m-p/3681901#M245531</guid>
      <dc:creator>Raj D.</dc:creator>
      <dc:date>2005-11-30T19:43:21Z</dc:date>
    </item>
    <item>
      <title>Re: Confusing CPU Utilisation ?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/confusing-cpu-utilisation/m-p/3681902#M245532</link>
      <description>Hi rveri&lt;BR /&gt;&lt;BR /&gt;as far as i know, HP-UX is the only unix system which gives %wio metric with sar. top and glance don't show this value.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;U should not consider this metric as CPU consumer. The definition for %wio is "idle with some process waiting for I/O (only block I/O, raw I/O, or VM pageins/swapins indicated)". &lt;BR /&gt;&lt;BR /&gt;So if U want to compare top and glance idle CPU, U should first add %wio &amp;amp; %idle from sar to compare to IDLE from top.&lt;BR /&gt;&lt;BR /&gt;Now, high %wio could mean that you have some stress with your disks, due to swapping activity or heavy application load. So have a look at "sar -d", "vmstat -S" ...&lt;BR /&gt;&lt;BR /&gt;Hope this will help&lt;BR /&gt;&lt;BR /&gt;Eric&lt;BR /&gt;&lt;BR /&gt;(PBFWME;-)</description>
      <pubDate>Thu, 01 Dec 2005 03:59:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/confusing-cpu-utilisation/m-p/3681902#M245532</guid>
      <dc:creator>Eric SAUBIGNAC</dc:creator>
      <dc:date>2005-12-01T03:59:07Z</dc:date>
    </item>
  </channel>
</rss>

