Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ ypwhich(8) — SunOS 2.0

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

ypfiles(5)

rpcinfo(8)

yppush(8)

ypserv(8)

YPWHICH(8)  —  MAINTENANCE COMMANDS

NAME

ypwhich − which machines are the YP server and master? 

SYNOPSIS

ypwhich [ −d domainname ] [ hostname ]

ypwhich [ −d domainname ] [ −t ] −m [ mname ]

DESCRIPTION

Ypwhich tells which YP server supplies yellow pages to a YP client, and which YP server is the master for a map.  If invoked without arguments, it gives the YP server for the local machine.  If hostname is specified, that machine is queried to find out which YP master it is using. 

If the −m switch is used without mname, a list of every map in the domain and the master of each will be printed.  If mname is specified, only the master YP server for that map is printed.  Mname may be a mapname, or a nickname for a mapname.  Mapnames and nicknames are described in ypcat(8).

OPTIONS

−d Domainname specifies the name of a YP domain.  The default is the default domain for the local machine. 

−m Find the master YP server for a map, or for all maps in a domain.  No hostname may be specified with −m. 

−t Inhibit nickname translation; useful if there is a mapname identical to a nickname.  This is not true of any Sun-supplied map. 

SEE ALSO

ypfiles(5), rpcinfo(8), yppush(8), ypserv(8)

Sun Release 2.0  —  Last change: 14 March 1985

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