<?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 get only average value for multiple sar files in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/get-only-average-value-for-multiple-sar-files/m-p/5104091#M688300</link>
    <description>&lt;BR /&gt;sar reports are automatically storing in a dir in every predefined times...while "sar -f sarfile" gives value of 5sec*4times, also average at the bottom..now to analyse average value we need to give sar for every files,.&lt;BR /&gt;if anyone tells, how to get average value of multiple sar files? will be useful.I need the average value only&lt;BR /&gt;&lt;BR /&gt;Thnz</description>
    <pubDate>Thu, 17 Apr 2008 10:05:03 GMT</pubDate>
    <dc:creator>SPMK</dc:creator>
    <dc:date>2008-04-17T10:05:03Z</dc:date>
    <item>
      <title>get only average value for multiple sar files</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/get-only-average-value-for-multiple-sar-files/m-p/5104091#M688300</link>
      <description>&lt;BR /&gt;sar reports are automatically storing in a dir in every predefined times...while "sar -f sarfile" gives value of 5sec*4times, also average at the bottom..now to analyse average value we need to give sar for every files,.&lt;BR /&gt;if anyone tells, how to get average value of multiple sar files? will be useful.I need the average value only&lt;BR /&gt;&lt;BR /&gt;Thnz</description>
      <pubDate>Thu, 17 Apr 2008 10:05:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/get-only-average-value-for-multiple-sar-files/m-p/5104091#M688300</guid>
      <dc:creator>SPMK</dc:creator>
      <dc:date>2008-04-17T10:05:03Z</dc:date>
    </item>
    <item>
      <title>Re: get only average value for multiple sar files</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/get-only-average-value-for-multiple-sar-files/m-p/5104092#M688301</link>
      <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;A different collection script might be helpful.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.hpux.ws/?p=6" target="_blank"&gt;http://www.hpux.ws/?p=6&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Otherwise cut and paste the results into a spreadsheet perhaps.&lt;BR /&gt;&lt;BR /&gt;With a lot of work in shell scripting and string parsing, you might be able to pull results out of these various files and get your averages. It depends on how much work you are weilling to do.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Thu, 17 Apr 2008 10:47:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/get-only-average-value-for-multiple-sar-files/m-p/5104092#M688301</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2008-04-17T10:47:24Z</dc:date>
    </item>
    <item>
      <title>Re: get only average value for multiple sar files</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/get-only-average-value-for-multiple-sar-files/m-p/5104093#M688302</link>
      <description>&amp;gt;how to get average value of multiple sar files?&lt;BR /&gt;&lt;BR /&gt;If the values are in nice colums, awk(1) can find the values and average them.</description>
      <pubDate>Thu, 17 Apr 2008 11:06:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/get-only-average-value-for-multiple-sar-files/m-p/5104093#M688302</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2008-04-17T11:06:02Z</dc:date>
    </item>
    <item>
      <title>Re: get only average value for multiple sar files</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/get-only-average-value-for-multiple-sar-files/m-p/5104094#M688303</link>
      <description>Hi:&lt;BR /&gt;&lt;BR /&gt;Even if the columns wobble, as long as the field of interest is in the same ordinal position, 'awk' will allow you to do real arithmetic.  For example, if the field you want to average is in column-3 (one-relative):&lt;BR /&gt;&lt;BR /&gt;# awk '{SUM=SUM+$3;COUNT++};END{printf "Avg = %4.2f\n",SUM/COUNT}' file1 file2 file3 ...&lt;BR /&gt;&lt;BR /&gt;That is, you can specify the multiple files to be read and summarized as arguments to the script.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Thu, 17 Apr 2008 11:29:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/get-only-average-value-for-multiple-sar-files/m-p/5104094#M688303</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2008-04-17T11:29:21Z</dc:date>
    </item>
    <item>
      <title>Re: get only average value for multiple sar files</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/get-only-average-value-for-multiple-sar-files/m-p/5104095#M688304</link>
      <description>&amp;gt;JRF: as long as the field of interest is in the same ordinal position, awk will allow you to do real arithmetic.&lt;BR /&gt;&lt;BR /&gt;Right.  The only problem with multiple files is skipping titles and footers with in-file averages or subtotals.</description>
      <pubDate>Thu, 17 Apr 2008 11:34:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/get-only-average-value-for-multiple-sar-files/m-p/5104095#M688304</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2008-04-17T11:34:49Z</dc:date>
    </item>
    <item>
      <title>Re: get only average value for multiple sar files</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/get-only-average-value-for-multiple-sar-files/m-p/5104096#M688305</link>
      <description>Hi (again):&lt;BR /&gt;&lt;BR /&gt;&amp;gt; Dennis: Right. The only problem with multiple files is skipping titles and footers with in-file averages or subtotals.&lt;BR /&gt;&lt;BR /&gt;...while true, that's simply resolved by matching appropriate patterns and skipping lines representing those entities.  Of course, this can apply for single as well as multiple files.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Thu, 17 Apr 2008 13:16:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/get-only-average-value-for-multiple-sar-files/m-p/5104096#M688305</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2008-04-17T13:16:58Z</dc:date>
    </item>
    <item>
      <title>Re: get only average value for multiple sar files</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/get-only-average-value-for-multiple-sar-files/m-p/5104097#M688306</link>
      <description>thank u all who replied</description>
      <pubDate>Thu, 18 Sep 2008 20:03:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/get-only-average-value-for-multiple-sar-files/m-p/5104097#M688306</guid>
      <dc:creator>SPMK</dc:creator>
      <dc:date>2008-09-18T20:03:02Z</dc:date>
    </item>
  </channel>
</rss>

