rpcctl(8) System Manager's Manual rpcctl(8)

rpcctl - Displays SunRPC connection information

rpcctl [ -h | --help ] { client | switch | xprt }
rpcctl client [ -h | --help ] { show }
rpcctl client show [ -h  --help ] [ XPRT ]
rpcctl switch [ -h | --help ] { set | show }
rpcctl switch set [ -h | --help ] SWITCH dstaddr NEWADDR
rpcctl switch show [ -h | --help ] [ SWITCH ]
rpcctl xprt [ -h | --help ] { remove | set | show }
rpcctl xprt remove [ -h | --help ] XPRT
rpcctl xprt set [ -h | --help ] XPRT { dstaddr NEWADDR | offline | online }
rpcctl xprt show [ -h | --help ] [ XPRT ]

The rpcctl command displays information collected in the SunRPC sysfs files about the system's SunRPC objects.

Show detailed information about the RPC clients on this system. If CLIENT was provided, then only show information about a single RPC client.

Change the destination address of all transports in the SWITCH to NEWADDR. NEWADDR can be an IP address, DNS name, or anything else resolvable by gethostbyname(3).
Show detailed information about groups of transports on this system. If SWITCH was provided, then only show information about a single transport group.

Removes the specified XPRT from the system. Note that "main" transports cannot be removed.
Change the destination address of the specified XPRT to NEWADDR. NEWADDR can be an IP address, DNS name, or anything else resolvable by gethostbyname(3).
Sets the specified XPRT's state to offline.
Sets the specified XPRT's state to online.
Show detailed information about this system's transports. If XPRT was provided, then only show information about a single transport.

Show details about the RPC switch named "switch-2".
Remove the xprt named "xprt-4" from the system.
Change the dstaddr of the xprt named "xprt-3" to point to linux-nfs.org

/sys/kernel/sunrpc/

Anna Schumaker <Anna.Schumaker@Netapp.com>

15 Feb 2022