<?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 Using the sar command? in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/using-the-sar-command/m-p/2485236#M799223</link>
    <description>Hello Everyone,&lt;BR /&gt;&lt;BR /&gt;I keep trying to issue the sar command and receive the following message:-&lt;BR /&gt;&lt;BR /&gt;root@viper:/var/adm/sa# sar -v&lt;BR /&gt;&lt;BR /&gt;sar: Can't open /var/adm/sa/sa22&lt;BR /&gt;&lt;BR /&gt;Anyone have any idea why I am getting this message? I did not think you had to do anything special in regards to setting up sar.  Is this not a standard command?&lt;BR /&gt;&lt;BR /&gt;Any help is greatly appreciated...&lt;BR /&gt;</description>
    <pubDate>Mon, 22 Jan 2001 20:04:04 GMT</pubDate>
    <dc:creator>Shaun Aldrich_1</dc:creator>
    <dc:date>2001-01-22T20:04:04Z</dc:date>
    <item>
      <title>Using the sar command?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/using-the-sar-command/m-p/2485236#M799223</link>
      <description>Hello Everyone,&lt;BR /&gt;&lt;BR /&gt;I keep trying to issue the sar command and receive the following message:-&lt;BR /&gt;&lt;BR /&gt;root@viper:/var/adm/sa# sar -v&lt;BR /&gt;&lt;BR /&gt;sar: Can't open /var/adm/sa/sa22&lt;BR /&gt;&lt;BR /&gt;Anyone have any idea why I am getting this message? I did not think you had to do anything special in regards to setting up sar.  Is this not a standard command?&lt;BR /&gt;&lt;BR /&gt;Any help is greatly appreciated...&lt;BR /&gt;</description>
      <pubDate>Mon, 22 Jan 2001 20:04:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/using-the-sar-command/m-p/2485236#M799223</guid>
      <dc:creator>Shaun Aldrich_1</dc:creator>
      <dc:date>2001-01-22T20:04:04Z</dc:date>
    </item>
    <item>
      <title>Re: Using the sar command?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/using-the-sar-command/m-p/2485237#M799224</link>
      <description>When you issue the sar command without specifying an interval and/or number of measurements it assumes that you want to query the sar history files, which live in /var/adm/sa.  These files are not created by default.  You must create root cron jobs to collect and format the data properly.  Man sar, sa, sa1, sa2 will give you more information.  The period of cron jobs will vary depending upon the granularity you decide is appropriate.  An example is below:&lt;BR /&gt;&lt;BR /&gt;#&lt;BR /&gt;# Caputure system data for sar&lt;BR /&gt;#&lt;BR /&gt;0 * * * 0,6  /usr/lbin/sa/sa1 1200 3&lt;BR /&gt;0 8-17 * * 1-5  /usr/lbin/sa/sa1 900 4&lt;BR /&gt;0 18-7 * * 1-5  /usr/lbin/sa/sa1 1200 3&lt;BR /&gt;45 23 * * 1-5        /usr/lbin/sa/sa2 -s 0:00 -e 23:30 -i 3600 -A&lt;BR /&gt;15 6 * * * find /var/adm/sa -name 'sa*' -mtime +7 -exec rm {} \; &amp;gt; /dev/null 2&amp;gt;&amp;amp;1</description>
      <pubDate>Mon, 22 Jan 2001 20:18:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/using-the-sar-command/m-p/2485237#M799224</guid>
      <dc:creator>Alan Riggs</dc:creator>
      <dc:date>2001-01-22T20:18:29Z</dc:date>
    </item>
  </channel>
</rss>

