check the priority and niceness of a process
ps -lhigher the niceness, the more it’s willing to give to other processes, ranges between -20 to 20
Change priority of process that’s already running
sudo renice -10 -p $pidSet priority when launching a process
nice -n $niceness $process