nsquery(8) CLIX nsquery(8)
NAME
nsquery - Runs Remote File Sharing name server query
SYNOPSIS
nsquery [-h] [name]
FLAGS
-h Do not display the header.
DESCRIPTION
The nsquery command 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 flags, nsquery identifies all resources in the domain
that have been advertised as available for sharing. A report on selected
resources can be obtained by specifying name, where name is:
nodename
The report will include only those resources available from
nodename.
domain.
The report will include only those resources available from domain.
domain.nodename
The report will include only those resources available from
domain.nodename.
When the name does not include the delimiter dot (.), the name will be
interpreted as a nodename within the local domain. If the name ends with
the delimiter dot, the name 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.
EXAMPLES
This example will list the resources available from the domain graph,
nodename fee:
nsquery graph.fee
2/94 - Intergraph Corporation 1
nsquery(8) CLIX nsquery(8)
FILES
/usr/nserve/rfmaster Contains the names and network addresses of primary
and secondary domain name servers.
DIAGNOSTICS
If no entries are found when nsquery is executed, the report header is
displayed.
If your host cannot contact the domain name server, one of the following
error message will be sent to stderr:
RFS is not running
cannot setup communication with the name server.
Possible cause: heavily loaded RFS activity.
No information received from named server.
Possible cause: unknown domain name specified
or a connection to the name server could not
be established.
EXIT VALUES
The nsquery command will exit with a value of 1 if it encounters a
problem.
RELATED INFORMATION
Commands: adv(8), unadv(8)
Files: rfmaster(4)
2 Intergraph Corporation - 2/94