Monday, October 19, 2015

Limiting CPU percentage of a process

cpulimit is a utility available on Linux to limit the CPU time of any process.
The use is
cpulimit -l [℅ CPU] -e [binary name]
I found it useful to emulate slow embedded processor behavior on desktop.