HP-UX Reference (11i v1 00/12) - 1M System Administration Commands N-Z (vol 4)

__________________________________________________________________________________________________________________________________________________________________________________________________
__________________________________________________________________________________________________________________________________________________________________________________________________
STANDARD Printed by: Nora Chuang [nchuang] STANDARD
/build/1111/BRICK/man1m/naaagt.1m
________________________________________________________________
___ ___
r
rpcinfo(1M) rpcinfo(1M)
-d Delete registration for the RPC service of the specified prognum and versnum.Iftransport
is specified, unregister the service on only that transport, otherwise unregister the service
on all the transports on which it was registered. Only the owner of a service can delete a
registration, except the super-user who can delete any service.
-l Display a list of entries with a given prognum and versnum on the specified host.Entries
are returned for all transports in the same protocol family as that used to contact the
remote rpcbind.
-m Display a table of statistics of rpcbind operations on the given host. The table shows
statistics for each version of rpcbind (versions 2, 3 and 4), giving the number of times
each procedure was requested and successfully serviced, the number and type of remote
call requests that were made, and information about RPC address lookups that were han-
dled. This is useful for monitoring RPC activities on host.
-n portnum Use portnum as the port number for the -t and -u options instead of the port number
given by rpcbind. Use of this option avoids a call to the remote rpcbind to find out
the address of the service. This option is made obsolete by the -a option.
-p Probe rpcbind on host using version 2 of the
rpcbind protocol, and display a list of all
registered RPC programs. If host is not specified, it defaults to the local host. Note that
version 2 of the
rpcbind protocol was previously known as the portmapper protocol.
-s Display a concise list of all registered RPC programs on host.Ifhost is not specified, it
defaults to the local host.
-t Make an RPC call to procedure 0 of prognum on the specified host using TCP, and report
whether a response was received. This option is made obsolete by the
-T option as shown
in the third synopsis.
-u Make an RPC call to procedure 0 of prognum on the specified host using UDP, and report
whether a response was received. This option is made obsolete by the
-T option as shown
in the third synopsis.
EXAMPLES
To show all of the RPC services registered on the local machine use:
example% rpcinfo
To show all of the RPC services registered with rpcbind on the machine named klaxon use:
example% rpcinfo klaxon
To show whether the RPC service with program number prognum and version versnum is registered on the
machine named
klaxon for the transport TCP use:
example% rpcinfo -T tcp klaxon prognum versnum
To show all RPC services registered with version 2 of the rpcbind protocol on the local machine use:
example% rpcinfo -p
To delete the registration for version 1 of the walld (program number 100008) service for all transports
use:
example# rpcinfo -d 100008 1
or
example# rpcinfo -d walld 1
AUTHOR
rpcinfo was developed by Sun Microsystems, Inc.
SEE ALSO
rpcbind(1M), rpc(3N), netconfig(4), rpc(4).
HP-UX Release 11i: December 2000 2 Section 1M737
___
___