<?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: Can't open /var/adm/sa/sa22 in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/sar-can-t-open-var-adm-sa-sa22/m-p/2688894#M54945</link>
    <description>Hi ruediger,&lt;BR /&gt;&lt;BR /&gt;can you mention the PATCH id of the sar patch you were mentioning?&lt;BR /&gt;&lt;BR /&gt;-Vijay</description>
    <pubDate>Mon, 25 Mar 2002 14:35:55 GMT</pubDate>
    <dc:creator>K.Vijayaragavan.</dc:creator>
    <dc:date>2002-03-25T14:35:55Z</dc:date>
    <item>
      <title>sar: Can't open /var/adm/sa/sa22</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sar-can-t-open-var-adm-sa-sa22/m-p/2688879#M54930</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;1)When i do "sar" i get this error message stating "sar: Can't open /var/adm/sa/sa22".&lt;BR /&gt;&lt;BR /&gt;2)Created this file manually and when i do "sar" once again it does nothing.&lt;BR /&gt;&lt;BR /&gt;3)Issued the command (seen from man page)," /usr/lbin/sa/sadc /var/adm/sa/sa`date +%d` " to create sa## as described.&lt;BR /&gt;&lt;BR /&gt;After this if i do sar,&lt;BR /&gt;&lt;BR /&gt;It gives message stating --&amp;gt;&lt;BR /&gt;HP-UX wks1  B.11.00 A 9000/785  03/22/02&lt;BR /&gt;&lt;BR /&gt;"Memory fault(Core dump)"&lt;BR /&gt;&amp;lt;---&lt;BR /&gt;&lt;BR /&gt;How do i get it resolved?&lt;BR /&gt;&lt;BR /&gt;Note:&lt;BR /&gt;-&amp;gt;55% of /var is only used.&lt;BR /&gt;-&amp;gt;It is on HPUX 11.00 B2000 Wks&lt;BR /&gt;&lt;BR /&gt;-Vija</description>
      <pubDate>Fri, 22 Mar 2002 07:42:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sar-can-t-open-var-adm-sa-sa22/m-p/2688879#M54930</guid>
      <dc:creator>K.Vijayaragavan.</dc:creator>
      <dc:date>2002-03-22T07:42:59Z</dc:date>
    </item>
    <item>
      <title>Re: sar: Can't open /var/adm/sa/sa22</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sar-can-t-open-var-adm-sa-sa22/m-p/2688880#M54931</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;this is beacause you have not turned accounting on. you can do this from within sam&lt;BR /&gt;&lt;BR /&gt;cheers&lt;BR /&gt;John.</description>
      <pubDate>Fri, 22 Mar 2002 07:49:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sar-can-t-open-var-adm-sa-sa22/m-p/2688880#M54931</guid>
      <dc:creator>John Carr_2</dc:creator>
      <dc:date>2002-03-22T07:49:56Z</dc:date>
    </item>
    <item>
      <title>Re: sar: Can't open /var/adm/sa/sa22</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sar-can-t-open-var-adm-sa-sa22/m-p/2688881#M54932</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;if you launch sar without timing specifications it will get its data from an history file, which is created by a cronjob.&lt;BR /&gt;&lt;BR /&gt;To see current statistics use for example:&lt;BR /&gt;sar -d 5 5&lt;BR /&gt;(display disk statistics 5 times with 5 seconds interval)&lt;BR /&gt;&lt;BR /&gt;good luck,&lt;BR /&gt;Thierry.</description>
      <pubDate>Fri, 22 Mar 2002 07:53:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sar-can-t-open-var-adm-sa-sa22/m-p/2688881#M54932</guid>
      <dc:creator>Thierry Poels_1</dc:creator>
      <dc:date>2002-03-22T07:53:11Z</dc:date>
    </item>
    <item>
      <title>Re: sar: Can't open /var/adm/sa/sa22</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sar-can-t-open-var-adm-sa-sa22/m-p/2688882#M54933</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;to inetractively run sar try these commands&lt;BR /&gt;&lt;BR /&gt;sar 1 5&lt;BR /&gt;&lt;BR /&gt;sar -o temp 60 10&lt;BR /&gt;&lt;BR /&gt;sar -d -f temp&lt;BR /&gt;&lt;BR /&gt;sar -u -M -f temp&lt;BR /&gt;&lt;BR /&gt;checkout man pages&lt;BR /&gt;&lt;BR /&gt;cheers&lt;BR /&gt;John.</description>
      <pubDate>Fri, 22 Mar 2002 07:53:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sar-can-t-open-var-adm-sa-sa22/m-p/2688882#M54933</guid>
      <dc:creator>John Carr_2</dc:creator>
      <dc:date>2002-03-22T07:53:15Z</dc:date>
    </item>
    <item>
      <title>Re: sar: Can't open /var/adm/sa/sa22</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sar-can-t-open-var-adm-sa-sa22/m-p/2688883#M54934</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;Cron this to start each day, I use 05:00 Hrs&lt;BR /&gt;And it will create and run sar throughout the day - each and every day.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;00 05 * * * /sysadmin/sardump &lt;BR /&gt;&lt;BR /&gt;----------------Cut here------------------&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;&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 \                                             &lt;BR /&gt;  -o /var/adm/sa/sa`date +%d` \                                &lt;BR /&gt;  $period \                                                    &lt;BR /&gt;  $iterations &amp;gt; /dev/null                                      &lt;BR /&gt;------------------ Cut Here-----------&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Change the -A switch to suit.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;HTH&lt;BR /&gt;&lt;BR /&gt;Paula</description>
      <pubDate>Fri, 22 Mar 2002 08:05:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sar-can-t-open-var-adm-sa-sa22/m-p/2688883#M54934</guid>
      <dc:creator>Paula J Frazer-Campbell</dc:creator>
      <dc:date>2002-03-22T08:05:51Z</dc:date>
    </item>
    <item>
      <title>Re: sar: Can't open /var/adm/sa/sa22</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sar-can-t-open-var-adm-sa-sa22/m-p/2688884#M54935</link>
      <description>There should be a sa1 script in your /usr/lbin/sa dir. You can put it in your crontab file to create a daily sar output file like:&lt;BR /&gt;0 * * * * /usr/lbin/sa/sa1 1200 3&lt;BR /&gt;This script creates an entry every 20 minutes in the output file sa&lt;DATE&gt;.&lt;BR /&gt;See man sa1 for more details.&lt;BR /&gt;And remember to create the /var/adm/sa dir if it doesn't already exist.&lt;BR /&gt;&lt;BR /&gt;Ruediger&lt;BR /&gt;&lt;/DATE&gt;</description>
      <pubDate>Fri, 22 Mar 2002 08:33:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sar-can-t-open-var-adm-sa-sa22/m-p/2688884#M54935</guid>
      <dc:creator>Ruediger Noack</dc:creator>
      <dc:date>2002-03-22T08:33:08Z</dc:date>
    </item>
    <item>
      <title>Re: sar: Can't open /var/adm/sa/sa22</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sar-can-t-open-var-adm-sa-sa22/m-p/2688885#M54936</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Accounting is already turned on.&lt;BR /&gt;&lt;BR /&gt;checked "/etc/rc.config.d/acct" for the entry "START_ACCT=1" and &lt;BR /&gt;rebooted the workstation&lt;BR /&gt;&lt;BR /&gt;Still "sar , sar -d" gives memory fault(core dump message) .&lt;BR /&gt;&lt;BR /&gt;rest all like,&lt;BR /&gt;1)&lt;BR /&gt;"sar 1 5 and &lt;BR /&gt;sar -o temp 60 10" &lt;BR /&gt;works fine.&lt;BR /&gt;&lt;BR /&gt;2)&lt;BR /&gt;"sar -d -f temp" - returns to #prompt.&lt;BR /&gt;&lt;BR /&gt;3)&lt;BR /&gt;"sar -u -M -f temp " - just returns to #prompt.&lt;BR /&gt;&lt;BR /&gt;-Vijay</description>
      <pubDate>Fri, 22 Mar 2002 08:37:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sar-can-t-open-var-adm-sa-sa22/m-p/2688885#M54936</guid>
      <dc:creator>K.Vijayaragavan.</dc:creator>
      <dc:date>2002-03-22T08:37:45Z</dc:date>
    </item>
    <item>
      <title>Re: sar: Can't open /var/adm/sa/sa22</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sar-can-t-open-var-adm-sa-sa22/m-p/2688886#M54937</link>
      <description>Hi Ruediger,&lt;BR /&gt;&lt;BR /&gt;Tried as you mentioned.&lt;BR /&gt;But still "sar" and "sar -d " ,displays "Memory fault(Core dump)"&lt;BR /&gt;&lt;BR /&gt;-Vijay</description>
      <pubDate>Fri, 22 Mar 2002 08:46:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sar-can-t-open-var-adm-sa-sa22/m-p/2688886#M54937</guid>
      <dc:creator>K.Vijayaragavan.</dc:creator>
      <dc:date>2002-03-22T08:46:42Z</dc:date>
    </item>
    <item>
      <title>Re: sar: Can't open /var/adm/sa/sa22</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sar-can-t-open-var-adm-sa-sa22/m-p/2688887#M54938</link>
      <description>Do you need a sar patch?&lt;BR /&gt;&lt;BR /&gt;On my 11.0 box i have installed the patch bundle from March 2001 but no further single patches for sar.&lt;BR /&gt;&lt;BR /&gt;Ruediger&lt;BR /&gt;</description>
      <pubDate>Fri, 22 Mar 2002 09:06:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sar-can-t-open-var-adm-sa-sa22/m-p/2688887#M54938</guid>
      <dc:creator>Ruediger Noack</dc:creator>
      <dc:date>2002-03-22T09:06:02Z</dc:date>
    </item>
    <item>
      <title>Re: sar: Can't open /var/adm/sa/sa22</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sar-can-t-open-var-adm-sa-sa22/m-p/2688888#M54939</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;2) &lt;BR /&gt;"sar -d -f temp" - returns to #prompt. &lt;BR /&gt;&lt;BR /&gt;3) &lt;BR /&gt;"sar -u -M -f temp " - just returns to #prompt. &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;did it create a file called temp with the output ?&lt;BR /&gt;&lt;BR /&gt;John.</description>
      <pubDate>Fri, 22 Mar 2002 09:12:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sar-can-t-open-var-adm-sa-sa22/m-p/2688888#M54939</guid>
      <dc:creator>John Carr_2</dc:creator>
      <dc:date>2002-03-22T09:12:57Z</dc:date>
    </item>
    <item>
      <title>Re: sar: Can't open /var/adm/sa/sa22</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sar-can-t-open-var-adm-sa-sa22/m-p/2688889#M54940</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Finally the answer may be as mentioned in this link . Let me check that too.&lt;BR /&gt;&lt;A href="http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xaeb779bffde7d4118fef0090279cd0f9,00.html" target="_blank"&gt;http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xaeb779bffde7d4118fef0090279cd0f9,00.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;-Vijay</description>
      <pubDate>Fri, 22 Mar 2002 09:24:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sar-can-t-open-var-adm-sa-sa22/m-p/2688889#M54940</guid>
      <dc:creator>K.Vijayaragavan.</dc:creator>
      <dc:date>2002-03-22T09:24:10Z</dc:date>
    </item>
    <item>
      <title>Re: sar: Can't open /var/adm/sa/sa22</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sar-can-t-open-var-adm-sa-sa22/m-p/2688890#M54941</link>
      <description>Hi John,&lt;BR /&gt;&lt;BR /&gt;Yes! it creates the temp file.&lt;BR /&gt;&lt;BR /&gt;But the commands "sar &amp;amp; sar -d " alone wont work and gives "memory fault (core dumped) error." &lt;BR /&gt;&lt;BR /&gt;-Vijay</description>
      <pubDate>Fri, 22 Mar 2002 12:00:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sar-can-t-open-var-adm-sa-sa22/m-p/2688890#M54941</guid>
      <dc:creator>K.Vijayaragavan.</dc:creator>
      <dc:date>2002-03-22T12:00:44Z</dc:date>
    </item>
    <item>
      <title>Re: sar: Can't open /var/adm/sa/sa22</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sar-can-t-open-var-adm-sa-sa22/m-p/2688891#M54942</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;you have had 16 responses from people donating there time and efforts to help you, assigning points is a way of showing recognition for there contributions. please give a little time back and donate some points.&lt;BR /&gt;&lt;BR /&gt;John&lt;BR /&gt;&lt;BR /&gt;try &lt;BR /&gt;&lt;BR /&gt;sar 1 99 -d&lt;BR /&gt;&lt;BR /&gt;John.</description>
      <pubDate>Fri, 22 Mar 2002 12:46:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sar-can-t-open-var-adm-sa-sa22/m-p/2688891#M54942</guid>
      <dc:creator>John Carr_2</dc:creator>
      <dc:date>2002-03-22T12:46:02Z</dc:date>
    </item>
    <item>
      <title>Re: sar: Can't open /var/adm/sa/sa22</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sar-can-t-open-var-adm-sa-sa22/m-p/2688892#M54943</link>
      <description>Hi Vijay,&lt;BR /&gt;&lt;BR /&gt;Perhaps your sa## file is corrupted.  I'd delete it (rm /var/adm/sa/sa##) and recreate it with:&lt;BR /&gt;/usr/lbin/sa/sa1&lt;BR /&gt;&lt;BR /&gt;Then running sar (without specifying the interval and number of repetitions) should automatically select the sa## file for the current date.&lt;BR /&gt;&lt;BR /&gt;man sa1 for more info, especially for running it via cron.&lt;BR /&gt;&lt;BR /&gt;By the way, you don't have to turn on accounting for sar.&lt;BR /&gt;&lt;BR /&gt;Darrell</description>
      <pubDate>Fri, 22 Mar 2002 14:42:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sar-can-t-open-var-adm-sa-sa22/m-p/2688892#M54943</guid>
      <dc:creator>Darrell Allen</dc:creator>
      <dc:date>2002-03-22T14:42:14Z</dc:date>
    </item>
    <item>
      <title>Re: sar: Can't open /var/adm/sa/sa22</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sar-can-t-open-var-adm-sa-sa22/m-p/2688893#M54944</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;You have to specify sar with some argument like sar 2 2 or sar -d 2 2 to make it work&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Manoj Srivastava</description>
      <pubDate>Fri, 22 Mar 2002 14:55:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sar-can-t-open-var-adm-sa-sa22/m-p/2688893#M54944</guid>
      <dc:creator>MANOJ SRIVASTAVA</dc:creator>
      <dc:date>2002-03-22T14:55:40Z</dc:date>
    </item>
    <item>
      <title>Re: sar: Can't open /var/adm/sa/sa22</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sar-can-t-open-var-adm-sa-sa22/m-p/2688894#M54945</link>
      <description>Hi ruediger,&lt;BR /&gt;&lt;BR /&gt;can you mention the PATCH id of the sar patch you were mentioning?&lt;BR /&gt;&lt;BR /&gt;-Vijay</description>
      <pubDate>Mon, 25 Mar 2002 14:35:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sar-can-t-open-var-adm-sa-sa22/m-p/2688894#M54945</guid>
      <dc:creator>K.Vijayaragavan.</dc:creator>
      <dc:date>2002-03-25T14:35:55Z</dc:date>
    </item>
    <item>
      <title>Re: sar: Can't open /var/adm/sa/sa22</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sar-can-t-open-var-adm-sa-sa22/m-p/2688895#M54946</link>
      <description>Sorry, I have *NOT* installed an additional sar patch, only the complete patch bundle March 2001 on my box and sar runs fine.&lt;BR /&gt;May be there are some filesets / patches on your box not configured?&lt;BR /&gt;Check with:&lt;BR /&gt;swlist -l fileset -a state&lt;BR /&gt;&lt;BR /&gt;Ruediger&lt;BR /&gt;</description>
      <pubDate>Tue, 26 Mar 2002 10:18:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sar-can-t-open-var-adm-sa-sa22/m-p/2688895#M54946</guid>
      <dc:creator>Ruediger Noack</dc:creator>
      <dc:date>2002-03-26T10:18:14Z</dc:date>
    </item>
  </channel>
</rss>

