How to use it (in case page disappears):
sudo apt-get install cpulimit gawk
Then, download this file and extract contained folder to your home directory getting two files in ~/cpulimit: cpulimit_daemon.sh and cpulimit. Open cpulimit_daemon.sh and edit variables under
#Variables
. Then simply run these commands:sudo cp ~/cpulimit/cpulimit_daemon.sh /usr/bin
sudo chmod 700 /usr/bin/cpulimit_daemon.sh
sudo cp ~/cpulimit/cpulimit /etc/init.d/
sudo chown root:root /etc/init.d/cpulimit
sudo chmod +x /etc/init.d/cpulimit
sudo update-rc.d cpulimit defaults
Now, restart your computer and cpulimit daemon should be started at startup.