version 1.4, 1999/06/05 01:21:38 |
version 1.5, 2000/03/10 20:17:50 |
|
|
.Fl d |
.Fl d |
.Ar program version |
.Ar program version |
.Sh DESCRIPTION |
.Sh DESCRIPTION |
.Nm rpcinfo |
.Nm |
makes an |
makes an |
.Tn RPC |
.Tn RPC |
call to an |
call to an |
.Tn RPC |
.Tn RPC |
server and reports what it finds. |
server and reports what it finds. |
.Sh OPTIONS |
.Pp |
|
The options are as follows: |
.Bl -tag -width indent |
.Bl -tag -width indent |
.It Fl p |
.It Fl p |
Probe the portmapper on |
Probe the portmapper on |
.Ar host , |
.Ar host , |
and print a list of all registered |
and print a list of all registered |
.Tn RPC |
.Tn RPC |
programs. If |
programs. |
|
If |
.Ar host |
.Ar host |
is not specified, it defaults to the value returned by |
is not specified, it defaults to the value returned by |
.Xr hostname 1 . |
.Xr hostname 1 . |
|
|
If a |
If a |
.Ar version |
.Ar version |
is specified, |
is specified, |
.Nm rpcinfo |
.Nm |
attempts to call that version of the specified |
attempts to call that version of the specified |
.Ar program . |
.Ar program . |
Otherwise, |
Otherwise, |
.Nm rpcinfo |
.Nm |
attempts to find all the registered version |
attempts to find all the registered version |
numbers for the specified |
numbers for the specified |
.Ar program |
.Ar program |
by calling version 0 (which is presumed not |
by calling version 0 (which is presumed not |
to exist; if it does exist, |
to exist; if it does exist, |
.Nm rpcinfo |
.Nm |
attempts to obtain this information by calling |
attempts to obtain this information by calling |
an extremely high version |
an extremely high version |
number instead) and attempts to call each registered version. |
number instead) and attempts to call each registered version. |
|
|
.Sh BUGS |
.Sh BUGS |
In releases prior to SunOS 3.0, the Network File System (NFS) did not |
In releases prior to SunOS 3.0, the Network File System (NFS) did not |
register itself with the portmapper; |
register itself with the portmapper; |
.Nm rpcinfo |
.Nm |
cannot be used to make |
cannot be used to make |
.Tn RPC |
.Tn RPC |
calls to the |
calls to the |