xref: /titanic_51/usr/src/man/man1m/yppoll.1m (revision a65cd518c5d0f30c53594a7022eb0f7d04c98cef)
te
Copyright 1989 AT&T Copyright (c) 1988 Sun Microsystems, Inc. - All Rights Reserved.
The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License.
You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. See the License for the specific language governing permissions and limitations under the License.
When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
YPPOLL 1M "Sep 14, 1992"
NAME
yppoll - return current version of a NIS map at a NIS server host
SYNOPSIS

/usr/sbin/yppoll [-d ypdomain] [-h host] mapname
DESCRIPTION

The yppoll command asks a ypserv(\|) process what the order number is, and which host is the master NIS server for the named map.

OPTIONS
-d ypdomain

Use ypdomain instead of the default domain.

-h host

Ask the ypserv process at host about the map parameters. If host is not specified, the NIS server for the local host is used. That is, the default host is the one returned by ypwhich(1).

SEE ALSO

ypwhich(1), ypfiles(4), attributes(5)