MirBSD manpage: renice(8)

RENICE(8)                BSD System Manager's Manual                 RENICE(8)

NAME

     renice - alter priority of running processes

SYNOPSIS

     renice priority [[-p] pid ...] [[-g] pgrp ...] [[-u] user ...]

DESCRIPTION

     renice alters the scheduling priority (an integer) of one or more running
     processes. The following who parameters (pid, pgrp and user) are inter-
     preted as process IDs, process group IDs, or user names. reniceing a pro-
     cess group causes all processes in the process group to have their
     scheduling priority altered. reniceing a user causes all processes owned
     by the user to have their scheduling priority altered. By default, the
     processes to be affected are specified by their process IDs.

     The options are as follows:

     -g      Force who parameters to be interpreted as process group IDs.

     -u      Force the who parameters to be interpreted as user names.

     -p      Resets the who interpretation to be (the default) process IDs.

     For example,

     # renice +1 987 -u daemon root -p 32

     would change the priority of process IDs 987 and 32, and all processes
     owned by users daemon and root.

     Users other than the superuser may only alter the priority of processes
     they own, and can only monotonically increase their "nice value" within
     the range 0 to PRIO_MAX (20). (This prevents overriding administrative
     fiats.) The superuser may alter the priority of any process and set the
     priority to any value in the range PRIO_MIN (-20) to PRIO_MAX. Useful
     priorities are: 20 (the affected processes will run only when nothing
     else in the system wants to), 0 (the "base" scheduling priority), any-
     thing negative (to make things go very fast).

FILES

     /etc/passwd  for mapping user names to user IDs

SEE ALSO

     nice(1), getpriority(2), setpriority(2)

HISTORY

     The renice command appeared in 4.0BSD.

BUGS

     Non-superusers cannot increase scheduling priorities of their own
     processes, even if they were the ones that decreased the priorities in
     the first place.

MirBSD #10-current               June 9, 1993                                1

Generated on 2022-12-24 01:00:14 by $MirOS: src/scripts/roff2htm,v 1.113 2022/12/21 23:14:31 tg Exp $ — This product includes material provided by mirabilos.

These manual pages and other documentation are copyrighted by their respective writers; their sources are available at the project’s CVSweb, AnonCVS and other mirrors. The rest is Copyright © 2002–2022 MirBSD.

This manual page’s HTML representation is supposed to be valid XHTML/1.1; if not, please send a bug report — diffs preferred.

Kontakt / Impressum & Datenschutzerklärung