home *** CD-ROM | disk | FTP | other *** search
/ Chip 2007 January, February, March & April / Chip-Cover-CD-2007-02.iso / boot / i386 / root / usr / share / YaST2 / scrconf / net_hostnames.scr < prev    next >
Encoding:
Text File  |  2006-11-29  |  779 b   |  27 lines

  1. /**
  2.  * File:    net_hostnames.scr
  3.  * Summary:    Agent for reading hostnames on the local network
  4.  * Access:    read-only
  5.  * Authors:    Michal Svec, Martin Vidner
  6.  * See:        ping(8), nslookup(8)
  7.  *
  8.  * Example:
  9.  *   Read(.net.hostnames)
  10.  *   (["Snell.suse.de", "Steiner.suse.de", "Mandelbrot.suse.de", ...])
  11.  *   Read(.net.hostnames.515)
  12.  *   Read(.net.hostnames.631)
  13.  *   Read(.net.hostnames.samba)
  14.  *
  15.  * $Id: net_hostnames.scr 7180 2002-11-22 13:36:25Z msvec $
  16.  *
  17.  * <p>Script that reads a list of host reachable on the local network
  18.  * by pinging the broadcast address and then doing a nslookup of the
  19.  * addresses found.</p>
  20.  *
  21.  * <p>It can read hostnames that are reachable on the local network,
  22.  * samba servers or servers with some port opened.</p>
  23.  */
  24. .net.hostnames
  25.  
  26. `ag_hostnames ()
  27.