CPU Limit is a tool that allows you Limit the amount of CPU Time your Linux gives to a certain process. It is also very easy to use.
Last week I installed cpulimit to help me throttle nginx php-cgi process. When running a web server with php this can be a CPU hog so I decided to try and limit the CPU time php-cgi gets.
First install it
sudo apt-get install cpulimit
To Use run this
sudo cpulimit --path=/usr/bin/someBinary -l 70 -z -b
That will limit that binary to 70% CPU time and by running cpulimit in the background.