[Previous] [Contents] [Index] [Next]

rpcinfo

Report RPC information

Syntax:

rpcinfo -p [host]

rpcinfo [-n portnum] -u host program [version]

rpcinfo [-n portnum] -t host program [version]

rpcinfo -b program version

rpcinfo -d program version

Options:

-b program version
Using UDP, make an RPC broadcast to procedure 0 of the specified program and version, and report all hosts that respond.
-d program version
Delete the registration for the RPC service of the specified program and version. Only the superuser can use this option.
-n portnum
Use portnum as the port number for the -t and -u options instead of the port number given by the portmapper.
-p [host]
Probe the portmapper on host and print a list of all registered RPC programs. If a host isn't specified, use the standard hostname for the current processor.
-t host program
Using TCP, make an RPC call to procedure 0 of program on the specified host and report whether a response was received.
-u host program
Using UDP, make an RPC call to procedure 0 of program on the specified host and report whether a response was received.
program
A name or a number of a program, as listed by the -p option.
version
A version of the specified program. If you don't specify a version, rpcinfo looks for all the registered version numbers for the specified program and then tries to call each registered version. To find all of a program's version numbers, rpcinfo calls version 0, which is presumed not to exist. If it does exist, rpcinfo tries to obtain this information by calling an extremely high version number instead.

Description:

The rpcinfo utility makes an RPC call to an RPC server and reports what it finds.

Examples:

Show all the RPC services registered on the local machine:

rpcinfo -p

Show all the RPC services registered on the machine named klaxon:

rpcinfo -p klaxon

Delete the registration for version 1 of the walld service:

rpcinfo -d walld 1

Files:

/etc/rpc
RPC program number database.

See also:

/etc/rpc, rpcbind


[Previous] [Contents] [Index] [Next]