*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->Tru64 Unix man pages -> ypwhich (1)              
Title
Content
Arch
Section
 

ypwhich(1)

Contents


NAME    [Toc]    [Back]

       ypwhich  -  determine which host is the current NIS server
       or map master.

SYNOPSIS    [Toc]    [Back]

       ypwhich [-d domain] [-V1] [-V2] [hostname]

       ypwhich [-d domain] [-m[mname]] [-t[mapname]]

       ypwhich -x

OPTIONS    [Toc]    [Back]

       Identifies which server is serving v.1 NIS protocol-speaking
  client processes.  Identifies which server is serving
       v.2 NIS protocol-speaking client processes.

              If neither version is specified,  ypwhich  attempts
              to  locate the server that supplies the current v.2
              services.  If there  is  no  v.2  server  currently
              bound,  ypwhich  attempts to locate the server supplying
 the v.1 services. Since NIS servers and  NIS
              clients are both backward compatible, the user need
              seldom be concerned about  which  version  is  currently
  in use.  Uses domain instead of the current
              domain.  Finds the master NIS server for a map.  No
              hostname  can be specified with -m. The mname argument
 can be a mapname, or a  nickname  for  a  map.
              When  mname  is omitted, ypwhich provides a list of
              available maps.  Inhibits nickname translation  and
              is  useful  if  there  is  a mapname identical to a
              nickname.  Displays the map  nickname  table.  This
              option  lists  the nicknames (mnames) that the command
 knows of, and indicates the mapname associated
              with each nickname.

DESCRIPTION    [Toc]    [Back]

       The  ypwhich  command  identifies  the Network Information
       Service (NIS) server that currently supplies NIS  services
       to  an NIS client.  It also identifies which NIS server is
       the master for  a  map.   If  invoked  without  arguments,
       ypwhich  returns  the  host name of the NIS server for the
       local machine.  If hostname is specified,  ypwhich  checks
       that machine to find out which NIS master it is using.

       Refer  to ypfiles(4) and ypserv(8) for an overview of NIS.

SEE ALSO    [Toc]    [Back]

      
      
       ypfiles(4), rpcinfo(8), ypserv(8), ypset(8)



                                                       ypwhich(1)
[ Back ]
 Similar pages
Name OS Title
yppoll Tru64 determine which version of a Network Information Service (NIS) map is at a master NIS server host
ypwhich HP-UX list which host is Network Information System server or map master
ypwhich Linux return name of NIS server or map master
ypwhich IRIX print the NIS server or map master hostname
ypwhich FreeBSD return hostname of YP server of map master
ypwhich OpenBSD return hostname of YP server or map master
yppoll Linux return version and master server of a NIS map
ypinit OpenBSD create a YP server (master or slave)
confstr Tru64 Determine the current value of a specified system variable defined by a string value
sethostname OpenBSD get/set name of current host
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service