Manual Pages


Table of Contents

NAME

na_nis - Displays NIS information.

SYNOPSIS

nis info [-z]

DESCRIPTION

The nis family of commands provides a means to monitor NIS.

USAGE

nis info [-z]

Displays the status of the NIS client and slave services along with the domain name and the last time the local group cache was updated. It displays information tied to the NIS servers that the node had tried. The IP address, binding type, state, binding status, the last poll time and the number of pending client calls are listed. The status of the NIS netgroup cache containing the result of the "*.*" and "*.nisdomain" keys is displayed. The status of the NIS slave, name of the NIS master, and the last time that the NIS master was contacted for updates are also displayed. Here is a sample output.

  NIS domain is nistest20.mycompany.com
  The group cache was last updated on  Tue Mar 22 0:0:49 GMT 2005

     IP Address     Type  State  Bound      Last Polled            Client calls   Became Active
  ---------------------------------------------------------------------------------------------
  172.16.111.29    PREFF ALIVE   YES   Thu Aug  5 15:45:34 PDT 1999         0   Thu Aug  5 15:45:34 PDT 1999
                   BCAST sent    at    Thu Aug  5 15:45:34 PDT 1999             Thu Aug  5 15:44:10 PDT 1999
  172.16.111.30    BCAST ALIVE   NO    Thu Aug  5 15:45:34 PDT 1999         0   Thu Aug  5 15:41:05 PDT 1999



             NIS Performance Statistics:
       Number of YP Lookups: 14
       Total time spent in YP Lookups: 2137 ms, 611 us
       Number of network re-transmissions: 0
       Minimum time spent in a YP Lookup: 8 ms, 619 us
       Maximum time spent in a YP Lookup: 702 ms, 215 us
       Average time spent in YP Lookups: 152 ms, 686 us

            3 Most Recent Lookups:
       [0] Lookup time: 702 ms, 215 us Number of network re-transmissions: 0
       [1] Lookup time: 10 ms, 982 us  Number of network re-transmissions: 0
       [2] Lookup time: 10 ms, 140 us  Number of network re-transmissions: 0

            NIS netgroup (*.* and *.nisdomain) cache status:
       Netgroup cache: uninitialized
       *.* eCode: 0
       *.nisdomain eCode: 0

  NIS Slave Enabled
  NIS Master Server nwk-c72.nistest20.mycompany.com
  NIS Map Last Checked Time Tue Mar 22 02:43:29 GMT 2005

OPTIONS

-z
This option is used to zero out the NIS Performance Statistics collected since the last reboot or since the last time this option was used. Subsequent use of the nis info command will print NIS Performance Statistics since the last use of -z option.

_FI_FI_

VFILER CONSIDERATIONS

When run from a vfiler context, (for example via the vfiler run command), nis displays NIS information about the concerned vfiler.

SEE ALSO

na_dns(1), na_options(1), na_vfiler(1)


Table of Contents