Re: [PHP] Checking if a host is online

From: Duncan (dhill_at_cricalix.net)
Date: 11/29/03

  • Next message: Eric: "Re: [PHP] Problem loading fonts in gd()"
    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.


  • Next message: Eric: "Re: [PHP] Problem loading fonts in gd()"

    Relevant Pages

    • Creating serializable objects from client, executing on host
      ... host environment) on an object passed to it via remoting. ... where the host will execute the function defined in the interface. ... offending line of the client code. ... Public Sub New ...
      (microsoft.public.dotnet.framework.remoting)
    • Re: Top Ten Ways to Get People to Stop Watching the Oscars Altogether
      ...  Ladies and gentlement, your host for the evening, Mister Joe Piscopo! ... What good is being an executive if you never get to execute anyone? ...
      (alt.fan.letterman)
    • Job management / systems monitoring
      ... I have a client who wishes to run a system that can do the following on ... The system should run on a central server, preferrably a unix host. ... The relevant batch jobs are situated on the local host, ... It must be possible to execute a main job which then starts several ...
      (comp.unix.admin)
    • Re: VMWare poor guest isolation design
      ... I use VMware a lot for development. ... have a Windows XP host machine and I use VMware to develop Linux code ... can queue up commands to be executed upon the next login. ... whether or not they can execute something in a vm is the ...
      (Bugtraq)
    • Re: use of .telnetrc
      ... > I want to make automatic login an execute some skripts. ... indented by whitespace; ... host, the commands associated with that host are executed. ...
      (comp.os.linux.misc)