3 .\" Copyright (C) 2004 Robert Love
5 .\" This is free documentation; you can redistribute it and/or
6 .\" modify it under the terms of the GNU General Public License as
7 .\" published by the Free Software Foundation; either version 2 of
10 .\" The GNU General Public License's references to "object code"
11 .\" and "executables" are to be interpreted as the output of any
12 .\" document formatting or typesetting system, including
13 .\" intermediate and printed output.
15 .\" This manual is distributed in the hope that it will be useful,
16 .\" but WITHOUT ANY WARRANTY; without even the implied warranty of
17 .\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 .\" GNU General Public License for more details.
20 .\" You should have received a copy of the GNU General Public
21 .\" License along with this manual; if not, write to the Free
22 .\" Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111,
25 .\" 2002-05-11 Robert Love <rml@tech9.net>
28 .TH CHRT "1" "Apr 2003" "schedutils" "Linux User's Manual"
30 chrt \- manipulate real-time attributes of a process
34 .IR command\ [ arg ]...
43 sets or retrieves the real-time scheduling attributes of an existing PID or
44 runs COMMAND with the given attributes. Both policy (one of
50 and priority can be set and retrieved.
54 policy is supported since Linux 2.6.16.
58 operate on an existing PID and do not launch a new task
61 set scheduling policy to
65 set scheduling policy to
69 show minimum and maximum valid priorities, then exit
72 set policy scheduling policy to
76 set scheduling policy to
81 display usage information and exit
84 output version information and exit
87 The default behavior is to run a new command::
88 chrt prio command [arguments]
90 You can also retrieve the real-time attributes of an existing task:
98 to change the scheduling attributes of a process. Any user can retrieve the
99 scheduling information.
101 Written by Robert M. Love.
103 Copyright \(co 2004 Robert M. Love
105 This is free software; see the source for copying conditions. There is NO
106 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
113 .BR sched_setscheduler (2)
114 for a description of the Linux scheduling scheme.
116 The chrt command is part of the util-linux-ng package and is available from
117 ftp://ftp.kernel.org/pub/linux/utils/util-linux-ng/.