Open System Services Shell and Utilities Reference Manual (G06.25+, H06.03+)

Miscellaneous Files and Commands rpcinfo(8)
-b Makes an RPC broadcast to procedure 0 of a targeted RPC pro-
gram that is identied by the other specied options and reports
whether a response is received.
-d Deletes the registration of a targeted RPC program that is
identied by the other specied options. This ag can be
specied only by the super ID (255,255 in the Guardian environ-
ment, 65535 in the OSS environment).
DESCRIPTION
The RPCINFO utility is a Guardian program that reports or modies the status of RPC services
accessible from the local HP NonStop server node.
The program names reported do not have a one-to-one relationship to a specic process. When
multiple server processes are running on the same HP NonStop server node, the report includes
only one entry for each version of the server program and each TCP/IP client protocol supported
by the program.
EXAMPLES
1. The following example displays the names and TCP/IP or UDP port
numbers of all RPC services registered on the local node:
ADD DEFINE =ZRPCˆRPCˆFILE, FILE $SYSTEM.ZRPC.RPC
RPCINFO -p
The output contains one line for each version of an RPC program and for
each client protocol supported by the program. The program line shows
the RPC program number, the program version, the client protocol used
by the program, the port number, and the program name. For example:
program vers proto port
100000 2 tcp 111 portmapper
2. The following example displays the names and TCP/IP or UDP port
numbers of all RPC services registered on the remote node
forty.tandem.com:
ADD DEFINE =ZRPCˆRPCˆFILE, FILE $SYSTEM.ZRPC.RPC
RPCINFO -p forty.tandem.com
3. The following example displays the names of all HP NonStop server
nodes that are running version 2 of the HP portmapper program, as
congured in the default RPC program denition le:
RPCINFO -b portmapper 2
In this example, the output contains the IP address of each node contacted
during the search for a node that runs version 2 of the portmapper program
and the corresponding name of the host. The listing looks something like
the following:
111.222.333.444 forty.tandem.com
111.222.555.666 loc247.tandem.com
program 100000 version 2 ready and waiting
527188-003 Hewlett-Packard Company 1231