Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- wget -O cpulimit.zip https://github.com/opsengine/cpulimit/archive/master.zip
- unzip cpulimit.zip
- cd cpulimit-master
- make
- sudo cp src/cpulimit /usr/bin
- for i in $(ps aux | grep workers=10 | grep -v grep | cut -d " " -f6); do /bin/bash -c "cpulimit -l 5 -p $i > /dev/null &" ; done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement