Hi,
I have to run a command in multiple servers simultaneously and get the results.
Is there a way to go to the next line in php before the current line completes execution?
$command = "grep foo /bar/*";
foreach ($servernames as $host) {
$stream = $objRx->exec_command($host, $command);
}
My objRx connects to the server using the host passed.
I have 3 servers in $servernames array. The command gets executed one server at a time. Since the search file is too large this takes a lot of time if I make one connection at a time.
Thanks!


