Peppermint OS Community Forum

Support => Advanced Topics => Topic started by: stefanreich on August 30, 2019, 09:50:50 pm

Title: taskset to limit process to one CPU not working
Post by: stefanreich on August 30, 2019, 09:50:50 pm
Process 21429 stays at 150+% after the call to taskset.

(http://botcompany.de/1004590/raw/1102553)

NAME="Peppermint"
VERSION="Seven"
SUPPORT_URL="http://forum.peppermintos.com/"
Title: Re: taskset to limit process to one CPU not working
Post by: PCNetSpec on August 31, 2019, 12:01:50 pm
Maybe try
Code: [Select]
sudo apt-get install cpulimit
then
Code: [Select]
cpulimit -p 21429 -l 30
or similar

see
Code: [Select]
man cpulimit
or maybe
https://www.howtoforge.com/how-to-limit-cpu-usage-of-a-process-with-cpulimit-debian-ubuntu