HP-UX Reference (11i v1 00/12) - 1 User Commands N-Z (vol 2)
__________________________________________________________________________________________________________________________________________________________________________________________________
__________________________________________________________________________________________________________________________________________________________________________________________________
STANDARD Printed by: Nora Chuang [nchuang] STANDARD
/build/1111/BRICK/man1/neqn.1
________________________________________________________________
___ ___
r
rtsched(1) rtsched(1)
does not match the real or saved user ID of the process being changed; or
5 if rtsched encountered an internal error or if rtsched is not supported by this release.
EXAMPLES
Execute file a.out with SCHED_FIFO at a priority of 10:
rtsched -s SCHED_FIFO -p 10 a.out
Execute file a.out with SCHED_RTPRIO at a priority of 127 (this is synonymous to rtprio 127
a.out
):
rtsched -s SCHED_RTPRIO -p 127 a.out
Execute file a.out with the SCHED_HPUX scheduler:
rtsched -s SCHED_HPUX a.out
This is useful to spawn a timeshare priority command from a real-time priority shell.
Set the currently running process pid 24217 to execute with SCHED_RR2 at a priority of 20:
rtsched -s SCHED_RR2 -p 20 -P 24217
Now change its priority to 10 using the same scheduler:
rtsched -p 10 -P 24217
WARNINGS
Priority values used by rtsched may differ from those used by other commands. For example, ps(1)
displays the internal representation of priority values.
AUTHOR
rtsched was developed by HP.
SEE ALSO
rtprio(1), setprivgrp(1M), getprivgrp(2), rtprio(2), rtsched(2).
Section 1−−808 − 2 − HP-UX Release 11i: December 2000
___
___