summaryrefslogtreecommitdiff
path: root/usr.bin/rpcinfo/rpcinfo.8
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/rpcinfo/rpcinfo.8')
-rw-r--r--usr.bin/rpcinfo/rpcinfo.818
1 files changed, 10 insertions, 8 deletions
diff --git a/usr.bin/rpcinfo/rpcinfo.8 b/usr.bin/rpcinfo/rpcinfo.8
index 6a03620afec..61942a10434 100644
--- a/usr.bin/rpcinfo/rpcinfo.8
+++ b/usr.bin/rpcinfo/rpcinfo.8
@@ -1,4 +1,4 @@
-.\" $OpenBSD: rpcinfo.8,v 1.4 1999/06/05 01:21:38 aaron Exp $
+.\" $OpenBSD: rpcinfo.8,v 1.5 2000/03/10 20:17:50 aaron Exp $
.\" from: @(#)rpcinfo.8c 2.2 88/08/03 4.0 RPCSRC; from 1.24 88/02/25 SMI
.\"
.Dd December 17, 1987
@@ -28,20 +28,22 @@
.Fl d
.Ar program version
.Sh DESCRIPTION
-.Nm rpcinfo
+.Nm
makes an
.Tn RPC
call to an
.Tn RPC
server and reports what it finds.
-.Sh OPTIONS
+.Pp
+The options are as follows:
.Bl -tag -width indent
.It Fl p
Probe the portmapper on
.Ar host ,
and print a list of all registered
.Tn RPC
-programs. If
+programs.
+If
.Ar host
is not specified, it defaults to the value returned by
.Xr hostname 1 .
@@ -100,17 +102,17 @@ argument can be either a name or a number.
If a
.Ar version
is specified,
-.Nm rpcinfo
+.Nm
attempts to call that version of the specified
.Ar program .
Otherwise,
-.Nm rpcinfo
+.Nm
attempts to find all the registered version
numbers for the specified
.Ar program
by calling version 0 (which is presumed not
to exist; if it does exist,
-.Nm rpcinfo
+.Nm
attempts to obtain this information by calling
an extremely high version
number instead) and attempts to call each registered version.
@@ -158,7 +160,7 @@ service use:
.Sh BUGS
In releases prior to SunOS 3.0, the Network File System (NFS) did not
register itself with the portmapper;
-.Nm rpcinfo
+.Nm
cannot be used to make
.Tn RPC
calls to the