version 1.11, 2003/06/10 09:12:11 |
version 1.12, 2007/03/26 14:20:03 |
|
|
.Nd report RPC information |
.Nd report RPC information |
.Sh SYNOPSIS |
.Sh SYNOPSIS |
.Nm rpcinfo |
.Nm rpcinfo |
.Fl p |
.Fl b Ar program version |
.Op Ar host |
|
.Nm rpcinfo |
.Nm rpcinfo |
|
.Fl d Ar program version |
|
.Nm rpcinfo |
|
.Fl p Op Ar host |
|
.Nm rpcinfo |
|
.Fl s Ar program version port |
|
.Nm rpcinfo |
.Op Fl n Ar portnum |
.Op Fl n Ar portnum |
.Fl u Ar host |
.Fl t Ar host program |
.Ar program |
|
.Op Ar version |
.Op Ar version |
.Nm rpcinfo |
.Nm rpcinfo |
.Op Fl n Ar portnum |
.Op Fl n Ar portnum |
.Fl t Ar host |
.Fl u Ar host program |
.Ar program |
|
.Op Ar version |
.Op Ar version |
.Nm rpcinfo |
|
.Fl b |
|
.Ar program version |
|
.Nm rpcinfo |
|
.Fl d |
|
.Ar program version |
|
.Nm rpcinfo |
|
.Fl s |
|
.Ar program version port |
|
.Sh DESCRIPTION |
.Sh DESCRIPTION |
.Nm |
.Nm |
makes an |
makes an |
|
|
.Pp |
.Pp |
The options are as follows: |
The options are as follows: |
.Bl -tag -width Ds |
.Bl -tag -width Ds |
.It Fl p |
|
Probe the portmapper on |
|
.Ar host , |
|
and print a list of all registered |
|
.Tn RPC |
|
programs. |
|
If |
|
.Ar host |
|
is not specified, it defaults to the value returned by |
|
.Xr hostname 1 . |
|
.It Fl u |
|
Make an |
|
.Tn RPC |
|
call to procedure 0 of |
|
.Ar program |
|
on the specified |
|
.Ar host |
|
using |
|
.Tn UDP , |
|
and report whether a response was received. |
|
.It Fl t |
|
Make an |
|
.Tn RPC |
|
call to procedure 0 of |
|
.Ar program |
|
on the specified |
|
.Ar host |
|
using |
|
.Tn TCP , |
|
and report whether a response was received. |
|
.It Fl n |
|
Use |
|
.Ar portnum |
|
as the port number for the |
|
.Fl t |
|
and |
|
.Fl u |
|
options instead of the port number given by the portmapper. |
|
.It Fl b |
.It Fl b |
Make an |
Make an |
.Tn RPC |
.Tn RPC |
|
|
.Ar version . |
.Ar version . |
Registrations which point at ports numbered below 1024 can only be |
Registrations which point at ports numbered below 1024 can only be |
deleted by the superuser. |
deleted by the superuser. |
|
.It Fl n Ar portnum |
|
Use |
|
.Ar portnum |
|
as the port number for the |
|
.Fl t |
|
and |
|
.Fl u |
|
options instead of the port number given by the portmapper. |
|
.It Fl p |
|
Probe the portmapper on |
|
.Ar host , |
|
and print a list of all registered |
|
.Tn RPC |
|
programs. |
|
If |
|
.Ar host |
|
is not specified, it defaults to the value returned by |
|
.Xr hostname 1 . |
.It Fl s |
.It Fl s |
Create a registration for the |
Create a registration for the |
.Tn RPC |
.Tn RPC |
|
|
.Ar port . |
.Ar port . |
Registrations which point at ports numbered below 1024 can only be |
Registrations which point at ports numbered below 1024 can only be |
created (or changed) by the superuser. |
created (or changed) by the superuser. |
|
.It Fl t |
|
Make an |
|
.Tn RPC |
|
call to procedure 0 of |
|
.Ar program |
|
on the specified |
|
.Ar host |
|
using |
|
.Tn TCP , |
|
and report whether a response was received. |
|
.It Fl u |
|
Make an |
|
.Tn RPC |
|
call to procedure 0 of |
|
.Ar program |
|
on the specified |
|
.Ar host |
|
using |
|
.Tn UDP , |
|
and report whether a response was received. |
.El |
.El |
.Pp |
.Pp |
The |
The |