<?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 report in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/sar-report/m-p/2829954#M88633</link>
    <description>Rita,&lt;BR /&gt;your info is good.&lt;BR /&gt;my 'sar -b' output like this &lt;BR /&gt;&lt;BR /&gt; bread/s lread/s %rcache bwrit/s lwrit/s %wcache pread/s pwrit/s&lt;BR /&gt;    0      61     100      10      17      41       0       0&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I need the output only as followes.&lt;BR /&gt;&lt;BR /&gt; %rcache    %wcache&lt;BR /&gt;  100         41&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;any body can give exact script?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thnx,&lt;BR /&gt;VB&lt;BR /&gt;</description>
    <pubDate>Mon, 21 Oct 2002 16:37:00 GMT</pubDate>
    <dc:creator>vas  bolpali</dc:creator>
    <dc:date>2002-10-21T16:37:00Z</dc:date>
    <item>
      <title>SAR report</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sar-report/m-p/2829949#M88628</link>
      <description>looking for SAR , which will have the following columns only.&lt;BR /&gt;%usr    %sys    %wio   %idle  %rcache  %wcache &lt;BR /&gt;&lt;BR /&gt;no other columns.&lt;BR /&gt;&lt;BR /&gt;Thanks in Advance .&lt;BR /&gt;VB.&lt;BR /&gt;</description>
      <pubDate>Mon, 21 Oct 2002 13:01:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sar-report/m-p/2829949#M88628</guid>
      <dc:creator>vas  bolpali</dc:creator>
      <dc:date>2002-10-21T13:01:04Z</dc:date>
    </item>
    <item>
      <title>Re: SAR report</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sar-report/m-p/2829950#M88629</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;with "sar -A 1 1" you'll have &lt;BR /&gt;more columns. Look at "man sar"&lt;BR /&gt;&lt;BR /&gt;Chris</description>
      <pubDate>Mon, 21 Oct 2002 13:04:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sar-report/m-p/2829950#M88629</guid>
      <dc:creator>Christian Gebhardt</dc:creator>
      <dc:date>2002-10-21T13:04:04Z</dc:date>
    </item>
    <item>
      <title>Re: SAR report</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sar-report/m-p/2829951#M88630</link>
      <description>Hi &lt;BR /&gt;&lt;BR /&gt;I'm not sure you can. sar -ub is probably about the closest I can think of. &lt;BR /&gt;&lt;BR /&gt;Cheers&lt;BR /&gt;Keely</description>
      <pubDate>Mon, 21 Oct 2002 13:24:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sar-report/m-p/2829951#M88630</guid>
      <dc:creator>Keely Jackson</dc:creator>
      <dc:date>2002-10-21T13:24:49Z</dc:date>
    </item>
    <item>
      <title>Re: SAR report</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sar-report/m-p/2829952#M88631</link>
      <description>I am sorry.&lt;BR /&gt;I am looking for 6 columns only.(but it generationg &lt;BR /&gt;12 columns. i don't want the other 6 columns),&lt;BR /&gt;&lt;BR /&gt;Thnx, &lt;BR /&gt;VB</description>
      <pubDate>Mon, 21 Oct 2002 13:31:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sar-report/m-p/2829952#M88631</guid>
      <dc:creator>vas  bolpali</dc:creator>
      <dc:date>2002-10-21T13:31:20Z</dc:date>
    </item>
    <item>
      <title>Re: SAR report</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sar-report/m-p/2829953#M88632</link>
      <description>You could do a simple script to direct the output of sar to a temp file.  Then 'cut' the fields you  want to see and put them in a final file for you to use.&lt;BR /&gt;&lt;BR /&gt;Example:&lt;BR /&gt;&lt;BR /&gt;sar -b 1 1 &amp;gt;&amp;gt; sar.tmp.file&lt;BR /&gt;cat sar.tmp.file | cut (fields you want) &amp;gt; sar.final.file&lt;BR /&gt;&lt;BR /&gt;Just a real quick thought,&lt;BR /&gt;Rita&lt;BR /&gt;</description>
      <pubDate>Mon, 21 Oct 2002 15:45:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sar-report/m-p/2829953#M88632</guid>
      <dc:creator>Rita C Workman</dc:creator>
      <dc:date>2002-10-21T15:45:56Z</dc:date>
    </item>
    <item>
      <title>Re: SAR report</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sar-report/m-p/2829954#M88633</link>
      <description>Rita,&lt;BR /&gt;your info is good.&lt;BR /&gt;my 'sar -b' output like this &lt;BR /&gt;&lt;BR /&gt; bread/s lread/s %rcache bwrit/s lwrit/s %wcache pread/s pwrit/s&lt;BR /&gt;    0      61     100      10      17      41       0       0&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I need the output only as followes.&lt;BR /&gt;&lt;BR /&gt; %rcache    %wcache&lt;BR /&gt;  100         41&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;any body can give exact script?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thnx,&lt;BR /&gt;VB&lt;BR /&gt;</description>
      <pubDate>Mon, 21 Oct 2002 16:37:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sar-report/m-p/2829954#M88633</guid>
      <dc:creator>vas  bolpali</dc:creator>
      <dc:date>2002-10-21T16:37:00Z</dc:date>
    </item>
    <item>
      <title>Re: SAR report</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sar-report/m-p/2829955#M88634</link>
      <description>Okay...try this:&lt;BR /&gt;&lt;BR /&gt;Create a small script...&lt;BR /&gt;&lt;BR /&gt;#!/bin/sh&lt;BR /&gt;#&lt;BR /&gt;#&lt;BR /&gt;sar -b 1 5 &amp;gt; sar.tmp&lt;BR /&gt;#&lt;BR /&gt;awk ' BEGIN {&lt;BR /&gt;        while ( "cat '/sar.tmp' " | getline ) {&lt;BR /&gt;        entries++&lt;BR /&gt;        if ( $1 ~ "[0-9]" ) printf ("%s", $1 "\t" $4 "\t" $7 "\n") }&lt;BR /&gt;        } ' &amp;gt;&amp;gt; /sar.file &lt;BR /&gt;#&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Hope this gives you something to build on..&lt;BR /&gt;&lt;BR /&gt;Rgrds,&lt;BR /&gt;Rita&lt;BR /&gt;</description>
      <pubDate>Mon, 21 Oct 2002 17:20:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sar-report/m-p/2829955#M88634</guid>
      <dc:creator>Rita C Workman</dc:creator>
      <dc:date>2002-10-21T17:20:08Z</dc:date>
    </item>
    <item>
      <title>Re: SAR report</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sar-report/m-p/2829956#M88635</link>
      <description>Rita,&lt;BR /&gt;Thank You.&lt;BR /&gt;U r script is working fine , except that I want to take only the average output for the (SAR -b).&lt;BR /&gt;I mean &lt;BR /&gt;Script has to be like :&lt;BR /&gt;SAR -b 1 5 |grep Average &amp;gt; /sar .. AWK{ } etc.&lt;BR /&gt;&lt;BR /&gt;Can You try to make this work.&lt;BR /&gt;&lt;BR /&gt;thnak you.&lt;BR /&gt;VB</description>
      <pubDate>Tue, 22 Oct 2002 14:37:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sar-report/m-p/2829956#M88635</guid>
      <dc:creator>vas  bolpali</dc:creator>
      <dc:date>2002-10-22T14:37:39Z</dc:date>
    </item>
    <item>
      <title>Re: SAR report</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sar-report/m-p/2829957#M88636</link>
      <description>Than change the script so that&lt;BR /&gt;( $1 ~ "Average" )....&lt;BR /&gt;&lt;BR /&gt;That says that if column one has the word Average than print column $1 $4 &amp;amp; $7 or whatever columns you want..&lt;BR /&gt;&lt;BR /&gt;Rgrds,&lt;BR /&gt;Rita&lt;BR /&gt;&lt;BR /&gt;....scripting is a good percentage of what we Admins do.  You may want to consider taking a course on this (Posix Shell Programming) to help you..I know it helped me.</description>
      <pubDate>Wed, 23 Oct 2002 10:56:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sar-report/m-p/2829957#M88636</guid>
      <dc:creator>Rita C Workman</dc:creator>
      <dc:date>2002-10-23T10:56:16Z</dc:date>
    </item>
  </channel>
</rss>

