showsvcs allows network and system administrators
to monitor and/or validate network names, addresses, and
services advertised on a network by the Service Advertising
Protocol (SAP). Depending on the option
specified, it lists addresses of specified servers, or
lists the names of servers of a specified type, or lists
the name and address of the nearest server offering a
specified service.
showsvcs queries the local Service Advertising
Protocol Daemon (SAPD). If the request fails,
network services are either not reported or reported
incompletely.
The options are interpreted as follows:
-aserver_name
specify that only those services advertised by the given server
should be displayed.
-f
specify that host names should be displayed in full. By
default, showsvcs will truncate server names
longer than 15 characters. Truncated names are indicated
by an asterisk (*) preceded by a space at the end of the
name.
-gserver_type
specify that only those services of the given type should
be displayed. A server type of FFFF serves as a
wildcard, listing all available services.
-h
specify that service types are to be displayed in
hexadecimal format. By default, showsvcs lists
service types as character strings.
-nserver_type
specify that only information about the nearest server
offering the specified service should be listed
When invoked without options, showsvcs lists all
services known to the host on which the command was
issued. This is equivalent to invoking showsvcs
with the -g FFFF option.