renice

Alter the scheduling priority/niceness of 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.

renice -n 3 -p pid

renice -n -4 -u uid|user

renice -n 5 -g process_group