<?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 mi in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/sar-mi/m-p/3362768#M871748</link>
    <description>Hi,&lt;BR /&gt;&lt;BR /&gt;this works only if you've implemented the sar reporting (using sa2) in crontab&lt;BR /&gt;For example :&lt;BR /&gt;&lt;BR /&gt;5 18 * * 1-5  /usr/lbin/sa/sa2 -s 8:00 -e 18:01 -i 3600 -A&lt;BR /&gt;&lt;BR /&gt;This will produce the files under /var/adm/sa/sa&lt;DL&gt;&lt;DD&gt;&lt;BR /&gt;Otherwise you can just enter sar -d 2 3&lt;BR /&gt;(which stands for the time and the interval)&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;&lt;BR /&gt;Franky&lt;/DD&gt;&lt;/DL&gt;</description>
    <pubDate>Mon, 23 Aug 2004 03:11:04 GMT</pubDate>
    <dc:creator>Franky_1</dc:creator>
    <dc:date>2004-08-23T03:11:04Z</dc:date>
    <item>
      <title>sar mi</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sar-mi/m-p/3362765#M871745</link>
      <description>Hi,&lt;BR /&gt;sar -d produces under 11.11 the following error:&lt;BR /&gt;sar: Can't open /var/adm/sa/sa23&lt;BR /&gt;Does anybody know how to fix it?&lt;BR /&gt;There is actually no /var/adm/sa at all.&lt;BR /&gt;Thanks,&lt;BR /&gt;fd</description>
      <pubDate>Mon, 23 Aug 2004 02:06:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sar-mi/m-p/3362765#M871745</guid>
      <dc:creator>Fernando Delgado Soto_1</dc:creator>
      <dc:date>2004-08-23T02:06:00Z</dc:date>
    </item>
    <item>
      <title>Re: sar mi</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sar-mi/m-p/3362766#M871746</link>
      <description>If you run sar without sampling interval it will try to retrieve previously recorded data from /var/adm/sa/sa23 (which you don't have as you haven't saved any).&lt;BR /&gt;&lt;BR /&gt;sar -d 5 5&lt;BR /&gt;&lt;BR /&gt;will sample disk performance data in 5 intervals of 5 seconds.</description>
      <pubDate>Mon, 23 Aug 2004 02:10:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sar-mi/m-p/3362766#M871746</guid>
      <dc:creator>Ermin Borovac</dc:creator>
      <dc:date>2004-08-23T02:10:42Z</dc:date>
    </item>
    <item>
      <title>Re: sar mi</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sar-mi/m-p/3362767#M871747</link>
      <description>Hi Fernando,&lt;BR /&gt;&lt;BR /&gt;Try using sar like this:&lt;BR /&gt;&lt;BR /&gt;# sar -d &lt;TIME&gt; &lt;NUMBER of="" iterations=""&gt;&lt;BR /&gt;&lt;BR /&gt;For example, to wait 5 seconds between reports and view 5 iterations of sar output, use:&lt;BR /&gt;&lt;BR /&gt;# sar -d 5 5&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Dave&lt;/NUMBER&gt;&lt;/TIME&gt;</description>
      <pubDate>Mon, 23 Aug 2004 02:12:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sar-mi/m-p/3362767#M871747</guid>
      <dc:creator>Dave Olker</dc:creator>
      <dc:date>2004-08-23T02:12:44Z</dc:date>
    </item>
    <item>
      <title>Re: sar mi</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sar-mi/m-p/3362768#M871748</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;this works only if you've implemented the sar reporting (using sa2) in crontab&lt;BR /&gt;For example :&lt;BR /&gt;&lt;BR /&gt;5 18 * * 1-5  /usr/lbin/sa/sa2 -s 8:00 -e 18:01 -i 3600 -A&lt;BR /&gt;&lt;BR /&gt;This will produce the files under /var/adm/sa/sa&lt;DL&gt;&lt;DD&gt;&lt;BR /&gt;Otherwise you can just enter sar -d 2 3&lt;BR /&gt;(which stands for the time and the interval)&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;&lt;BR /&gt;Franky&lt;/DD&gt;&lt;/DL&gt;</description>
      <pubDate>Mon, 23 Aug 2004 03:11:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sar-mi/m-p/3362768#M871748</guid>
      <dc:creator>Franky_1</dc:creator>
      <dc:date>2004-08-23T03:11:04Z</dc:date>
    </item>
    <item>
      <title>Re: sar mi</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sar-mi/m-p/3362769#M871749</link>
      <description>Hi,&lt;BR /&gt;thanks for your help. But it didn`t work.&lt;BR /&gt;(root@taktt1):/&amp;gt;sar -d 5 5&lt;BR /&gt;&lt;BR /&gt;HP-UX taktt1 B.11.11 U 9000/800    08/23/04&lt;BR /&gt;&lt;BR /&gt;08:22:22   device   %busy   avque   r+w/s  blks/s  avwait  avserv&lt;BR /&gt;08:22:27  c1t15d0    0.20    0.50       0       3    0.12   11.22&lt;BR /&gt;08:22:32  c1t15d0    0.80    0.50       1       4    0.25   14.52&lt;BR /&gt;08:22:37&lt;BR /&gt;08:22:42  c1t15d0    0.60    0.50       1       2    0.16   12.20&lt;BR /&gt;08:22:47  c1t15d0    1.20    0.50       2      11    1.43   13.41&lt;BR /&gt;&lt;BR /&gt;Average   c1t15d0    0.56    0.50       1       4    0.75   13.46&lt;BR /&gt;(root@taktt1):/&amp;gt;sar -d&lt;BR /&gt;sar: Can't open /var/adm/sa/sa23&lt;BR /&gt;(root@taktt1):/&amp;gt;/usr/lbin/sa/sa2 -s 8:00 -e 18:01 -i 3600 -A&lt;BR /&gt;/usr/lbin/sa/sa2[9]: /var/adm/sa/sar23: Cannot create the specified file.&lt;BR /&gt;find: cannot stat /var/adm/sa</description>
      <pubDate>Mon, 23 Aug 2004 03:25:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sar-mi/m-p/3362769#M871749</guid>
      <dc:creator>Fernando Delgado Soto_1</dc:creator>
      <dc:date>2004-08-23T03:25:38Z</dc:date>
    </item>
    <item>
      <title>Re: sar mi</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sar-mi/m-p/3362770#M871750</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;the output of sar -d 5 5 seems to be ok - five times repeated and an interval of 5 minutes&lt;BR /&gt;&lt;BR /&gt;The sa2 command described only works when implemented as cronjob not from the command line (crontab -e)&lt;BR /&gt;&lt;BR /&gt;Regards &lt;BR /&gt;&lt;BR /&gt;Franky</description>
      <pubDate>Mon, 23 Aug 2004 03:35:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sar-mi/m-p/3362770#M871750</guid>
      <dc:creator>Franky_1</dc:creator>
      <dc:date>2004-08-23T03:35:04Z</dc:date>
    </item>
    <item>
      <title>Re: sar mi</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sar-mi/m-p/3362771#M871751</link>
      <description>Hi,&lt;BR /&gt;thanks a lot. I also put it in cron but it didn`t work out. Actually the problem was the lack of /var/adm/sa. After manually creating /var/adm/sa it works. Sar creates itself a sa23 file.&lt;BR /&gt;Thanks you all for your assistance,&lt;BR /&gt;Fernando</description>
      <pubDate>Mon, 23 Aug 2004 03:44:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sar-mi/m-p/3362771#M871751</guid>
      <dc:creator>Fernando Delgado Soto_1</dc:creator>
      <dc:date>2004-08-23T03:44:12Z</dc:date>
    </item>
    <item>
      <title>Re: sar mi</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sar-mi/m-p/3362772#M871752</link>
      <description>Normally, when running sar from cron, the entry will be something like:&lt;BR /&gt;0 * * * *  /usr/lbin/sa1 300 12&lt;BR /&gt;&lt;BR /&gt;(Running every 300 seconds and collect 12 samples, meaning run for 1 hour and collect a sample every 5 minutes. Cron will start this every hour.)&lt;BR /&gt;&lt;BR /&gt;sa1 (or sadc) is the way to call the datacollector.&lt;BR /&gt;sa2 is a script that uses collected data to be written in human readable form.&lt;BR /&gt;&lt;BR /&gt;And yes, you need the directory /var/adm/sa and  have to create it manually if not present yet.</description>
      <pubDate>Mon, 23 Aug 2004 04:12:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sar-mi/m-p/3362772#M871752</guid>
      <dc:creator>Elmar P. Kolkman</dc:creator>
      <dc:date>2004-08-23T04:12:33Z</dc:date>
    </item>
  </channel>
</rss>

