Re: linux cpu usage
| From: | Philip Hallstrom | Date: | Fri, 24 Jan 2003 23:54:02 +0000 |
| Subject: | Re: linux cpu usage | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-133069@lists.php.net to get a copy of this message | ||
does it hog the CPU and stop other things from running or is it just using
100% of the CPU? If the latter, that's fine. If the former, read the man
page for nice or renice (it's renice on freebsd)
-philip
On Fri, 24 Jan 2003, Gareth Thomas wrote:
> Hi all,
>
> I have a command line PHP script that is in a continous loop to monitor a
> particular database event. I am running RedHat 8 and the only problem I am
> finding is that it hogs the CPU. I developed the script originally on
> Windows and it worked better there. Is there a way to limit CPU resource for
> a PHP command line script in Linux?
>
> Gareth
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>