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
тАО11-20-2003 05:25 AM
тАО11-20-2003 05:25 AM
rtsched
hp>#rtsched -s
usage: rtsched -s scheduler -p priority command [ arguments ]
rtsched [-s scheduler] -p priority -P pid
where scheduler is one of:
SCHED_FIFO
SCHED_RR
SCHED_RR2
SCHED_RTPRIO
SCHED_HPUX
SCHED_NOAGE
If scheduler is SCHED_HPUX, the priority argument is ignored.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-20-2003 05:48 AM
тАО11-20-2003 05:48 AM
Re: rtsched
Help me please
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-20-2003 05:53 AM
тАО11-20-2003 05:53 AM
Re: rtsched
# man rtsched
The command you gave came back with error because it's expecting another argument at the place of 'scheduler'. Read the man page and give the proper scheduler you want to use:
# rtsched -s scheduler_name .. options ..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-20-2003 06:03 AM
тАО11-20-2003 06:03 AM
Re: rtsched
For example:
POSIX real-time schedulers: SCHED_FIFO
SCHED_RR
SCHED_RR2
HP-UX real-time scheduler: SCHED_RTPRI
HP-UX timeshare scheduler: SCHED_HPUX
SCHED_NOAGE
Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-20-2003 06:06 AM
тАО11-20-2003 06:06 AM
Re: rtsched
rtsched is a command to alter the default priority of a running or starting process.
It is not the scheduler for the OS.
Of those you listed the SCHED_RR/RR2/FIFO will set POSIX realtime priorities.
The others will set HP-UX realtime priorities.
The differences in RR & RR2 are not implemented in HP-UX, but are there for POSIX compliance i.e RR & RR2 are identical. The diff HP-UX ones just differ on how they implement the priority changes and/or priority aging.
One must be very careful with these as realtime priorities set badly/incorrectly can starve all timeshare (normal) processes of CPU time. Rule of thumb is there better be a d@mn good reason why a process needs realtime priority.
HTH,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-20-2003 06:10 AM
тАО11-20-2003 06:10 AM
Re: rtsched
Well, if all you want to know is IF the process priority is set into the realtime range then run a long ps
ps -efl PID
Then look at the PRI column. Anything 127 or less is HP-UX realtime. Anything -1 to -32 is POSIX realtime & NO that's NOT negative - it's just a dash. You *can't* have negative priorities.
HTH,
Jeff