|
|
1.1 root 1: .\" Copyright (c) 1980 Regents of the University of California.
2: .\" All rights reserved. The Berkeley software License Agreement
3: .\" specifies the terms and conditions for redistribution.
4: .\"
5: .\" @(#)renice.8 6.2 (Berkeley) 5/19/86
6: .\"
7: .TH RENICE 8 "May 19, 1986"
8: .UC 4
9: .SH NAME
10: renice \- alter priority of running processes
11: .SH SYNOPSIS
12: .B /etc/renice
13: priority [ [
14: .B \-p
15: ] pid ... ] [ [
16: .B \-g
17: ] pgrp ... ] [ [
18: .B \-u
19: ] user ... ]
20: .SH DESCRIPTION
21: .I Renice
22: alters the
23: scheduling priority of one or more running processes.
24: The
25: .I who
26: parameters are interpreted as process ID's, process group
27: ID's, or user names.
28: .IR Renice 'ing
29: a process group causes all processes in the process group
30: to have their scheduling priority altered.
31: .IR Renice 'ing
32: a user causes all processes owned by the user to have
33: their scheduling priority altered.
34: By default, the processes to be affected are specified by
35: their process ID's. To force
36: .I who
37: parameters to be interpreted as process group ID's, a
38: .B \-g
39: may be specified. To force the
40: .I who
41: parameters to be interpreted as user names, a
42: .B \-u
43: may be given. Supplying
44: .B \-p
45: will reset
46: .I who
47: interpretation to be (the default) process ID's.
48: For example,
49: .sp
50: /etc/renice +1 987 -u daemon root -p 32
51: .sp
52: would change the priority of process ID's 987 and 32, and
53: all processes owned by users daemon and root.
54: .PP
55: Users other than the super-user may only alter the priority of
56: processes they own,
57: and can only monotonically increase their ``nice value''
58: within the range 0 to PRIO_MAX (20).
59: (This prevents overriding administrative fiats.)
60: The super-user
61: may alter the priority of any process
62: and set the priority to any value in the range PRIO_MIN (\-20)
63: to PRIO_MAX.
64: Useful priorities are:
65: 20 (the affected processes will run only when nothing else
66: in the system wants to),
67: 0 (the ``base'' scheduling priority),
68: anything negative (to make things go very fast).
69: .SH FILES
70: /etc/passwd to map user names to user ID's
71: .SH SEE ALSO
72: getpriority(2), setpriority(2)
73: .SH BUGS
74: Non super-users can not increase scheduling priorities of their own processes,
75: even if they were the ones that decreased the priorities in the first place.
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.