How To Limit CPU Usage Of A Process With cpulimit

For Debian-based distros, this utility (not related to the ‘nice‘ command) will limit the cpu usage of a program. It works with multiple cores as well.

Simply sudo apt-get install cpulimit. More info can be found here.