1CHRT(1)                       Linux User's Manual                      CHRT(1)
2
3
4

NAME

6       chrt - manipulate real-time attributes of a process
7

SYNOPSIS

9       chrt [options] [prio] [pid | command [arg]...]
10

DESCRIPTION

12       chrt(1)  sets  or  retrieves  the real-time scheduling attributes of an
13       existing PID or runs COMMAND with the given  attributes.   Both  policy
14       (one of SCHED_OTHER, SCHED_FIFO, SCHED_RR, or SCHED_BATCH) and priority
15       can be set and retrieved.
16

OPTIONS

18       -p, --pid
19              operate on an existing PID and do not launch a new task
20
21
22
23       -b, --batch
24              set scheduling policy to SCHED_BATCH
25
26       -f, --fifo
27              set scheduling policy to SCHED_FIFO
28
29       -m, --max
30              show minimum and maximum valid priorities, then exit
31
32       -o, --other
33              set policy scheduling policy to SCHED_OTHER
34
35       -r, --rr
36              set scheduling policy to SCHED_RR (the default)
37
38       -h, --help
39              display usage information and exit
40
41       -v, --version
42              output version information and exit
43

USAGE

45       The default behavior is to run a new command::
46              chrt [prio] [command] [arguments]
47
48       You can also retrieve the real-time attributes  of  an  existing
49       task:
50              chrt -p [pid]
51
52       Or set them:
53              chrt -p [prio] [pid]
54

PERMISSIONS

56       A  user  must  possess  CAP_SYS_NICE  to  change  the scheduling
57       attributes of a process.  Any user can retrieve  the  scheduling
58       information.
59

AUTHOR

61       Written by Robert M. Love.
62

REPORTING BUGS

64       Report bugs to <rml@tech9.net>.
65
67       Copyright © 2004 Robert M. Love
68       This  is  free  software; see the source for copying conditions.
69       There is NO warranty; not even for  MERCHANTABILITY  or  FITNESS
70       FOR A PARTICULAR PURPOSE.
71

SEE ALSO

73       taskset(1), nice(1), renice(1)
74
75       See  sched_setscheduler(2) for a description of the Linux sched‐
76       uling scheme.
77
78
79
80schedutils                         Apr 2003                            CHRT(1)
Impressum