- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- CPU consumption
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
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-03-2001 05:21 AM
05-03-2001 05:21 AM
CPU consumption
I have a application which is consuming 98-99% of cpu timings. Can anyone suggest the possible reasons for that, and the remedies of them.
Thanks
Prashun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-03-2001 05:30 AM
05-03-2001 05:30 AM
Re: CPU consumption
- what's the application
- is it a process?
- some particular user?
- syslog messages?
generally: maybe restarting the app will solve it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-03-2001 05:39 AM
05-03-2001 05:39 AM
Re: CPU consumption
it needs the cpu time (I run SETI processing which takes all of one processor)
it is in a loop somewhere (bad programming)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-03-2001 05:46 AM
05-03-2001 05:46 AM
Re: CPU consumption
I have tried to put a time stamp,
Any other thing if you can tell
Prashun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-03-2001 06:02 AM
05-03-2001 06:02 AM
Re: CPU consumption
Do sar 2 10 and get the averages from there , where it shows the % of utilization in terms of or usr,sys,and i/o. Then if you have any indicators go from there and try with top , glance to know which processes are eating the CPU.
Manoj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-03-2001 06:26 AM
05-03-2001 06:26 AM
Re: CPU consumption
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-03-2001 06:39 AM
05-03-2001 06:39 AM
Re: CPU consumption
Can you elaborate a little bit more
Prashun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-03-2001 06:44 AM
05-03-2001 06:44 AM
Re: CPU consumption
Dave is absolutely correct. A single process with few interrupts (like waiting on an I/O to complete) can consume 100% of a processor, particularly in the absence of any competing processes.
There is not necessarily anything wrong with the code in a case like this.
More important than a percentage of the CPU consumed is the load average on your system. Use 'uptime' to see these values and/or use 'glance'. High load values (run queue depths) indicate contention for a processor (CPU). High CPU utilization alone may not be significant at all.
...JRF...