<?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: Load Average in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/load-average/m-p/4409860#M663142</link>
    <description>If you have glance plus alerts are built in and can be configured to send an email.&lt;BR /&gt;&lt;BR /&gt;otherwise something simple like this would work.&lt;BR /&gt;&lt;BR /&gt;var1=`uptime|awk -F : '{print $4}'|awk -F, '{print $1}'`&lt;BR /&gt;var2=`echo "$var1 * 100"|bc`&lt;BR /&gt;if [[ $var2 -gt 150 ]]&lt;BR /&gt;then&lt;BR /&gt;        echo alert&lt;BR /&gt;else&lt;BR /&gt;        echo ok&lt;BR /&gt;fi&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Tue, 28 Apr 2009 20:54:27 GMT</pubDate>
    <dc:creator>Tim Nelson</dc:creator>
    <dc:date>2009-04-28T20:54:27Z</dc:date>
    <item>
      <title>Load Average</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/load-average/m-p/4409859#M663141</link>
      <description>recently we had a server where the load average was above 6.20. I am looking for a smile script to run in the cron that will alert all UNIX admins when the load average starts to go above 1.50 and then adjust the load average later if needed.&lt;BR /&gt;Processes started spawning one after another to where we were not able to kill them. We ended up bouncing the system. Any help will be greatly appreciated&lt;BR /&gt;&lt;BR /&gt;CJ&lt;BR /&gt;</description>
      <pubDate>Tue, 28 Apr 2009 19:32:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/load-average/m-p/4409859#M663141</guid>
      <dc:creator>Charles Keyser</dc:creator>
      <dc:date>2009-04-28T19:32:27Z</dc:date>
    </item>
    <item>
      <title>Re: Load Average</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/load-average/m-p/4409860#M663142</link>
      <description>If you have glance plus alerts are built in and can be configured to send an email.&lt;BR /&gt;&lt;BR /&gt;otherwise something simple like this would work.&lt;BR /&gt;&lt;BR /&gt;var1=`uptime|awk -F : '{print $4}'|awk -F, '{print $1}'`&lt;BR /&gt;var2=`echo "$var1 * 100"|bc`&lt;BR /&gt;if [[ $var2 -gt 150 ]]&lt;BR /&gt;then&lt;BR /&gt;        echo alert&lt;BR /&gt;else&lt;BR /&gt;        echo ok&lt;BR /&gt;fi&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 28 Apr 2009 20:54:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/load-average/m-p/4409860#M663142</guid>
      <dc:creator>Tim Nelson</dc:creator>
      <dc:date>2009-04-28T20:54:27Z</dc:date>
    </item>
    <item>
      <title>Re: Load Average</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/load-average/m-p/4409861#M663143</link>
      <description>Hi Charles, &lt;BR /&gt;&lt;BR /&gt;Please find the attached script contained the Load Avarage +&lt;BR /&gt;Top 5 process which taken high memory + &lt;BR /&gt;Top 5 process which taken high CPU usage.&lt;BR /&gt;&lt;BR /&gt;Hope this will help U.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;Prashant</description>
      <pubDate>Tue, 28 Apr 2009 21:40:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/load-average/m-p/4409861#M663143</guid>
      <dc:creator>Prashantj</dc:creator>
      <dc:date>2009-04-28T21:40:48Z</dc:date>
    </item>
    <item>
      <title>Re: Load Average</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/load-average/m-p/4409862#M663144</link>
      <description>Shalom CJ,&lt;BR /&gt;&lt;BR /&gt;Note that load average itself is not an indication of trouble.&lt;BR /&gt;&lt;BR /&gt;There are legitimate reasons for load average to shoot up, due to way applications are written.&lt;BR /&gt;&lt;BR /&gt;This utility might provide some information on process memory use, which could provide data before the system goes crazy: &lt;A href="http://www.hpux.ws/?p=8" target="_blank"&gt;http://www.hpux.ws/?p=8&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Most likely cause of this problem is bad application code.&lt;BR /&gt;&lt;BR /&gt;SEP&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 28 Apr 2009 22:45:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/load-average/m-p/4409862#M663144</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2009-04-28T22:45:33Z</dc:date>
    </item>
    <item>
      <title>Re: Load Average</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/load-average/m-p/4409863#M663145</link>
      <description>There is no way to generalize this task. You have a runaway set of processes so the first task is to identify them. The problem with a monitor script is that it can easily make mistakes when things are happening rapidly and start killing HP-UX processes, thus causing a crash. &lt;BR /&gt; &lt;BR /&gt;There is no method to "adjust the load average" as this is nothing more than a measure of the number of processes that are in the run queue. Since it is an average over time, it is a very poor measurement of system load. A run queue average that is much higher than the number of CPUs can indicate a very normal operation of hundreds of short-lived processes. Of course, it can also occur with runaway processes.&lt;BR /&gt; &lt;BR /&gt;So you have to identify the processes and then stop running them until the cause is located and fixed. Using the OS to monitor and try to kill some processes without causing more problems is asking for worse problems. Find the programmer and get the code repaired.</description>
      <pubDate>Wed, 29 Apr 2009 00:52:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/load-average/m-p/4409863#M663145</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2009-04-29T00:52:44Z</dc:date>
    </item>
    <item>
      <title>Re: Load Average</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/load-average/m-p/4409864#M663146</link>
      <description>Thanks everyone for your input ans assistance. It has been a great help&lt;BR /&gt;&lt;BR /&gt;CJ</description>
      <pubDate>Wed, 29 Apr 2009 16:35:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/load-average/m-p/4409864#M663146</guid>
      <dc:creator>Charles Keyser</dc:creator>
      <dc:date>2009-04-29T16:35:14Z</dc:date>
    </item>
    <item>
      <title>Re: Load Average</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/load-average/m-p/4409865#M663147</link>
      <description>Prashantj&lt;BR /&gt;&lt;BR /&gt;I used your script and it is awesome, is it possible to be modified to check the number of processes running and to monitor spikes?&lt;BR /&gt;Any help would be great&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;CJ</description>
      <pubDate>Thu, 30 Apr 2009 11:49:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/load-average/m-p/4409865#M663147</guid>
      <dc:creator>Charles Keyser</dc:creator>
      <dc:date>2009-04-30T11:49:34Z</dc:date>
    </item>
  </channel>
</rss>

