GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: ksleep command
Operating System - HP-UX
1847095
Members
5884
Online
110262
Solutions
Forums
Categories
Company
Local Language
back
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
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- 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
07-12-2002 04:30 AM
07-12-2002 04:30 AM
Hi,
What is the ksleep command? How is it different from the sleep command?
Regards,
Ram.
What is the ksleep command? How is it different from the sleep command?
Regards,
Ram.
Solved! Go to Solution.
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-12-2002 04:41 AM
07-12-2002 04:41 AM
Solution
The sleep*() Routines
Unless a thread is running with real-time priority, it will exhaust its time slice and be put to sleep. sleep() causes the calling thread (not the
process) to suspend execution for the required time period. A sleeping thread gives up the processor until a wakeup() occurs on the channel on
which the thread is placed. True? During sleep() the thread enters the scheduling queue at priority (pri).
??? When pri <= PZERO, a signal cannot disturb the sleep
??? Ifpri > PZERO the signal request will be processed.
??? In the case of RTPRIO scheduling, a signal can be disturbed only if SSIGABL is set. Setting SSIGABL is dependent on the value of pri.
NOTE The sleep.h header file has parameter and sleep hash queue definitions for use by the sleep routines. The ksleep.h header file has
structure definitions for the channel queues to which the kernel thread is linked when asleep.
http://devresource.hp.com/STK/partner/proc_mgt.pdf
live free or die
harry
Unless a thread is running with real-time priority, it will exhaust its time slice and be put to sleep. sleep() causes the calling thread (not the
process) to suspend execution for the required time period. A sleeping thread gives up the processor until a wakeup() occurs on the channel on
which the thread is placed. True? During sleep() the thread enters the scheduling queue at priority (pri).
??? When pri <= PZERO, a signal cannot disturb the sleep
??? Ifpri > PZERO the signal request will be processed.
??? In the case of RTPRIO scheduling, a signal can be disturbed only if SSIGABL is set. Setting SSIGABL is dependent on the value of pri.
NOTE The sleep.h header file has parameter and sleep hash queue definitions for use by the sleep routines. The ksleep.h header file has
structure definitions for the channel queues to which the kernel thread is linked when asleep.
http://devresource.hp.com/STK/partner/proc_mgt.pdf
live free or die
harry
Live Free or Die
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-12-2002 10:43 PM
07-12-2002 10:43 PM
Re: ksleep command
Thanks Harry. The document is quite informative.
As I understand it, ksleep would be invoked by the kernel thread when a sleep is called by its corresponding process thread (assuming that we have the 1x1 model - Kernel Space Threads per the document in HP-UX 11 as well). Is that right?
As I understand it, ksleep would be invoked by the kernel thread when a sleep is called by its corresponding process thread (assuming that we have the 1x1 model - Kernel Space Threads per the document in HP-UX 11 as well). Is that right?
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2026 Hewlett Packard Enterprise Development LP