On Mac OSX (Mountain Lion 10.9.2), Ferret (v6.82) eats up all my CPUs (>100%!) and fans are making noise at all times.
Actually Ferret is not the first program that does this to this computer, so I decided to search for some tool which limits the CPU usage of a particular process/program.
And I found this:
CPU limit
This works on both Mac/Linux. I followed the instruction and downloaded and installed the command "cpulimit".
Now I can use Ferret with CPU limit of whatever % I want. For example, for 50 % upper limit:
cpulimit --limit 50 ferret
It works! You can confirm the result with "top".
But it would be troublesome to type this line of command at every start-up.
The immediate solution for me is to create the shell script named "ferret" and put it in my $HOME/bin folder so that I now can use the command "ferret" which does this:
#!/bin/sh
cpulimit --limit 50 /usr/local/ferret/bin/ferret
0 件のコメント:
コメントを投稿