rpcctl(8)
π rpcctl(8) β the SunRPC connection info page, bestie edition β¨
okay so you found yourself at rpcctl(8) from the System Manager's Manual section β congrats, you're in the right place, this is literally the whole vibe π¦
β¨ NAME β¨
rpcctl β Displays SunRPC connection information π
πΈ SYNOPSIS πΈ
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 add-xprt [ -h | --help ] [ SWITCH ]
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 ]
π DESCRIPTION π
The rpcctl command displays information collected in the SunRPC sysfs files about the system's SunRPC objects. it's giving "your kernel has receipts and we're reading them" π
π¦ rpcctl client β Commands operating on RPC clients
show [ CLIENT ](default) β Show detailed information about the RPC clients on this system. IfCLIENTwas provided, then only show information about a single RPC client. one at a time? obsessed with the focus β¨
π rpcctl switch β Commands operating on groups of transports
add-xprt SWITCHβ Add an additional transport to theSWITCH. Note that the new transport will take its values from the "main" transport. it's literally copying the main character's whole fit, no cap π«Άset SWITCH dstaddr NEWADDRβ Change the destination address of all transports in theSWITCHtoNEWADDR.NEWADDRcan be an IP address, DNS name, or anything else resolvable bygethostbyname(3).show [ SWITCH ](default) β Show detailed information about groups of transports on this system. IfSWITCHwas provided, then only show information about a single transport group.
π rpcctl xprt β Commands operating on individual transports
remove XPRTβ Removes the specifiedXPRTfrom the system. Note that "main" transports cannot be removed. like, main transports are not getting voted off the island, periodt πset XPRT dstaddr NEWADDRβ Change the destination address of the specifiedXPRTtoNEWADDR.NEWADDRcan be an IP address, DNS name, or anything else resolvable bygethostbyname(3).set XPRT offlineβ Sets the specifiedXPRT's state to offline. bestie is taking a nap π΄set XPRT onlineβ Sets the specifiedXPRT's state to online. she's back and she ate π₯show [ XPRT ](default) β Show detailed information about this system's transports. IfXPRTwas provided, then only show information about a single transport.
π EXAMPLES π
real ones need examples, so here you go, no gatekeeping π
rpcctl switch show switch-2
Show details about the RPC switch named "switch-2".
rpcctl xprt remove xprt-4
Remove the xprt named "xprt-4" from the system.
rpcctl xprt set xprt-3 dstaddr https://linux-nfs.org
Change the dstaddr of the xprt named "xprt-3" to point to linux-nfs.org. glow up via DNS, we love to see it π
π§ DIRECTORY π§
/sys/kernel/sunrpc/
that's the spot. that's where the lore lives π
π AUTHOR π
Anna Schumaker <Anna.Schumaker@Netapp.com> π
β heads up bestie: this page is from the System Manager's Manual, so it's the 8 section β admin territory, main character energy only π
15 Feb 2022 β rpcctl(8). that's the whole page, dated and titled and everything. go forth and inspect your transports, you absolute icon π¦β¨
π¦ where this page comes from
- arch rolling: nfs-utils 3.1.1-1 Β· GPL-2.0-or-later
- fedora 43: nfs-utils 1:2.8.7-6.fc43 Β· LicenseRef-Callaway-MIT AND GPL-2.0-only AND GPL-2.0-or-later AND LicenseRef-Callaway-BSD
- fedora 44: nfs-python-utils 1:2.8.7-0.fc44 Β· GPL-2.0-only AND GPL-2.0-or-later AND BSD-3-Clause AND BSD-2-Clause AND (HPND-export-US-modify AND HPND-sell-variant) AND (GPL-2.0-only WITH Linux-syscall-note OR BSD-3-Clause)
- fedora 44: nfs-python-utils 1:2.8.7-7.fc44 Β· GPL-2.0-only AND GPL-2.0-or-later AND BSD-3-Clause AND BSD-2-Clause AND (HPND-export-US-modify AND HPND-sell-variant) AND (GPL-2.0-only WITH Linux-syscall-note OR BSD-3-Clause)
- nixos 26.05: nfs-utils 2.9.1
- nixpkgs unstable: nfs-utils 3.1.1
- ubuntu resolute: nfs-common 1:2.8.5-1ubuntu1
- ubuntu stonking: nfs-common 1:2.9.1-1ubuntu1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms