On Tue, May 30, 2006 9:55 am, Phil Martin wrote:
>       I've made a very basic and small function to suit my needs in
> monitoring some hosts services. I've noticed that the script is a
> little bit
> slow because of the number of hosts and services to monitor. Is there
> a way
> to execute my function servstatus();  in parallel with every hosts to
> increase the speed ?

No, but if it's using http://php.net/fsockopen, that can be done
asynchronously...

You'll have to gut and change your servstatus() function to take a
BUNCH of servers to check, and open them all async, and then test them
all...

-- 
Like Music?
http://l-i-e.com/artists.htm

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to