RandomLove
Sat 29th May '04, 9:41am
Hi,
I have a script that do some computation and disk i/o. I don't want the script to take all of the system resources.
I think there are two ways to do it:
1- Make the script wait or become idle at cerain server load.
2- Make it sleep after x amount of computations cycles.
How do I do both?
Thanks.
R.L. :)
I have a script that do some computation and disk i/o. I don't want the script to take all of the system resources.
I think there are two ways to do it:
1- Make the script wait or become idle at cerain server load.
2- Make it sleep after x amount of computations cycles.
How do I do both?
Thanks.
R.L. :)