📄 rpcinfo.8c
字号:
.\" @(#)rpcinfo.8c 2.2 88/08/03 4.0 RPCSRC; from 1.24 88/02/25 SMI.TH RPCINFO 8C "17 December 1987".SH NAMErpcinfo \- report RPC information.SH SYNOPSIS.B "rpcinfo \-p"[.I host].LP.B "rpcinfo"[.B \-n.I portnum].B \-u.I host.I program[.I version].LP.B "rpcinfo"[.B \-n.I portnum].B \-t.I host.I program[.I version].LP.B "rpcinfo \-b".I program.I version.LP.B "rpcinfo \-d".I program.I version.SH DESCRIPTION.B rpcinfomakes an.SM RPCcall to an.SM RPCserver and reports what it finds..SH OPTIONS.TP.B \-pProbe the portmapper on.IR host ,and print a list of all registered.SM RPCprograms. If.I hostis not specified, it defaults to the value returned by.BR hostname (1)..TP.B \-uMake an.SM RPCcall to procedure 0 of.I programon the specified.I hostusing.SM UDP\s0,and report whether a response was received..TP.B \-tMake an.SM RPCcall to procedure 0 of.I programon the specified.I hostusing.SM TCP\s0,and report whether a response was received..TP.B \-nUse.I portnumas the port number for the.I \-tand.I \-uoptions instead of the port number given by the portmapper..TP.B \-bMake an.SM RPCbroadcast to procedure 0 of the specified.I programand.I versionusing.SM UDPand report all hosts that respond..TP.B \-dDelete registration for the.SM RPCservice of the specified.I programand.IR version .This option can be exercised only by the super-user..LPThe.I programargument can be either a name or a number..LPIf a.I versionis specified,.B rpcinfoattempts to call that version of the specified.IR program .Otherwise,.B rpcinfoattempts to find all the registered versionnumbers for the specified.I programby calling version 0 (which is presumed notto exist; if it does exist,.B rpcinfoattempts to obtain this information by callingan extremely high versionnumber instead) and attempts to call each registered version.Note: the version number is required for.B \-band.B \-doptions..SH EXAMPLESTo show all of the.SM RPCservices registered on the local machine use:.IP.B example% rpcinfo -p.LPTo show all of the.SM RPCservices registered on the machine named.B klaxonuse:.IP.B example% rpcinfo -p klaxon.LPTo show all machines on the local net that are running the Yellow Pagesservice use:.IP.B "example% rpcinfo -b ypserv 'version' | uniq".LPwhere 'version' is the current Yellow Pages version obtained from theresults of the.B \-pswitch above..LPTo delete the registration for version 1 of the.B walldservice use:.IP.B example% rpcinfo -d walld 1.SH "SEE ALSO".BR rpc (5),.BR portmap (8C).LP.I "\s-1RPC\s0 Programming Guide".SH BUGSIn releases prior to Sun\s-1OS\s03.0, the Network File System (\s-1NFS\s0) did notregister itself with theportmapper;.B rpcinfocannot be used to make.SM RPCcalls to the.SM NFSserver on hosts running such releases.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -