
rpcinfo | 389
Linux
Commands
This is the Title of the Book, eMatter Edition
Copyright © 2006 O’Reilly & Associates, Inc. All rights reserved.
-Dname[=value]
Define the symbol name, and set it equal to value or 1.
-h Produce a header file. With -T, make the file support RPC
dispatch tables. Cannot be used with other options.
-I Produce an inetd-compatible server.
-K secs
Specify amount of time that the server should wait after
replying to a request and before exiting. Default is 120. Setting
secs to -1 prevents the program from ever exiting.
-l Produce client code. Cannot be used with other options.
-m Produce server code only, suppressing creation of a “main”
routine. Cannot be used with other options.
-N New style. Allow multiple arguments for procedures. Not
necessarily backward-compatible.
-o [file]
Print output to file or standard output.
-Sc Print sample client code to standard output.
-Ss Create skeleton server code only.
-t Create RPC dispatch table. Cannot be used with other
options.
-T Include support for RPC dispatch tables.
rpcinfo
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 regis-