<?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 Exclude output from sar in a shell script in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/exclude-output-from-sar-in-a-shell-script/m-p/3900358#M282891</link>
    <description>Good day all;&lt;BR /&gt;&lt;BR /&gt;Need some help with a script, how can exclude from the following sar output the references to c0t0d0 and c2t0d0.&lt;BR /&gt;&lt;BR /&gt;c0t0d0    2.79    0.50       4      33    0.00    8.78&lt;BR /&gt;           c2t0d0    1.99    0.50       3      28    0.00    7.59&lt;BR /&gt;          c10t0d1    0.20    0.50       0       0    0.00    4.29&lt;BR /&gt;          c12t3d1&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thank you for your input.&lt;BR /&gt;&lt;BR /&gt;Norm&lt;BR /&gt;</description>
    <pubDate>Fri, 17 Nov 2006 14:59:57 GMT</pubDate>
    <dc:creator>wvsa</dc:creator>
    <dc:date>2006-11-17T14:59:57Z</dc:date>
    <item>
      <title>Exclude output from sar in a shell script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/exclude-output-from-sar-in-a-shell-script/m-p/3900358#M282891</link>
      <description>Good day all;&lt;BR /&gt;&lt;BR /&gt;Need some help with a script, how can exclude from the following sar output the references to c0t0d0 and c2t0d0.&lt;BR /&gt;&lt;BR /&gt;c0t0d0    2.79    0.50       4      33    0.00    8.78&lt;BR /&gt;           c2t0d0    1.99    0.50       3      28    0.00    7.59&lt;BR /&gt;          c10t0d1    0.20    0.50       0       0    0.00    4.29&lt;BR /&gt;          c12t3d1&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thank you for your input.&lt;BR /&gt;&lt;BR /&gt;Norm&lt;BR /&gt;</description>
      <pubDate>Fri, 17 Nov 2006 14:59:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/exclude-output-from-sar-in-a-shell-script/m-p/3900358#M282891</guid>
      <dc:creator>wvsa</dc:creator>
      <dc:date>2006-11-17T14:59:57Z</dc:date>
    </item>
    <item>
      <title>Re: Exclude output from sar in a shell script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/exclude-output-from-sar-in-a-shell-script/m-p/3900359#M282892</link>
      <description>Pipe your output through grep with the -v switch:&lt;BR /&gt;&lt;BR /&gt;sar |grep -v c0t0d0|grep -v c0t0d0</description>
      <pubDate>Fri, 17 Nov 2006 15:24:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/exclude-output-from-sar-in-a-shell-script/m-p/3900359#M282892</guid>
      <dc:creator>Christian Tremblay</dc:creator>
      <dc:date>2006-11-17T15:24:40Z</dc:date>
    </item>
    <item>
      <title>Re: Exclude output from sar in a shell script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/exclude-output-from-sar-in-a-shell-script/m-p/3900360#M282893</link>
      <description>Pipe it to grep -v. Something like this should do it for you.&lt;BR /&gt;&lt;BR /&gt;grep -ve '^c[02]t0d0[[:space:]]'</description>
      <pubDate>Fri, 17 Nov 2006 15:25:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/exclude-output-from-sar-in-a-shell-script/m-p/3900360#M282893</guid>
      <dc:creator>Heironimus</dc:creator>
      <dc:date>2006-11-17T15:25:15Z</dc:date>
    </item>
    <item>
      <title>Re: Exclude output from sar in a shell script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/exclude-output-from-sar-in-a-shell-script/m-p/3900361#M282894</link>
      <description>should be:&lt;BR /&gt;&lt;BR /&gt;sar |grep -v c0t0d0|grep -v c2t0d0</description>
      <pubDate>Fri, 17 Nov 2006 15:25:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/exclude-output-from-sar-in-a-shell-script/m-p/3900361#M282894</guid>
      <dc:creator>Christian Tremblay</dc:creator>
      <dc:date>2006-11-17T15:25:58Z</dc:date>
    </item>
    <item>
      <title>Re: Exclude output from sar in a shell script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/exclude-output-from-sar-in-a-shell-script/m-p/3900362#M282895</link>
      <description>sar 5 10| grep -vE "c0t0d0|c2t0d0"&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Yang</description>
      <pubDate>Fri, 17 Nov 2006 15:32:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/exclude-output-from-sar-in-a-shell-script/m-p/3900362#M282895</guid>
      <dc:creator>Yang Qin_1</dc:creator>
      <dc:date>2006-11-17T15:32:49Z</dc:date>
    </item>
  </channel>
</rss>

