<?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 problem? in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/sar-problem/m-p/2834897#M89867</link>
    <description>Hi&lt;BR /&gt;Look at "man sar":&lt;BR /&gt;...&lt;BR /&gt;In the second form, with no sampling interval specified, sar extracts data from a previously recorded file,either the one specified by -f option or, by default, the standard system activity daily data file /var/adm/sa/sadd for the current day dd.&lt;BR /&gt;...&lt;BR /&gt;Chris</description>
    <pubDate>Tue, 29 Oct 2002 08:10:06 GMT</pubDate>
    <dc:creator>Christian Gebhardt</dc:creator>
    <dc:date>2002-10-29T08:10:06Z</dc:date>
    <item>
      <title>sar problem?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sar-problem/m-p/2834896#M89866</link>
      <description># sar&lt;BR /&gt;sar: Can't open /var/adm/sa/sa29&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;How to resolve the problem and the clue?</description>
      <pubDate>Tue, 29 Oct 2002 08:02:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sar-problem/m-p/2834896#M89866</guid>
      <dc:creator>leereg_6</dc:creator>
      <dc:date>2002-10-29T08:02:37Z</dc:date>
    </item>
    <item>
      <title>Re: sar problem?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sar-problem/m-p/2834897#M89867</link>
      <description>Hi&lt;BR /&gt;Look at "man sar":&lt;BR /&gt;...&lt;BR /&gt;In the second form, with no sampling interval specified, sar extracts data from a previously recorded file,either the one specified by -f option or, by default, the standard system activity daily data file /var/adm/sa/sadd for the current day dd.&lt;BR /&gt;...&lt;BR /&gt;Chris</description>
      <pubDate>Tue, 29 Oct 2002 08:10:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sar-problem/m-p/2834897#M89867</guid>
      <dc:creator>Christian Gebhardt</dc:creator>
      <dc:date>2002-10-29T08:10:06Z</dc:date>
    </item>
    <item>
      <title>Re: sar problem?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sar-problem/m-p/2834898#M89868</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;When you use sar in this form it is trying to read data from a collection file. -Man sar.&lt;BR /&gt;&lt;BR /&gt;sar can be used in two main ways one is to read from data previously collected and secondly direct collection:-&lt;BR /&gt;&lt;BR /&gt;sar -b 1 10&lt;BR /&gt;&lt;BR /&gt;The following started from cron each day will collect for a 24 hour period on a minute by minute basis.&lt;BR /&gt;It is designed to run for 24 hours and then a restart is required.&lt;BR /&gt;&lt;BR /&gt;----------------------&lt;BR /&gt;#!/bin/sh&lt;BR /&gt;&lt;BR /&gt;# 1 minute&lt;BR /&gt;period=${1:-"60"}&lt;BR /&gt;&lt;BR /&gt;# 24 hours worth&lt;BR /&gt;iterations=${2:-"`expr 86400 / $period`"}&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;echo "sar: $iterations iterations at $period second intervals"&lt;BR /&gt;/usr/sbin/sar -A   -o /var/adm/sa/sa`date +%d`   $period   $iterations &amp;gt; /dev/null&lt;BR /&gt;--------------------------&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;HTH&lt;BR /&gt;&lt;BR /&gt;Paula</description>
      <pubDate>Tue, 29 Oct 2002 08:14:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sar-problem/m-p/2834898#M89868</guid>
      <dc:creator>Paula J Frazer-Campbell</dc:creator>
      <dc:date>2002-10-29T08:14:33Z</dc:date>
    </item>
    <item>
      <title>Re: sar problem?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sar-problem/m-p/2834899#M89869</link>
      <description>it is an indication that the data collection need to be enabled for system activities.&lt;BR /&gt;&lt;BR /&gt;There are two scripts  /usr/lbin/sa/sa1 and /usr/lbin/sa/sa2&lt;BR /&gt; On Enable it through a cron at every 20 minutes ( ie., sa1  ) the data is collected at /usr/adm/sa directory as saDD where DD is the DAY of the month and reports are run in the same directory by script ( sa2) at the morning of next day. This can also be done through cron.&lt;BR /&gt;&lt;BR /&gt;Hope this is useful.&lt;BR /&gt;&lt;BR /&gt;A.Naga&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 29 Oct 2002 10:26:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sar-problem/m-p/2834899#M89869</guid>
      <dc:creator>Nagarathinam</dc:creator>
      <dc:date>2002-10-29T10:26:56Z</dc:date>
    </item>
  </channel>
</rss>

