[ Previous | Next | Contents | Glossary | Home | Search ]
AIX Version 4.3 Commands Reference, Volume 6

yppoll Command

Purpose

Displays the order number (ID number) of the Network Information Service (NIS) map currently in use on the server.

Syntax

/usr/sbin/yppoll [ -h Host ] [ -d Domain ] MapName

Description

The yppoll command uses the ypserv daemon to display the order number of the map you specify in the MapName parameter. An order number is a map's ID number and is assigned by the system. This number changes whenever a map is updated. Use the yppoll command whenever you want to make sure your servers are using the most current version of a particular map.

The yppoll command can run on systems that have either version 1 or version 2 of the Network Information Service (NIS) protocol installed. Be aware, however, that each version of the protocol has its own set of diagnostic messages.

Note: When specifying a map name, be sure to enter the map's full name. The yppoll command does not recognize map nicknames.

Flags

-h Host Enables you to specify a server other than the default server. To find out which server the command defaults to, use the ypwhich command.
-d Domain Enables you to specify a domain other than the default domain. To find out which domain the command defaults to, use the domainname command.

Examples

  1. To look at a map located on a particular host, enter:
    /usr/sbin/yppoll -h thor netgroups.byuser
    In this example, the yppoll command displays the order number for the netgroups.byuser map located on the host named thor.
  2. To look at a map on a domain, enter:
    /usr/sbin/yppoll -d atlantis hosts.byname
    In this example, the ypoll command displays the order number for the hosts.byname map located in the domain atlantis.

Related Information

The domainname command, ypwhich command.

The ypserv daemon.

Network Information Service (NIS) Overview for System Management and Network File System (NFS) Overview for System Management in AIX Version 4.3 System Management Guide: Communications and Networks.

List of NIS Commands.


[ Previous | Next | Contents | Glossary | Home | Search ]