<?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 performance with sar in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/performance-with-sar/m-p/3518797#M219552</link>
    <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I would like to know to interpreter this outputs of sar, i would like to known who I want to know when its an bottlenek of cpu, or memory or disk.&lt;BR /&gt;In this exemple I have with de cpu:&lt;BR /&gt;sar -u&lt;BR /&gt;20:43:56       0       6       0      94&lt;BR /&gt;20:43:57       0       0       0     100&lt;BR /&gt;but i don't know it when the cpu is 100% busy its knows that its bottleneck or not.&lt;BR /&gt;&lt;BR /&gt;Thanks very much!&lt;BR /&gt;Carmen.&lt;BR /&gt;&lt;BR /&gt;sar –q &lt;BR /&gt;&lt;BR /&gt;20:13:20 runq-sz %runocc swpq-sz %swpocc&lt;BR /&gt;20:13:21 0.0 0 0.0 0&lt;BR /&gt;20:15:38 3.0 100 0.0 0&lt;BR /&gt;20:15:46 1.0 99 0.0 0&lt;BR /&gt;&lt;BR /&gt;    &lt;BR /&gt;sar -d 1&lt;BR /&gt;&lt;BR /&gt;20:13:20   device        %busy   avque   r+w/s  blks/s  avwait  avserv&lt;BR /&gt;&lt;BR /&gt;20:13:21   &lt;BR /&gt;            sd0               0     0.0       0       0     0.0     0.0&lt;BR /&gt;ssd1,e           21     1.7      44     327     0.0    38.5&lt;BR /&gt;           ssd1,g            0     0.0       0       0     0.0     0.0&lt;BR /&gt;           ssd2             20     1.4      42     308     0.0    34.2&lt;BR /&gt;           ssd2,a            0     0.0       0       0     0.0     0.0&lt;BR /&gt;           ssd2,e           20     1.4      42     308     0.0    34.2&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;sar –w&lt;BR /&gt;&lt;BR /&gt;SunOS sunz31 5.8 Generic_108528-27 sun4u    04/05/05&lt;BR /&gt;20:13:20 swpin/s bswin/s swpot/s bswot/s pswch/s&lt;BR /&gt;20:13:21    0.00     0.0    0.00     0.0    1910&lt;BR /&gt;20:13:22    0.00     0.0    0.00     0.0    1844&lt;BR /&gt;20:13:23    0.00     0.0    0.00     0.0    2699&lt;BR /&gt;20:13:24    0.00     0.0    0.00     0.0     325&lt;BR /&gt;20:13:25    0.00     0.0    0.00     0.0     492&lt;BR /&gt;20:13:26    0.00     0.0    0.00     0.0    3095&lt;BR /&gt;20:13:27    0.00     0.0    0.00     0.0    1975&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;vmstat&lt;BR /&gt;&lt;BR /&gt;procs     memory            page            disk          faults      cpu&lt;BR /&gt; r b w   swap  free  re  mf pi po fr de sr s0 s3 s3 s3   in   sy   cs us sy id&lt;BR /&gt; 0 0 0 7375256 353360 116 4385 32 0 0 0  0  0  0  0  0  528 4232 1281  1  7 91&lt;BR /&gt; 0 0 0 7373608 352840 1011 33658 1304 0 0 0 0 0 0 3  0 2754 13015 6377 16 51 33&lt;BR /&gt; 1 0 0 7360504 340600 1866 17277 24 0 0 0 0 0  0  0  0  546 26799 2939 12 27 61&lt;BR /&gt; 0 0 0 7372912 351984 2056 28632 184 0 0 0 0 0 0  0  0 2063 27857 5188 19 44 38&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;sar -u&lt;BR /&gt;&lt;BR /&gt;20:35:10    %usr    %sys    %wio   %idle&lt;BR /&gt;20:35:11      10      29       0      61&lt;BR /&gt;20:43:49       8      18       2      72&lt;BR /&gt;20:43:50       5      22       0      73&lt;BR /&gt;20:43:51       1      10       0      89&lt;BR /&gt;20:43:52       1       1       0      98&lt;BR /&gt;20:43:53       4      15       0      81&lt;BR /&gt;20:43:54       7      21       0      72&lt;BR /&gt;20:43:55       7      20       1      72&lt;BR /&gt;20:43:56       0       6       0      94&lt;BR /&gt;20:43:57       0       0       0     100&lt;BR /&gt;20:43:58       7      20       4      70&lt;BR /&gt;20:43:59       7      25       0      68&lt;BR /&gt;20:44:00       8      18       1      73&lt;BR /&gt;20:44:01       0       4       0      96&lt;BR /&gt;20:44:02      12       3       0</description>
    <pubDate>Wed, 06 Apr 2005 04:55:10 GMT</pubDate>
    <dc:creator>Carme Torca</dc:creator>
    <dc:date>2005-04-06T04:55:10Z</dc:date>
    <item>
      <title>performance with sar</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/performance-with-sar/m-p/3518797#M219552</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I would like to know to interpreter this outputs of sar, i would like to known who I want to know when its an bottlenek of cpu, or memory or disk.&lt;BR /&gt;In this exemple I have with de cpu:&lt;BR /&gt;sar -u&lt;BR /&gt;20:43:56       0       6       0      94&lt;BR /&gt;20:43:57       0       0       0     100&lt;BR /&gt;but i don't know it when the cpu is 100% busy its knows that its bottleneck or not.&lt;BR /&gt;&lt;BR /&gt;Thanks very much!&lt;BR /&gt;Carmen.&lt;BR /&gt;&lt;BR /&gt;sar –q &lt;BR /&gt;&lt;BR /&gt;20:13:20 runq-sz %runocc swpq-sz %swpocc&lt;BR /&gt;20:13:21 0.0 0 0.0 0&lt;BR /&gt;20:15:38 3.0 100 0.0 0&lt;BR /&gt;20:15:46 1.0 99 0.0 0&lt;BR /&gt;&lt;BR /&gt;    &lt;BR /&gt;sar -d 1&lt;BR /&gt;&lt;BR /&gt;20:13:20   device        %busy   avque   r+w/s  blks/s  avwait  avserv&lt;BR /&gt;&lt;BR /&gt;20:13:21   &lt;BR /&gt;            sd0               0     0.0       0       0     0.0     0.0&lt;BR /&gt;ssd1,e           21     1.7      44     327     0.0    38.5&lt;BR /&gt;           ssd1,g            0     0.0       0       0     0.0     0.0&lt;BR /&gt;           ssd2             20     1.4      42     308     0.0    34.2&lt;BR /&gt;           ssd2,a            0     0.0       0       0     0.0     0.0&lt;BR /&gt;           ssd2,e           20     1.4      42     308     0.0    34.2&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;sar –w&lt;BR /&gt;&lt;BR /&gt;SunOS sunz31 5.8 Generic_108528-27 sun4u    04/05/05&lt;BR /&gt;20:13:20 swpin/s bswin/s swpot/s bswot/s pswch/s&lt;BR /&gt;20:13:21    0.00     0.0    0.00     0.0    1910&lt;BR /&gt;20:13:22    0.00     0.0    0.00     0.0    1844&lt;BR /&gt;20:13:23    0.00     0.0    0.00     0.0    2699&lt;BR /&gt;20:13:24    0.00     0.0    0.00     0.0     325&lt;BR /&gt;20:13:25    0.00     0.0    0.00     0.0     492&lt;BR /&gt;20:13:26    0.00     0.0    0.00     0.0    3095&lt;BR /&gt;20:13:27    0.00     0.0    0.00     0.0    1975&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;vmstat&lt;BR /&gt;&lt;BR /&gt;procs     memory            page            disk          faults      cpu&lt;BR /&gt; r b w   swap  free  re  mf pi po fr de sr s0 s3 s3 s3   in   sy   cs us sy id&lt;BR /&gt; 0 0 0 7375256 353360 116 4385 32 0 0 0  0  0  0  0  0  528 4232 1281  1  7 91&lt;BR /&gt; 0 0 0 7373608 352840 1011 33658 1304 0 0 0 0 0 0 3  0 2754 13015 6377 16 51 33&lt;BR /&gt; 1 0 0 7360504 340600 1866 17277 24 0 0 0 0 0  0  0  0  546 26799 2939 12 27 61&lt;BR /&gt; 0 0 0 7372912 351984 2056 28632 184 0 0 0 0 0 0  0  0 2063 27857 5188 19 44 38&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;sar -u&lt;BR /&gt;&lt;BR /&gt;20:35:10    %usr    %sys    %wio   %idle&lt;BR /&gt;20:35:11      10      29       0      61&lt;BR /&gt;20:43:49       8      18       2      72&lt;BR /&gt;20:43:50       5      22       0      73&lt;BR /&gt;20:43:51       1      10       0      89&lt;BR /&gt;20:43:52       1       1       0      98&lt;BR /&gt;20:43:53       4      15       0      81&lt;BR /&gt;20:43:54       7      21       0      72&lt;BR /&gt;20:43:55       7      20       1      72&lt;BR /&gt;20:43:56       0       6       0      94&lt;BR /&gt;20:43:57       0       0       0     100&lt;BR /&gt;20:43:58       7      20       4      70&lt;BR /&gt;20:43:59       7      25       0      68&lt;BR /&gt;20:44:00       8      18       1      73&lt;BR /&gt;20:44:01       0       4       0      96&lt;BR /&gt;20:44:02      12       3       0</description>
      <pubDate>Wed, 06 Apr 2005 04:55:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/performance-with-sar/m-p/3518797#M219552</guid>
      <dc:creator>Carme Torca</dc:creator>
      <dc:date>2005-04-06T04:55:10Z</dc:date>
    </item>
    <item>
      <title>Re: performance with sar</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/performance-with-sar/m-p/3518798#M219553</link>
      <description>document A3949710 explains some of these things.&lt;BR /&gt;&lt;BR /&gt;here's a snippet:&lt;BR /&gt;&lt;BR /&gt;An example sar(1M) output may be similar to the following:&lt;BR /&gt;&lt;BR /&gt;   # sar 4 5&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;   17:08:59    %usr    %sys    %wio   %idle&lt;BR /&gt;   17:09:03       0       0       0     100&lt;BR /&gt;   17:09:07       0       3      26      71&lt;BR /&gt;   17:09:11       0      11      89       0&lt;BR /&gt;   17:09:15       0       3      40      56&lt;BR /&gt;   17:09:19       0       0       0     100&lt;BR /&gt;&lt;BR /&gt;   Average        0       3      31      66&lt;BR /&gt;&lt;BR /&gt;The %usr is the percentage of time the CPU spent running in user code.&lt;BR /&gt;&lt;BR /&gt;The %sys is the percentage of time the CPU spent running system code.&lt;BR /&gt;&lt;BR /&gt;The %wio is the percentage of time the CPU spent blocked on IO. This&lt;BR /&gt;only includes block IO, raw IO, or Virtual Memory operations like&lt;BR /&gt;pagein/swapin.  It does not include time spent on tape IO or terminal&lt;BR /&gt;IO.  If %wio is high, it could be an indication of a disk bottleneck&lt;BR /&gt;or it could simply mean that the CPU has nothing else to do while it&lt;BR /&gt;waits for a process to complete its IOs.&lt;BR /&gt;&lt;BR /&gt;The %idle is the percentage of time the CPU is totally idle, with&lt;BR /&gt;essentially nothing running or nothing performing disk or other&lt;BR /&gt;block/raw IO.&lt;BR /&gt;&lt;BR /&gt;In the above example, we started off with an idle system (%idle=100%).&lt;BR /&gt;Then the cp(1) command was issued to make a copy of the kernel.  This&lt;BR /&gt;caused us to enter system code (%sys), and do disk I/O to copy the&lt;BR /&gt;data (%wsio=89).  The cp(1) command was constantly reading the source&lt;BR /&gt;file then copying to the destination file.  So the CPU was either in&lt;BR /&gt;the cp(1) code, or it was waiting for I/O to complete.  Once the cp was&lt;BR /&gt;complete, the system returned to an idle state.&lt;BR /&gt;&lt;BR /&gt;Remember, however, that other processes can make use of the %wsio&lt;BR /&gt;time when the CPU is blocked on I/O, thus causing the %wsio to decrease&lt;BR /&gt;as %user and $sys increase.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 06 Apr 2005 04:58:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/performance-with-sar/m-p/3518798#M219553</guid>
      <dc:creator>Kent Ostby</dc:creator>
      <dc:date>2005-04-06T04:58:43Z</dc:date>
    </item>
  </channel>
</rss>

