logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

rpcctl - Displays SunRPC connection information

Author

       Anna Schumaker <Anna.Schumaker@Netapp.com>

                                                   15 Feb 2022                                         rpcctl(8)

Description

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

   rpcctlclient - CommandsoperatingonRPCclientsshow [ CLIENT ] (default)
              Show detailed information about the RPC clients on this system.  If CLIENT was provided, then only
              show information about a single RPC client.

   rpcctlswitch - CommandsoperatingongroupsoftransportssetSWITCHdstaddrNEWADDR
              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 [ SWITCH ] (default)
              Show detailed information about groups of transports on this system.  If SWITCH was provided, then
              only show information about a single transport group.

   rpcctlxprt - CommandsoperatingonindividualtransportsremoveXPRT
              Removes the specified XPRT from the system.  Note that "main" transports cannot be removed.

       setXPRTdstaddrNEWADDR
              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).

       setXPRToffline
              Sets the specified XPRT's state to offline.

       setXPRTonline
              Sets the specified XPRT's state to online.

       show [ XPRT ] (default)
              Show detailed information about this system's transports.  If XPRT was provided,  then  only  show
              information about a single transport.

Directory

/sys/kernel/sunrpc/

Examples

rpcctlswitchshowswitch-2
              Show details about the RPC switch named "switch-2".

       rpcctlxprtremovexprt-4
              Remove the xprt named "xprt-4" from the system.

       rpcctlxprtsetxprt-3dstaddrhttps://linux-nfs.org
              Change the dstaddr of the xprt named "xprt-3" to point to linux-nfs.org

Name

       rpcctl - Displays SunRPC connection information

Synopsis

rpcctl [ -h | --help ] { client | switch | xprt }

       rpcctlclient [ -h | --help ] { show }
       rpcctlclientshow [ -h--help ] [ XPRT ]

       rpcctlswitch [ -h | --help ] { set | show }
       rpcctlswitchset [ -h | --help ] SWITCHdstaddrNEWADDRrpcctlswitchshow [ -h | --help ] [ SWITCH ]

       rpcctlxprt [ -h | --help ] { remove | set | show }
       rpcctlxprtremove [ -h | --help ] XPRTrpcctlxprtset [ -h | --help ] XPRT { dstaddrNEWADDR | offline | online }
       rpcctlxprtshow [ -h | --help ] [ XPRT ]

See Also