You may need to know whether a given host is running NIS+. A script may also need to determine whether NIS+ is running.
There are two methods for checking if NIS+ is running.
By using the svcs \*nisplus\* command to verify that NIS+ is online
By verifying the following items
nis_cachemgr is running.
The host has a /var/nis/NIS_COLD_START file.
nisls succeeds.