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