<?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 command doesn't run correctly in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/sar-command-doesn-t-run-correctly/m-p/3547875#M224375</link>
    <description>Hi,&lt;BR /&gt;&lt;BR /&gt;If you have not configured it is crontab and give sar at command prompt and get this error, this is perhaps because you are not providing any arguments to it.&lt;BR /&gt;&lt;BR /&gt;On my system :-&lt;BR /&gt;iocbk101:/tmp/som&amp;gt;&amp;gt;sar&lt;BR /&gt;sar: Can't open /var/adm/sa/sa19&lt;BR /&gt;&lt;BR /&gt;iocbk101:/tmp/som&amp;gt;&amp;gt;sar  1 11111&lt;BR /&gt;&lt;BR /&gt;HP-UX iocbk101 B.11.11 U 9000/800    05/19/05&lt;BR /&gt;&lt;BR /&gt;22:46:05    %usr    %sys    %wio   %idle&lt;BR /&gt;22:46:06       9      56      35       0&lt;BR /&gt;22:46:07       8      61      31       0&lt;BR /&gt;22:46:08       8      72      20       0&lt;BR /&gt;22:46:09      10      65      25       0&lt;BR /&gt;22:46:10      10      69      21       0&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;Devender</description>
    <pubDate>Thu, 19 May 2005 12:16:34 GMT</pubDate>
    <dc:creator>Devender Khatana</dc:creator>
    <dc:date>2005-05-19T12:16:34Z</dc:date>
    <item>
      <title>sar command doesn't run correctly</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sar-command-doesn-t-run-correctly/m-p/3547870#M224370</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;I'm getting the following error when running sar command.&lt;BR /&gt;sar: Can't open /var/adm/sa/sa19&lt;BR /&gt;That sa directory structure is missing on my system (11.11), what's wrong ?&lt;BR /&gt;Should I configure sar in advance ?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 19 May 2005 06:57:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sar-command-doesn-t-run-correctly/m-p/3547870#M224370</guid>
      <dc:creator>Marco_67</dc:creator>
      <dc:date>2005-05-19T06:57:53Z</dc:date>
    </item>
    <item>
      <title>Re: sar command doesn't run correctly</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sar-command-doesn-t-run-correctly/m-p/3547871#M224371</link>
      <description>Hi Marco,&lt;BR /&gt;&lt;BR /&gt;could you check for the line&lt;BR /&gt;&lt;BR /&gt;/var/spool/cron/crontabs# crontab -l sys&lt;BR /&gt;#&lt;BR /&gt;# -- SAR informatie&lt;BR /&gt;#&lt;BR /&gt;0,5,10,15,20,25,30,35,40,45,50,55 * * * 0-6 /usr/lib/sa/sa1&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Robert-Jan</description>
      <pubDate>Thu, 19 May 2005 07:03:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sar-command-doesn-t-run-correctly/m-p/3547871#M224371</guid>
      <dc:creator>Robert-Jan Goossens</dc:creator>
      <dc:date>2005-05-19T07:03:11Z</dc:date>
    </item>
    <item>
      <title>Re: sar command doesn't run correctly</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sar-command-doesn-t-run-correctly/m-p/3547872#M224372</link>
      <description>Hi Robert,&lt;BR /&gt;&lt;BR /&gt;that line is missing on my crontab...&lt;BR /&gt;Should I add it ?&lt;BR /&gt;What does it do ?&lt;BR /&gt;&lt;BR /&gt;Thanks for the moment</description>
      <pubDate>Thu, 19 May 2005 07:08:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sar-command-doesn-t-run-correctly/m-p/3547872#M224372</guid>
      <dc:creator>Marco_67</dc:creator>
      <dc:date>2005-05-19T07:08:34Z</dc:date>
    </item>
    <item>
      <title>Re: sar command doesn't run correctly</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sar-command-doesn-t-run-correctly/m-p/3547873#M224373</link>
      <description>Typing "sar" at the command prompt gives you the last 24 hours of history.  Like Robert-Jan suggests if you want to type sar without that error to see the last 24 hours.  You have to set up that crontab entry so it collects the information.&lt;BR /&gt;Otherwise if you are just trying to see current system stats.  You need flags on it for example:&lt;BR /&gt;# sar -v 5 100&lt;BR /&gt;&lt;BR /&gt;(Theres quite a few so you'll want to check ou the man page.)</description>
      <pubDate>Thu, 19 May 2005 07:16:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sar-command-doesn-t-run-correctly/m-p/3547873#M224373</guid>
      <dc:creator>Dave Hutton</dc:creator>
      <dc:date>2005-05-19T07:16:36Z</dc:date>
    </item>
    <item>
      <title>Re: sar command doesn't run correctly</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sar-command-doesn-t-run-correctly/m-p/3547874#M224374</link>
      <description>&lt;BR /&gt;are you trying to run sar manually from command prompt?&lt;BR /&gt;&lt;BR /&gt;you system does not have /var/adm/sa directory, create it and see whether sar runs properly&lt;BR /&gt;&lt;BR /&gt;also, looks like your crontab is not configured with sar to run automatically, you can add the  crontab  line mentioned so that it can run automatically to collect system statistics periodically&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Gopi</description>
      <pubDate>Thu, 19 May 2005 07:21:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sar-command-doesn-t-run-correctly/m-p/3547874#M224374</guid>
      <dc:creator>Gopi Sekar</dc:creator>
      <dc:date>2005-05-19T07:21:53Z</dc:date>
    </item>
    <item>
      <title>Re: sar command doesn't run correctly</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sar-command-doesn-t-run-correctly/m-p/3547875#M224375</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;If you have not configured it is crontab and give sar at command prompt and get this error, this is perhaps because you are not providing any arguments to it.&lt;BR /&gt;&lt;BR /&gt;On my system :-&lt;BR /&gt;iocbk101:/tmp/som&amp;gt;&amp;gt;sar&lt;BR /&gt;sar: Can't open /var/adm/sa/sa19&lt;BR /&gt;&lt;BR /&gt;iocbk101:/tmp/som&amp;gt;&amp;gt;sar  1 11111&lt;BR /&gt;&lt;BR /&gt;HP-UX iocbk101 B.11.11 U 9000/800    05/19/05&lt;BR /&gt;&lt;BR /&gt;22:46:05    %usr    %sys    %wio   %idle&lt;BR /&gt;22:46:06       9      56      35       0&lt;BR /&gt;22:46:07       8      61      31       0&lt;BR /&gt;22:46:08       8      72      20       0&lt;BR /&gt;22:46:09      10      65      25       0&lt;BR /&gt;22:46:10      10      69      21       0&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;Devender</description>
      <pubDate>Thu, 19 May 2005 12:16:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sar-command-doesn-t-run-correctly/m-p/3547875#M224375</guid>
      <dc:creator>Devender Khatana</dc:creator>
      <dc:date>2005-05-19T12:16:34Z</dc:date>
    </item>
    <item>
      <title>Re: sar command doesn't run correctly</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sar-command-doesn-t-run-correctly/m-p/3547876#M224376</link>
      <description>It could simply be that you are not placing the t &amp;amp; n with the command (time interval and number of obs)&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 24 Feb 2006 12:24:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sar-command-doesn-t-run-correctly/m-p/3547876#M224376</guid>
      <dc:creator>Rafi Sheikh</dc:creator>
      <dc:date>2006-02-24T12:24:29Z</dc:date>
    </item>
    <item>
      <title>Re: sar command doesn't run correctly</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sar-command-doesn-t-run-correctly/m-p/3547877#M224377</link>
      <description>Yes - you need to create the directory structure and then setup sar:&lt;BR /&gt;&lt;BR /&gt;mkdir /var/adm/sa/&lt;BR /&gt;&lt;BR /&gt;The in root's cron, something like:&lt;BR /&gt;&lt;BR /&gt;#&lt;BR /&gt;# SAR - for sarcheck&lt;BR /&gt;0 * * * * /usr/lib/sa/sa1&lt;BR /&gt;10,20,30,40,50 * * * * /usr/lib/sa/sa1&lt;BR /&gt;# reduce the sar data&lt;BR /&gt;5 19 * * * /usr/lib/sa/sa2 -s 5:00 -e 19:01 -i 600 -A&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Rgds...Geoff</description>
      <pubDate>Fri, 24 Feb 2006 12:27:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sar-command-doesn-t-run-correctly/m-p/3547877#M224377</guid>
      <dc:creator>Geoff Wild</dc:creator>
      <dc:date>2006-02-24T12:27:11Z</dc:date>
    </item>
  </channel>
</rss>

