Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ ypwhich(1yp) — Ultrix-32 2.0

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

ypfiles(5yp)

rpcinfo(8nfs)

ypserv(8yp)

ypset(8yp)

ypwhich(1yp)

NAME

ypwhich − determine which host is the current YP server or map master. 

SYNTAX

ypwhich [ −d domain ] [ −V1 ] [ −V2 ] [ hostname ]
ypwhich [ −d domain ] [ −m mname ] [ −t ] ]
ypwhich −x

DESCRIPTION

The ypwhich command identifies the YP server that currently supplies yellow pages services to a YP client.  It also identifies which YP server is the master for a map.  If invoked without arguments, ypwhich returns the host name of the YP server for the local machine.  If hostname is specified, ypwhich checks that machine to find out which YP master it is using.

Refer to ypfiles(5yp) and ypserv(8yp) for an overview of the yellow pages. 

OPTIONS

−dUse domain instead of the current domain. 

−V1 Identify which server is serving v.1 YP protocol-speaking client processes. 

−V2 Identify which server is serving v.2 YP 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 YP servers and YP clients are both backward compatible, the user need seldom be concerned about which version is currently in use.

−m mname
Find the master YP server for a map.  No hostname can be specified with −m.  The mname argument can be a mapname, or a nickname for a map. 

−tInhibit nickname translation.  Use this with the −m option if there is a mapname identical to a nickname. 

−x Display the map nickname table.  This option lists the nicknames (mnames) that the command knows of, and indicates the mapname associated with each nickname. 

SEE ALSO

ypfiles(5yp), rpcinfo(8nfs), ypserv(8yp), ypset(8yp)

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026