NFS Services Administrator's Guide

Configuring and Administering NIS
Configuring and Administering an NIS Master Server
Chapter 4 163
To Check the Contents of an NIS Map
Issue the following command to verify that an NIS map contains the
data you expect it to contain:
/usr/bin/ypcat -k mapname
The -k option lists the key for each item in the map as well as the data
associated with the key. For example, in the netgroup map, the netgroup
name is the key. Without the -k option, ypcat would list all the data
associated with each netgroup name, but not the netgroup name itself.
For more information on the ypcat command, type man 1 ypcat at the
HP-UX prompt.