Jason Giangrande said:

> command (ping -c 1 $host), and while I could get that to work, since it
> returns non-zero status if the host can not be contacted, it takes quite
> a while to execute for even a few hosts at once.

fping may help.

Running a background job that just monitors ping status and updates a record
somewhere is probably the best way.  The PHP script needs only read the
records to understand the status of the 'world'.  As mentioned, this is what
big brother does, to a certain extent.

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

Reply via email to