Reply to Re: [PHP] Re: Limiting Cpu usage

Your name:

Reply:


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

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация