This program is available with the RFS software installation option. Refer to [a manual with the abbreviation INSTALL] for information on how to install optional software.
nsquery provides information about resources available to the host from both the local domain and from other domains. All resources are reported, regardless of whether the host is authorized to access them. When used with no options, nsquery identifies all resources in the domain that have been advertised as sharable. A report on selected resources can be obtained by specifying name, where name is one of:
When the name does not include the delimiter `.', it will be interpreted as a nodename within the local domain. If the name ends with a delimiter `.', it will be interpreted as a domain name.
The information contained in the report on each resource includes its advertised name (domain.resource), the read/write permissions, the server (nodename.domain) that advertised the resource, and a brief textual description.
A remote domain must be listed in your rfmaster file in order to query that domain.
If no entries are found when nsquery is executed, the report header is printed.
If your host cannot contact the domain name server, an error message will be sent to standard error.
The following example displays the resources available from the domain sunrfs:
example% nsquery sunrfs. RESOURCE ACCESS SERVER DESCRIPTION LOCAL_SUN3 read-only sunrfs.estale LOCAL_SUN4 read-only sunrfs.estale LOCAL_SHARE read-only sunrfs.estale
Created by unroff & hp-tools. © by Hans-Peter Bischof. All Rights Reserved (1997).
Last modified 21/April/97