1RENICE(8) 386BSD System Manager's Manual RENICE(8) 2 3NNAAMMEE 4 rreenniiccee - alter priority of running processes 5 6SSYYNNOOPPSSIISS 7 rreenniiccee _p_r_i_o_r_i_t_y [[--pp] _p_i_d ...] [[--gg] _p_g_r_p ...] [[--uu] _u_s_e_r ...] 8 9DDEESSCCRRIIPPTTIIOONN 10 RReenniiccee alters the scheduling priority of one or more running processes. 11 The following _w_h_o parameters are interpreted as process ID's, process 12 group ID's, or user names. RReenniiccee'ing a process group causes all 13 processes in the process group to have their scheduling priority altered. 14 RReenniiccee'ing a user causes all processes owned by the user to have their 15 scheduling priority altered. By default, the processes to be affected 16 are specified by their process ID's. 17 18 Options supported by rreenniiccee: 19 20 --gg Force _w_h_o parameters to be interpreted as process group ID's. 21 22 --uu Force the _w_h_o parameters to be interpreted as user names. 23 24 --pp Resets the _w_h_o interpretation to be (the default) process ID's. 25 26 For example, 27 28 renice +1 987 -u daemon root -p 32 29 30 would change the priority of process ID's 987 and 32, and all processes 31 owned by users daemon and root. 32 33 Users other than the super-user may only alter the priority of processes 34 they own, and can only monotonically increase their ``nice value'' within 35 the range 0 to PRIO_MAX (20). (This prevents overriding administrative 36 fiats.) The super-user may alter the priority of any process and set the 37 priority to any value in the range PRIO_MIN (-20) to PRIO_MAX. Useful 38 priorities are: 20 (the affected processes will run only when nothing 39 else in the system wants to), 0 (the ``base'' scheduling priority), 40 anything negative (to make things go very fast). 41 42FFIILLEESS 43 /etc/passwd to map user names to user ID's 44 45SSEEEE AALLSSOO 46 getpriority(2), setpriority(2) 47 48BBUUGGSS 49 Non super-users can not increase scheduling priorities of their own 50 processes, even if they were the ones that decreased the priorities in 51 the first place. 52 53HHIISSTTOORRYY 54 The rreenniiccee command appeared in 4.0BSD. 55 564th Berkeley Distribution March 16, 1991 1 57 58 59 60 61 62 63 64 65 66 67