<?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: sar vs vmstat in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/sar-vs-vmstat/m-p/2636757#M42591</link>
    <description>Hi Darrel,&lt;BR /&gt;&lt;BR /&gt;Both sar and vmstat use pstat calls to collect the the kernel counters. So, theoritically the reports should be the same.&lt;BR /&gt;&lt;BR /&gt;The CPU in sar report is split into usr, sys and wio while CPU is reported only interms of usr and sys through vmstat. wio is waiting for io to complete otherwise idle. So, I guess the idle value in vmstat is nothing but a sum of wio and idle in sar report.&lt;BR /&gt;&lt;BR /&gt;Does this make sense?.&lt;BR /&gt;&lt;BR /&gt;-Sri</description>
    <pubDate>Sun, 30 Dec 2001 20:00:28 GMT</pubDate>
    <dc:creator>Sridhar Bhaskarla</dc:creator>
    <dc:date>2001-12-30T20:00:28Z</dc:date>
    <item>
      <title>sar vs vmstat</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sar-vs-vmstat/m-p/2636756#M42590</link>
      <description>Hi all,&lt;BR /&gt;&lt;BR /&gt;Once upon a time I heard that sar was not as accurate as vmstat in reporting cpu utilization because of timeslicing.  I believe this is true.  I've seen sar report 50% idle time on my servers where vmstat would be showing 90 - 95% idle.&lt;BR /&gt;&lt;BR /&gt;Can anyone enlighten me?&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Darrell</description>
      <pubDate>Sun, 30 Dec 2001 04:10:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sar-vs-vmstat/m-p/2636756#M42590</guid>
      <dc:creator>Darrell Allen</dc:creator>
      <dc:date>2001-12-30T04:10:51Z</dc:date>
    </item>
    <item>
      <title>Re: sar vs vmstat</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sar-vs-vmstat/m-p/2636757#M42591</link>
      <description>Hi Darrel,&lt;BR /&gt;&lt;BR /&gt;Both sar and vmstat use pstat calls to collect the the kernel counters. So, theoritically the reports should be the same.&lt;BR /&gt;&lt;BR /&gt;The CPU in sar report is split into usr, sys and wio while CPU is reported only interms of usr and sys through vmstat. wio is waiting for io to complete otherwise idle. So, I guess the idle value in vmstat is nothing but a sum of wio and idle in sar report.&lt;BR /&gt;&lt;BR /&gt;Does this make sense?.&lt;BR /&gt;&lt;BR /&gt;-Sri</description>
      <pubDate>Sun, 30 Dec 2001 20:00:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sar-vs-vmstat/m-p/2636757#M42591</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2001-12-30T20:00:28Z</dc:date>
    </item>
    <item>
      <title>Re: sar vs vmstat</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sar-vs-vmstat/m-p/2636758#M42592</link>
      <description>Hi Darrell,&lt;BR /&gt;&lt;BR /&gt;As Sridhar has pointed out, both sar and&lt;BR /&gt;vmstat both use 'pstat' for the accumulation&lt;BR /&gt;of kernel counters. I have never really used&lt;BR /&gt;these two tools for any sort of reporting.&lt;BR /&gt;I've really only used glance and mwa. Have &lt;BR /&gt;you tried glance to get a comparison. It may&lt;BR /&gt;actually point out the problem. &lt;BR /&gt;&lt;BR /&gt;-Michael</description>
      <pubDate>Sun, 30 Dec 2001 21:13:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sar-vs-vmstat/m-p/2636758#M42592</guid>
      <dc:creator>Michael Tully</dc:creator>
      <dc:date>2001-12-30T21:13:50Z</dc:date>
    </item>
    <item>
      <title>Re: sar vs vmstat</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sar-vs-vmstat/m-p/2636759#M42593</link>
      <description>Well, I should have read the manual more closely.  It just never dawned on me that the difference in idle time was simply that sar breaks out the "idle while waiting on I/O".&lt;BR /&gt;&lt;BR /&gt;An instructor in a class a number of years ago had said sar wasn't as accurate as vmstat.  In my ignorance, I accepted his statement and never questioned it.  It sounded logical.&lt;BR /&gt;&lt;BR /&gt;I really feel stupid when I can't see something so simple.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Darrell</description>
      <pubDate>Mon, 31 Dec 2001 14:02:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sar-vs-vmstat/m-p/2636759#M42593</guid>
      <dc:creator>Darrell Allen</dc:creator>
      <dc:date>2001-12-31T14:02:48Z</dc:date>
    </item>
  </channel>
</rss>

