<?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 help. in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/sar-command-help/m-p/3181933#M794966</link>
    <description>Team:&lt;BR /&gt;&lt;BR /&gt;Thanks for the reply. What i am trying to do is to put a simple command in a script to find out the cpu utilization ans load and based on that i am trying to connect to different machines. I hope i am clear. The bottomline is if machine a's load is more than machine d then the connection would go to ,machine d. That is what i am trying to achieve.&lt;BR /&gt;&lt;BR /&gt;Thanks Again,&lt;BR /&gt;&lt;BR /&gt;Joe.</description>
    <pubDate>Tue, 03 Feb 2004 16:38:28 GMT</pubDate>
    <dc:creator>joe_91</dc:creator>
    <dc:date>2004-02-03T16:38:28Z</dc:date>
    <item>
      <title>SAR Command help.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sar-command-help/m-p/3181929#M794962</link>
      <description>Team:&lt;BR /&gt;&lt;BR /&gt;I need to capture total cpu utilization and Load Average on the box using SAR. Can someone help me with the commands?&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;&lt;BR /&gt;Joe.</description>
      <pubDate>Tue, 03 Feb 2004 15:52:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sar-command-help/m-p/3181929#M794962</guid>
      <dc:creator>joe_91</dc:creator>
      <dc:date>2004-02-03T15:52:50Z</dc:date>
    </item>
    <item>
      <title>Re: SAR Command help.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sar-command-help/m-p/3181930#M794963</link>
      <description>The attached script does this and more.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Tue, 03 Feb 2004 15:56:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sar-command-help/m-p/3181930#M794963</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2004-02-03T15:56:55Z</dc:date>
    </item>
    <item>
      <title>Re: SAR Command help.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sar-command-help/m-p/3181931#M794964</link>
      <description>Hi Joe,&lt;BR /&gt;&lt;BR /&gt;sar -uq 5 10 &lt;BR /&gt;&lt;BR /&gt;will print 10 iterations of Utilization and Queue metrics (first and second row of each iteration respectively). &lt;BR /&gt;&lt;BR /&gt;If you want to collect the stats over a period of time, then you will need to enable sar in cron. Look at the man page of 'sa1' and how it can be implemented in cron. Once the data is being collected through cron (it will be output to /var/adm/sa), you can extract the previous information with the sar command (look at -s and -e options of sar)&lt;BR /&gt;&lt;BR /&gt;-Sri</description>
      <pubDate>Tue, 03 Feb 2004 16:01:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sar-command-help/m-p/3181931#M794964</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2004-02-03T16:01:33Z</dc:date>
    </item>
    <item>
      <title>Re: SAR Command help.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sar-command-help/m-p/3181932#M794965</link>
      <description>the sa1 history will be valuable.&lt;BR /&gt;an alternative is to run for command line redirected to file.&lt;BR /&gt;&lt;BR /&gt;sar -A 30 5000 &amp;gt; /tmp/outfile</description>
      <pubDate>Tue, 03 Feb 2004 16:17:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sar-command-help/m-p/3181932#M794965</guid>
      <dc:creator>doug mielke</dc:creator>
      <dc:date>2004-02-03T16:17:22Z</dc:date>
    </item>
    <item>
      <title>Re: SAR Command help.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sar-command-help/m-p/3181933#M794966</link>
      <description>Team:&lt;BR /&gt;&lt;BR /&gt;Thanks for the reply. What i am trying to do is to put a simple command in a script to find out the cpu utilization ans load and based on that i am trying to connect to different machines. I hope i am clear. The bottomline is if machine a's load is more than machine d then the connection would go to ,machine d. That is what i am trying to achieve.&lt;BR /&gt;&lt;BR /&gt;Thanks Again,&lt;BR /&gt;&lt;BR /&gt;Joe.</description>
      <pubDate>Tue, 03 Feb 2004 16:38:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sar-command-help/m-p/3181933#M794966</guid>
      <dc:creator>joe_91</dc:creator>
      <dc:date>2004-02-03T16:38:28Z</dc:date>
    </item>
    <item>
      <title>Re: SAR Command help.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sar-command-help/m-p/3181934#M794967</link>
      <description>use of the sa1 history will be easy. If you script from the command line, you'll have to run sar in the background, then query its output file to see instantanious load.&lt;BR /&gt;&lt;BR /&gt;or&lt;BR /&gt;If you tail the last entry of the sar history,&lt;BR /&gt;sar -f /var/adm/sa/sa02 &lt;BR /&gt;you'll be able to see the average load over prior 20 mins. ( time of this is configurable, as in the man sa1)</description>
      <pubDate>Tue, 03 Feb 2004 17:06:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sar-command-help/m-p/3181934#M794967</guid>
      <dc:creator>doug mielke</dc:creator>
      <dc:date>2004-02-03T17:06:31Z</dc:date>
    </item>
    <item>
      <title>Re: SAR Command help.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sar-command-help/m-p/3181935#M794968</link>
      <description>I am not really sure what you are asking but if you just want to take a snapshop of a system you can use sar:&lt;BR /&gt;&lt;BR /&gt;sar -u 1 1&lt;BR /&gt;&lt;BR /&gt;means get cpu stats 1 time for 1 second and looks like this:&lt;BR /&gt;&lt;BR /&gt;root&amp;gt; sar -u 1 1&lt;BR /&gt;&lt;BR /&gt;HP-UX servername B.11.11 U 9000/800    02/03/04&lt;BR /&gt;&lt;BR /&gt;16:27:05    %usr    %sys    %wio   %idle&lt;BR /&gt;16:27:06       8       2       0      90&lt;BR /&gt;</description>
      <pubDate>Tue, 03 Feb 2004 17:29:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sar-command-help/m-p/3181935#M794968</guid>
      <dc:creator>John Dvorchak</dc:creator>
      <dc:date>2004-02-03T17:29:03Z</dc:date>
    </item>
  </channel>
</rss>

