|
Posted by Tom Rogers on 04/13/05 03:03
Hi,
Wednesday, April 13, 2005, 8:20:46 AM, you wrote:
z> Yeahh! i have made it....
z> i can slow down a php script , as i edited the zend engine source to usleep
z> every 1000 low-level instructions....
z> now, is there a way to determine to check my cpu load and adjust it by that
z> so if nothing (or very low cpu usage) is running on the system he'll get
z> extra power?
On Linux you can cat /proc/loadavg to get the current load (3rd number
in)
--
regards,
Tom
Navigation:
[Reply to this message]
|