ypwhich(1) ypwhich(1)
NAME
ypwhich - return name of NIS server or map master
SYNOPSIS
ypwhich [-d [ypdomain]] [hostname]
ypwhich [-d ypdomain] -m [mname]
ypwhich -x
DESCRIPTION
The ypwhich command tells which server supplies Network
Information Service (NIS) services to the NIS client, or which
is the master server for a NIS map.
USAGE
If invoked without arguments, ypwhich gives the NIS server for
the local machine.
If hostname is specified, that machine is queried to find out
which NIS server it is using.
Refer to ypfiles(4) and ypserv(1M) for an overview of the NIS
service.
Options
ypwhich takes the following options:
-d [ypdomain] Use ypdomain instead of the default domain.
-m mname Find the master NIS server for a map. No
hostname can be specified with -m. mname can
be a mapname, or a alias for a map. When
mname is omitted, produce a list available
maps.
-x Display map aliases. This lists the aliases
(mnames) the command knows of, and indicates
the map name associated with each alias.
REFERENCES
domainname(1M), rpcinfo(1M), ypfiles(4), ypserv(1M), ypset(1M)
Copyright 1994 Novell, Inc. Page 1