- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Load Average
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-28-2009 12:32 PM
тАО04-28-2009 12:32 PM
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
CJ
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-28-2009 01:54 PM
тАО04-28-2009 01:54 PM
Solutionotherwise something simple like this would work.
var1=`uptime|awk -F : '{print $4}'|awk -F, '{print $1}'`
var2=`echo "$var1 * 100"|bc`
if [[ $var2 -gt 150 ]]
then
echo alert
else
echo ok
fi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-28-2009 02:40 PM
тАО04-28-2009 02:40 PM
Re: Load Average
Please find the attached script contained the Load Avarage +
Top 5 process which taken high memory +
Top 5 process which taken high CPU usage.
Hope this will help U.
Thanks
Prashant
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-28-2009 03:45 PM
тАО04-28-2009 03:45 PM
Re: Load Average
Note that load average itself is not an indication of trouble.
There are legitimate reasons for load average to shoot up, due to way applications are written.
This utility might provide some information on process memory use, which could provide data before the system goes crazy: http://www.hpux.ws/?p=8
Most likely cause of this problem is bad application code.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-28-2009 05:52 PM
тАО04-28-2009 05:52 PM
Re: Load Average
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.
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.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-29-2009 09:35 AM
тАО04-29-2009 09:35 AM
Re: Load Average
CJ
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-30-2009 04:49 AM
тАО04-30-2009 04:49 AM
Re: Load Average
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?
Any help would be great
Thanks
CJ