which host is the Network Information Service (NIS) server or map master
ypwhich [ -d [ domain ]
[ -V1 ] [ hostname ]
ypwhich [ -t mapname ]
[ -d domain ] -m mname
ypwhich tells which NIS server supplies
Network Information Service services to an NIS
client or which system is the master for a map. If invoked
without arguments, it cites the NIS server for
the local machine. If hostname is specified,
that machine is queried to find out which NIS
master it is using.
for an overview of the Network Information Service.
use domain instead of the default domain
Which server is serving v.1 NIS protocol client
If the version is not specified, ypwhich attempts
to locate the server that supplies the (current) v.2
services. If there is no v.2 server currently bound,
ypwhich then 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.
inhibit nickname translation. This is useful if there is a
mapname identical to a nickname.
Find the master NIS server for a map. No
hostname can be specified with -m.
mname can be a mapname or a nickname for a map.
Display the map nickname table. This lists the nicknames
(mnames) the command knows of and indicates the
mapname associated with each nickname.
© 2003 Caldera International, Inc. All rights reserved.
SCO OpenServer Release 5.0.7 -- 11 February 2003