If the ChorusOS system is bound to an NIS domain, you can use ypcat(1CC), ypmatch(1CC) and ypwhich(1CC) to obtain information from the NIS database.
The following example uses ypcat to find "demo" networks mentioned in the NIS database:
$ rsh target arun /bin/ypcat networks | grep demo started aid = 22 demo 129.157.171 demo2 129.157.176 |
Note that ypcat, ypmatch and ypwhich require access to the NIS database in order to look up information. See "Name Services and ypbind" for suggestions about binding to the NIS server for the domain.