opsengine/cpulimit

-e option not working on v0.2 installed by brew

PacoH opened this issue · 0 comments

PacoH commented

I installed v0.2 with brew on OS X 10.8.5 and I could not get the -e option to work. I tried all the following

cpulimit -l 0 -v -z -i -e "Google Chrome"
cpulimit -l 0 -v -z -i -e "Google Chrome Helper"
cpulimit -l 0 -v -z -i -e "/Applications/Google Chrome 2.app/Contents/MacOS/Google Chrome"
cpulimit -l 0 -v -z -i -e "chrome"

and got

16 cpu detected
Segmentation fault: 11

Only the -p PID option worked

cpulimit -l 0 -v -z -i -p 1440

The PID is for the Google Chrome parent process.