Re: [PHP] Executing functions or scripts in parallel

2006-05-30 Thread Phil Martin
fast, or there is no way to have all my servers services checked in parallel. Thanks in advance. Felipe Martins On 5/30/06, Jochem Maas <[EMAIL PROTECTED]> wrote: Phil Martin wrote: > Sure, sorry about that. I have a function that tells me if the host is DOWN > or UP. I want to r

Re: [PHP] Executing functions or scripts in parallel

2006-05-30 Thread Phil Martin
$endTime = time(); $timeDiff = $endTime - $startTime; if ($timeDiff >= $timeout) { fclose($socket); return true; } else { fclose($socket); return false; } } } Thanks in advance Felipe Martins On 5/30/06,

[PHP] Executing functions or scripts in parallel

2006-05-30 Thread Phil Martin
Hi everyone, 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 hos

[PHP] Executing functions or scripts in parallel

2006-05-30 Thread Phil Martin
Hi everyone, 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 hos

Re: [PHP] Monitoring Remote Server Services using php !

2006-05-30 Thread Phil Martin
return false; } } } On 5/25/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: On Thu, 25 May 2006, Phil Martin wrote: > Hi everybody, > > I'm new to the list and also new to php, I hope I can learn many > things from here. > My first doubt is

[PHP] Monitoring Remote Server Services using php !!!

2006-05-25 Thread Phil Martin
Hi everybody, I'm new to the list and also new to php, I hope I can learn many things from here. My first doubt is the following: I'm trying to create a small monitor system, just to suit my needs in monitoring some services in my application. I've found some functions that return to me