Name

rpcinfo

Synopsis

rpcinfo [options] [host] [program] [version]

NFS/NIS command. Report RPC information. program can be either a name or a number. If a version is specified, rpcinfo attempts to call that version of the specified program. Otherwise, it attempts to find all the registered version numbers for the specified program by calling version 0, and then attempts to call each registered version.

Options

-b

Make an RPC broadcast to the specified program and version using UDP, and report all hosts that respond.

-d

Delete the specified version of program’s registration. Can be executed only by the user who added the registration or by a privileged user.

-n portnum

Use portnum as the port number for the -t and -u options, instead of the port number given by the portmapper.

-p

Probe the portmapper on host and print a list of all registered RPC programs. If host is not specified, it defaults to the value returned by hostname.

-t

Make an RPC call to program on the specified host using TCP, and report whether a response was received.

-u

Make an RPC call to program on the specified host using UDP, and report whether a response was received.

Get Linux in a Nutshell, 6th Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.