- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- sleep taking a lot of CPU
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
10-06-2005 09:15 PM
10-06-2005 09:15 PM
sleep taking a lot of CPU
some time ago I installed OpenView Performance manager.
I am now looking at the graphs, in particular the 'cpu per process' graph.
I notice that the a process called 'sleep' sometimes takes up around 40% CPU.
I am guessing a script of apps is using the 'sleep' command.
I did a test with a 'sleep 60' and running top but sleep doesn't even show up in the top process list.
My question, can 'sleep' take so much CPU? There is also possibility that OVPM is wrong.
With kind regards,
KRis
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-06-2005 09:19 PM
10-06-2005 09:19 PM
Re: sleep taking a lot of CPU
Is OpenView doing cpu per process correctly??
did you check if the sleep process is sleep command and not the script called sleep.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-06-2005 09:23 PM
10-06-2005 09:23 PM
Re: sleep taking a lot of CPU
sleep is a state of a process waiting for resources and it can be a process by sleep command. It would be helpful to dig more if we have more infor from your side.
-Arun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-06-2005 09:40 PM
10-06-2005 09:40 PM
Re: sleep taking a lot of CPU
Also, I am only shown the name of the process, not the full path to the actual binary so I don't know if the sleep process I see is actually the UNIX default sleep process or some apps that is called sleep.
Kris
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-06-2005 09:51 PM
10-06-2005 09:51 PM
Re: sleep taking a lot of CPU
# sleep 100&
# UNIX95= ps -ef -o sz= -o vsz= -o pid= -o args= -o ruser= -o pcpu | grep 'sleep'
16 68 14257 sleep 100 root 0.00
0.00 is the Percentage of CPU.
You can use ps -o pcpu to know the %CPU value for all process like,
# UNIX95= ps -ef -o sz,vsz,pid,args,ruser,pcpu
hth.
hth
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-07-2005 01:49 AM
10-07-2005 01:49 AM
Re: sleep taking a lot of CPU
If your overall systems processes are in a sleep state 40% of the time, there is no problem. The processes are just waiting for something to do.