And mention in manual that the default is referring to the internal
default of this command, not the Linux system default. Manual page
example also tries to be a little more complete how to use the command.
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
.TP
.B -r, --rr
Set scheduling policy to
-.BR SCHED_RR
-(the default).
+.BR SCHED_RR .
+When policy is not defined the
+.B SCHED_RR
+is used as default.
.TP
.B -R, --reset-on-fork
Add
.I pid
.TP
Or set them:
-.B chrt \-p
+.B chrt \-r \-p
.I prio pid
.SH PERMISSIONS
A user must possess
.BR SCHED_RR
are part of POSIX 1003.1b Process Scheduling. The other scheduling attributes
may be ignored on some systems.
+.P
+Linux default scheduling policy is
+.BR SCHED_OTHER .
.SH AUTHOR
Written by Robert M. Love.
.SH COPYRIGHT
fprintf(out, _(
"\nchrt - manipulate real-time attributes of a process\n"
"\nSet policy:\n"
- " chrt [options] <policy> <priority> {<pid> | <command> [<arg> ...]}\n"
+ " chrt [options] [-policy] <priority> [-p <pid> | <command> <arg> ...]\n"
"\nGet policy:\n"
- " chrt [options] {<pid> | <command> [<arg> ...]}\n"));
+ " chrt [options] -p <pid>\n"));
fprintf(out, _(
"\nScheduling policies:\n"