HP-UX Reference (11i v2 03/08) - 1M System Administration Commands N-Z (vol 4)
y
yppoll(1M) yppoll(1M)
NAME
yppoll - query NIS server for information about NIS map
SYNOPSIS
/usr/sbin/yppoll
[-h host][-d domain] mapname
Remarks
The Network Information Service (NIS) was formerly known as Yellow Pages (yp). Although the name
has changed, the functionality of the service remains the same.
DESCRIPTION
yppoll asks a Network Information Service (NIS) server process (see ypserv(1M)) to return the order
number (the
time in seconds when the map was built − time(2)) and master NIS server’s host name for a
NIS database named mapname.
yppoll then writes them to standard output. If the server uses Ver-
sion 1 NIS protocol, yppoll uses this older protocol to communicate with it.
yppoll also prints the old
style diagnostic messages in case of failure.
See ypfiles(4) and ypserv(1M) for an overview of Network Information Service.
Options
-h host Ask the ypserv process on host to return the map information (see ypserv (1M)). If
-h host is not specified, the host returned by ypwhich is used (see ypwhich(1)).
-d domain Use domain instead of the domain returned by domainname (see domainname(1)).
AUTHOR
yppoll was developed by Sun Microsystems, Inc.
SEE ALSO
domainname(1), ypwhich(1), ypserv(1M), ypfiles(4).
Section 1M−−936 Hewlett-Packard Company − 1 − HP-UX 11i Version 2: August 2003