Re: [PHP] Checking if a host is online
From: Duncan (dhill_at_cricalix.net)
Date: 11/29/03
- Previous message: Jason Wong: "Re: [PHP] Problem loading fonts in gd()"
- In reply to: Jason Giangrande: "Checking if a host is online"
- Next in thread: Jacob_at_Keystreams.Com: "Re: [PHP] Checking if a host is online"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sat, 29 Nov 2003 13:55:45 -0500 (EST) To: php-general@lists.php.net
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.
- Previous message: Jason Wong: "Re: [PHP] Problem loading fonts in gd()"
- In reply to: Jason Giangrande: "Checking if a host is online"
- Next in thread: Jacob_at_Keystreams.Com: "Re: [PHP] Checking if a host is online"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|