You can use rpcinfo to list programs on remote computers.

Syntax

List all programs registered with the port mapper:

rpcinfo -p [Node]

Request a response from network nodes that have a specified program:

rpcinfo -b Program Version

Use Transmission Control Protocol (TCP) to call a program:

rpcinfo -t Node Program [Version]

Use User Datagram Protocol (UDP) to call a program:

rpcinfo -u Node Program [Version]

Description

The rpcinfo command-line utility makes a remote procedure call (RPC) to an RPC server and reports what it finds.

The rpcinfo utility accepts the following options:

-p [Node]
Lists all programs registered with the port mapper on the specified host. If you do not specify a node (computer) name, the program queries the port mapper on the local host.
-b Program Version
Requests a response from all network nodes that have the specified program and version registered with the port mapper. You must specify both a program name or number and a version number.
-t Node Program [Version]
Uses the TCP transport protocol to call the specified program. You must specify both a node (computer) name and a program name. If you do not specify a version, the program calls all versions.
-u Node Program [Version]
Uses the UDP transport protocol to call the specified program. You must specify both a node (computer) name and a program name. If you do not specify a version, the program calls all versions.