RENICE(8)
π RENICE(8) β like, the System Manager's Manual, bestie β¨
okay so real talk β this is renice from section 8 of the manual, and it's genuinely one of the most useful lil gremlins in your toolbox. buckle up π
πΈ NAME πΈ
renice β alters the priority of running processes. that's it. that's the whole vibe. she changes how much the scheduler cares about a process that's already running π
β¨ SYNOPSIS β¨
renice priority [[-gpu] target]
renice -n increment [[-gpu] target]
two moods, pick one, no cap π
π¦ DESCRIPTION π¦
The renice utility alters the scheduling priority of one or more running processes. (running! already alive! not spawning new ones, we're doing a glow-up on the ones already here π
)
The following target parameters are interpreted as process ID's (that's the default, iykyk), process group ID's, user ID's, or user names. And like, the scoping is important:
- the
renice'ing of a process group causes all processes in the process group to have their scheduling priority altered π - the
renice'ing of a user causes all processes owned by the user to have their scheduling priority altered π
The following options are available β here we go, main character energy:
-nβ instead of changing the specified processes to the given priority, interpret the following argument as an increment to be applied to the current priority of each process. it's relative, babes, not absolute π§-gβ interpret target parameters as process group ID's.-pβ interpret target parameters as process ID's (this is the default, fyi).-uβ interpret target parameters as user names or user ID's.
now the part where the system is kinda strict with you π β users other than the super-user 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 β yes that's the actual reason, it's giving bureaucracy but make it scheduling π)
The super-user though? the super-user may alter the priority of any process, and set the priority to any value in the range PRIO_MIN (-20) to PRIO_MAX. absolute icon behavior π
Useful priorities, ranked like a tier list π:
20β the affected processes will run only when nothing else in the system wants to. like, bottom of the group chat, last to be picked π0β the ``base'' scheduling priority. the neutral one. the beige one.- anything negative β to make things go very fast π₯
π FILES π
/etc/passwdβ to map user names to user ID's. that's her only job here, let her live π«Ά
β EXAMPLES β
change the priority of process ID's 987 and 32, and all processes owned by users daemon and root. look at the mixing and matching, she ate:
renice +1 987 -u daemon root -p 32
π₯ SEE ALSO π₯
nice(1), rtprio(1), getpriority(2), setpriority(2)
(the whole friend group fr fr π«)
π STANDARDS π
The renice utility conforms to IEEE Std 1003.1-2001 (βPOSIX.1β). certified. standards-approved. iconic behavior only π
π HISTORY π
The renice utility appeared in 4.0BSD. she's been doing this since forever, a true veteran π°οΈπ
π BUGS π
Non super-users cannot increase scheduling priorities of their own processes, even if they were the ones that decreased the priorities in the first place.
like... not even to undo your own mess?? that's the whole bug. you dig the hole, you can't climb out, only the super-user has the ladder ππ
and that's the whole page, bestie β go forth and renice responsibly π¦π
this lil beauty is from the Debian fam, dated October 27, 2020, and it lives in section 8 of the manual. mwah πβ¨
π¦ where this page comes from
- freebsd 15.1: base 15.1
- nixpkgs unstable: shell_cmds 329
- Copyright (c) 1983, 1991, 1993 The Regents of the University of California. All rights reserved
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms