renice

Alter the scheduling priority/niceness of one or more running processes. Niceness values range from -20 (most favorable to the process) to 19 (least favorable to the process). See also: nice. More information: <https://manned.org/renice>.

Install

All systems
curl cmd.cat/renice.sh
Debian Debian
apt-get install bsdutils
Ubuntu
apt-get install bsdutils
Alpine
apk add util-linux
Arch Arch Linux
pacman -S util-linux
image/svg+xml Kali Linux
apt-get install bsdutils
CentOS
yum install util-linux
Fedora
dnf install util-linux
Windows (WSL2)
sudo apt-get update sudo apt-get install bsdutils
OS X
brew install util-linux
Raspbian
apt-get install bsdutils
Docker
docker run cmd.cat/renice renice powered by Commando

Alter the scheduling priority/niceness of one or more running processes. Niceness values range from -20 (most favorable to the process) to 19 (least favorable to the process). See also: nice. More information: <https://manned.org/renice>.

  • Increase/decrease the priority of a running [p]rocess:
    renice -n 3 -p pid
  • Increase/decrease the priority of all processes owned by a [u]ser:
    renice -n -4 -u uid|user
  • Increase/decrease the priority of all processes that belong to a process [g]roup:
    renice -n 5 -g process_group

© tl;dr; authors and contributors