<?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: cannot sar -u in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/cannot-sar-u/m-p/2788477#M79063</link>
    <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Thanks everybody &lt;BR /&gt;I should read the man pages more !!!&lt;BR /&gt;&lt;BR /&gt;Thanks Again&lt;BR /&gt;Sri</description>
    <pubDate>Mon, 19 Aug 2002 04:09:39 GMT</pubDate>
    <dc:creator>Sritharan</dc:creator>
    <dc:date>2002-08-19T04:09:39Z</dc:date>
    <item>
      <title>cannot sar -u</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cannot-sar-u/m-p/2788472#M79058</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;when I do sar -u it shows &lt;BR /&gt;sar: Can't open /var/adm/sa/sa19&lt;BR /&gt;&lt;BR /&gt;how do I get the sar daemon run ???&lt;BR /&gt;&lt;BR /&gt;TIA&lt;BR /&gt;&lt;BR /&gt;Sri</description>
      <pubDate>Sun, 18 Aug 2002 15:09:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cannot-sar-u/m-p/2788472#M79058</guid>
      <dc:creator>Sritharan</dc:creator>
      <dc:date>2002-08-18T15:09:23Z</dc:date>
    </item>
    <item>
      <title>Re: cannot sar -u</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cannot-sar-u/m-p/2788473#M79059</link>
      <description>Hi Sri:&lt;BR /&gt;&lt;BR /&gt;If you don't specify a sampling interval, 'sar' looks for a previously recorded file.  Try something like:&lt;BR /&gt;&lt;BR /&gt;# sar 5 10&lt;BR /&gt;&lt;BR /&gt;This will yield 5-samples taken every 10-seconds.  See the man pages (1M) for more information.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Sun, 18 Aug 2002 16:58:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cannot-sar-u/m-p/2788473#M79059</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2002-08-18T16:58:26Z</dc:date>
    </item>
    <item>
      <title>Re: cannot sar -u</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cannot-sar-u/m-p/2788474#M79060</link>
      <description>Hi Sri,&lt;BR /&gt;&lt;BR /&gt;to setup "sadc" (the System Activity Data Collector) read the man page about "sadc" and follow the instruction about the "crontab" entries for "sa1" ("sa2" is not really needed).&lt;BR /&gt;&lt;BR /&gt;About an hour later you should be able to use "sar" without interval parameters!&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;Wodisch&lt;BR /&gt;</description>
      <pubDate>Sun, 18 Aug 2002 17:28:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cannot-sar-u/m-p/2788474#M79060</guid>
      <dc:creator>Wodisch_1</dc:creator>
      <dc:date>2002-08-18T17:28:11Z</dc:date>
    </item>
    <item>
      <title>Re: cannot sar -u</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cannot-sar-u/m-p/2788475#M79061</link>
      <description>Or you can just create the file which sar is looking for, in this case touch /var/adm/sa/sa19 would do it. The last two numbers reflect the date.&lt;BR /&gt;</description>
      <pubDate>Mon, 19 Aug 2002 00:51:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cannot-sar-u/m-p/2788475#M79061</guid>
      <dc:creator>nnf97</dc:creator>
      <dc:date>2002-08-19T00:51:23Z</dc:date>
    </item>
    <item>
      <title>Re: cannot sar -u</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cannot-sar-u/m-p/2788476#M79062</link>
      <description>Sri,&lt;BR /&gt;&lt;BR /&gt;Parameters were missing in your sar command, the correct syntax should be,&lt;BR /&gt;&lt;BR /&gt;sar -u &lt;T&gt; [n]&lt;BR /&gt;&lt;BR /&gt;where &lt;T&gt; is a compulsory argument which actually refer to sampling intervals (in seconds), and [n] is the number of repeats.  Do "man sar" to see details.&lt;BR /&gt;&lt;BR /&gt;BTW, there is no daemon process for sar (it doesn't require one).&lt;BR /&gt;&lt;BR /&gt;Rgds,&lt;BR /&gt;Philip&lt;/T&gt;&lt;/T&gt;</description>
      <pubDate>Mon, 19 Aug 2002 01:44:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cannot-sar-u/m-p/2788476#M79062</guid>
      <dc:creator>Philip Chan_1</dc:creator>
      <dc:date>2002-08-19T01:44:38Z</dc:date>
    </item>
    <item>
      <title>Re: cannot sar -u</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cannot-sar-u/m-p/2788477#M79063</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Thanks everybody &lt;BR /&gt;I should read the man pages more !!!&lt;BR /&gt;&lt;BR /&gt;Thanks Again&lt;BR /&gt;Sri</description>
      <pubDate>Mon, 19 Aug 2002 04:09:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cannot-sar-u/m-p/2788477#M79063</guid>
      <dc:creator>Sritharan</dc:creator>
      <dc:date>2002-08-19T04:09:39Z</dc:date>
    </item>
    <item>
      <title>Re: cannot sar -u</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cannot-sar-u/m-p/2788478#M79064</link>
      <description>What I do is run sar from cron every 20 minutes to give me a snapshot of the system. First make sure that the directory /var/adm/sa exists, if not create it. Then if you want to run sar in cron here is what I do on all of my machines:&lt;BR /&gt;&lt;BR /&gt;# Sar records every 20 minutes during working hours and hourly otherwise&lt;BR /&gt;0 * * * 0,6  /usr/lbin/sa/sa1&lt;BR /&gt;0 8-17 * * 1-5  /usr/lbin/sa/sa1 1200 3&lt;BR /&gt;0 18-7 * * 1-5  /usr/lbin/sa/sa1&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;good luck&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 20 Aug 2002 17:35:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cannot-sar-u/m-p/2788478#M79064</guid>
      <dc:creator>John Dvorchak</dc:creator>
      <dc:date>2002-08-20T17:35:45Z</dc:date>
    </item>
  </channel>
</rss>

