On linux/Unix you should be able to 'nice' the process to affect the scheduling priority of the process(how much cpu time).
You usually have to be root to nice upwards and increase priority. So try 'nice -19 script.pl' the max value for nice is -20 so that should give your script priority over whatever is hogging cpu. You can nice processes via 'top' interface as well. update as pointed out below nice rather annoyingly uses -20 as the highest priorityIn reply to Re: Increasing CPU Usage/Decreasing Run Time
by hakkr
in thread Increasing CPU Usage/Decreasing Run Time
by NathanE
For: | Use: | ||
& | & | ||
< | < | ||
> | > | ||
[ | [ | ||
] | ] |