in reply to hogging N% of CPU ?
I've written scripts that look at the load (/proc/loadavg under Linux) and sleep briefly until the load's below the upper limit. You might think about doing that instead of trying to limit yourself to a percentage of the CPU available.
|
|---|