Choose style:

Author Topic: taskset to limit process to one CPU not working  (Read 86 times)

0 Members and 1 Guest are viewing this topic.

Offline stefanreich

  • Jr. Member
  • **
  • Posts: 73
  • Karma: 4
  • New Forum User
    • View Profile
    • Eleutheria learns to think.
  • Peppermint version(s): 7
taskset to limit process to one CPU not working
« on: August 30, 2019, 09:50:50 pm »
Process 21429 stays at 150+% after the call to taskset.



NAME="Peppermint"
VERSION="Seven"
SUPPORT_URL="http://forum.peppermintos.com/"

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 25497
  • Karma: 2807
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 8R, 9, and 9R
Re: taskset to limit process to one CPU not working
« Reply #1 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
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec