Managing Network File Systems in Oracle® Solaris 11.2

Exit Print View

Updated: July 2014

rpcinfo Command

The rpcinfo command generates information about the RPC service that is running on a system. Use the following command syntaxes to display information about the RPC service:

# rpcinfo [ –m | –s ] [ hostname ]

# rpcinfo [–T transport] hostname [ progname ]

# rpcinfo [ –t | –u ] [ hostname ] [ progname ]


Displays a table of statistics of the rpcbind operations


Displays a concise list of all registered RPC programs


Displays information about services that use specific transports or protocols


Probes the RPC programs that use TCP


Probes the RPC programs that use UDP


Specifies the transport or protocol for the services


Specifies the host name of the server


Specifies the name of the RPC program

For more information about the available options, see the rpcinfo (1M) man page.

If no value is given for hostname, the local host name is used. You can substitute the RPC program number for progname, but the name is more commonly used. You can use the –p option in place of the –s option on those systems that do not run the NFS Version 3 software.

    The data that is generated by this command can include the following:

  • RPC program number

  • Version number for a specific program

  • Transport protocol in use

  • Name of the RPC service

  • Owner of the RPC service

Example 6-3  Displaying RPC Service Information
# rpcinfo -s bee |sort -n
   program version(s) netid(s)                                    service     owner
    100000  2,3,4     udp6,tcp6,udp,tcp,ticlts,ticotsord,ticots   portmapper  superuser
    100001  4,3,2     udp6,udp,ticlts                             rstatd      superuser
    100003  4,3,2     tcp,udp,tcp6,udp6                           nfs         1
    100005  3,2,1     ticots,ticotsord,tcp,tcp6,ticlts,udp,udp6   mountd      superuser
    100007  1,2,3     ticots,ticotsord,ticlts,tcp,udp,tcp6,udp6   ypbind      1
    100011  1         udp6,udp,ticlts                             rquotad     superuser
    100021  4,3,2,1   tcp,udp,tcp6,udp6                           nlockmgr    1
    100024  1         ticots,ticotsord,ticlts,tcp,udp,tcp6,udp6   status      superuser
    100068  5,4,3,2   ticlts                                        -         superuser
    100083  1         ticotsord                                     -         superuser
    100133  1         ticots,ticotsord,ticlts,tcp,udp,tcp6,udp6     -         superuser
    100134  1         ticotsord                                     -         superuser
    100155  1         ticotsord                                   smserverd   superuser
    100169  1         ticots,ticotsord,ticlts                       -         superuser
    100227  3,2       tcp,udp,tcp6,udp6                           nfs_acl     1
    100234  1         ticotsord                                     -         superuser
    390113  1         tcp                                           -         superuser
    390435  1         tcp                                           -         superuser
    390436  1         tcp                                           -         superuser
1073741824  1         tcp,tcp6                                      -         1

The example shows information about the RPC services that are running on a server. The output that is generated by the command is filtered by the sort command by program number to make the information more readable. Several lines that list RPC services have been deleted from the example.

You can gather information about a particular RPC service by selecting a particular transport on a server. The following example checks the mountd service that is running over TCP.

# rpcinfo -t bee mountd
program 100005 Version 1 ready and waiting
program 100005 Version 2 ready and waiting
program 100005 Version 3 ready and waiting

The following example checks the NFS service that is running over UDP.

# rpcinfo -u bee nfs
program 100003 Version 2 ready and waiting
program 100003 Version 3 ready and waiting