- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: CPU utilization is high
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
Forums
Discussions
Discussions
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
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
05-14-2003 03:55 AM
05-14-2003 03:55 AM
CPU utilization is high
Regards
Karthic
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-14-2003 03:58 AM
05-14-2003 03:58 AM
Re: CPU utilization is high
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-14-2003 04:03 AM
05-14-2003 04:03 AM
Re: CPU utilization is high
ps -ef
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-14-2003 05:26 AM
05-14-2003 05:26 AM
Re: CPU utilization is high
Filo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-14-2003 05:44 AM
05-14-2003 05:44 AM
Re: CPU utilization is high
When CPU % is high you need to also check the CPU run queue for entries - so also go to CPU by Proc ("a" in glance) and the global report ("g" in glance). You should be looking at processes in CPU order, so go to the thresholds page ("o" in glance & set CPU as the sort criteria.
If you consistently have multiple processes in the run queue you definitely have the possibility of a CPU bottleneck.
Possible ways to mitigate this are as follows:
1) Use nice to prioritize important procs & conversely to deprioritize unimportant procs.
2) Use rtprio or rtsched on important procs.
3) Run batch jobs during non-peak hours
4) Add another (or faster) processor.
HTH,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-14-2003 06:56 AM
05-14-2003 06:56 AM
Re: CPU utilization is high
Which software version do you have
weblogic and java
Steve Steel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-14-2003 07:10 AM
05-14-2003 07:10 AM
Re: CPU utilization is high
take a look:
http://www.software.hp.com/products/performance/perfview.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-15-2003 12:04 AM
05-15-2003 12:04 AM
Re: CPU utilization is high
Regards
Karthic
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-15-2003 04:01 AM
05-15-2003 04:01 AM
Re: CPU utilization is high
while :
do
:
done
will consume 100% CPU. However, this will timewaster set of commands may not seem to affect other users as HP-UX will task-switch (aka, timeshare) so that each application gets a fair share of the CPU(s). This context switching can occur in less than one second.
If the applications normally consume 100% CPU and there are plans to have several of these programs running at the same time, you'll need additional CPUs installed to handle the load or be prepared to see the apps running slower as more are added to the mix.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-15-2003 04:21 AM
05-15-2003 04:21 AM
Re: CPU utilization is high
sar -q 5 10
will report the runqueue size and % of time processes were queued waiting fro CPU. It will repeat 10 times are 5 second intervals.
sar -qucw will show you runqueue, CPU utilization, system call and swap stats as a group.
Finally, you can cron the shell scripts sa1 and sa2 to collect and report on usage over time.
See the sar and sa1 man pages for more details.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-15-2003 05:53 AM
05-15-2003 05:53 AM
Re: CPU utilization is high
Is this one application taking up 100% and causing other applications to run slow?
You also say it is almost 100% frequently. Is that when the application starts and then the load goes down? Is that when a specific task is performed by the application? A large query for instance.
100% is not necessarily a bad thing. If the application is performing well and not affecting other applications. If the 100% is just a spike and not an average. There may not be a problem.