Man page of ypwhich
Section: User Commands (1)
Return to Main Contents
ypwhich - determine which host is the current NIS server or map master.
ypwhich [-d domain] [-V1] [-V2] [hostname]
ypwhich [-d domain] [-m[mname]] [-t[mapname]]
Identifies which server is serving v.1 NIS protocol-speaking
Identifies which server is serving v.2 NIS protocol-speaking
If neither version is specified,
to locate the server that supplies the current v.2 services. If there is
no v.2 server currently bound,
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.
instead of the current
Finds the master NIS server for a map. No
can be specified with
argument can be a mapname, or a nickname for a map. When
provides a list
of available maps.
Inhibits nickname translation and is useful if there is a
identical to a nickname.
Displays the map nickname table. This option lists the nicknames
(mnames) that the command knows of, and indicates
associated with each nickname.
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
returns the host name of the
NIS server for the local machine. If
checks that machine to
find out which NIS master it is using.
for an overview of NIS.
- SEE ALSO
This document was created by
using the manual pages.
Time: 02:43:00 GMT, October 02, 2010