NFSDCLTS(8)
π NFSDCLTS(8) π
okay bestie, so this whole page is from section 8 of the manual, and the command is called nfsdclnts. yes the capital letters are doing the most, we love that for it.
β¨ NAME β¨
nfsdclnts β print various nfs client information for knfsd server.
like... it's giving receipts on who's connected. π΅οΈβοΈ
π SYNOPSIS π
nfsdclnts [-h] [-t type] [--clientinfo] [--hostname] [-q]
that's the whole vibe. short, cute, powerful. π
πΈ DESCRIPTION πΈ
so the way that nfsdclnts(8) works is it parses the content that lives inside the /proc/fs/nfsd/clients/ directories. that's its whole thing. π
and then it shows you the files that are open, locked, or delegated by the nfs-client. plus it prints useful client info like the hostname, the clientID, and which NFS version the nfs-client mounted. iconic behavior honestly. β¨
π OPTIONS π
-t,--type=TYPEβ tell it which type of file you wanna see. it only takes oneTYPEat a time, so don't get greedy bestie. π
the valid values are open, lock, deleg, layout, or all:
open: displays the open files by nfs-client(s).lock: displays the files locked by nfs-client(s).layout: displays the files for which layout is given.deleg: displays delegated files information and delegation type.all: prints all the above type.
--clientinfoβ displays various nfs-client info fields such as version of nfs mounted at nfs-client and clientID. the little β¨detailβ¨ fields.--hostnameβ Print hostname of nfs-client instead of ip-address. cute names > numbers, fr fr.-q,--quietβ Hide the header information. no header, just data. minimalism era. π€«-v,--verboseβ Verbose operation, show debug messages. she's oversharing and we're here for it. π-f,--fileβ Instead of processing all client directories under/proc/fs/nfsd/clients, one can provide a specific states file to process. One should make sure thatinfofile resides in the same directory asstatesfile. If theinfofile is not valid or present the fields would be marked as"N/A".-h,--helpβ Print help explaining the command line options. the classic. the beloved. π«Ά
π¦ EXAMPLES π¦
nfsdclnts --type open
List all files with open type only.
Inode number | Type | Access | Deny | ip address | Filename
33823232 | open | r- | -- | [::1]:757 | testfile
nfsdclnts --type deleg
List all files with deleg type only.
Inode number | Type | Access | ip address | Filename
33823232 | deleg | r | [::1]:757 | testfile
nfsdclnts --hostname
Print hostname instead of ip-address.
Inode number | Type | Access | Deny | Hostname | Filename
33823232 | open | r- | -- | nfs-server | testfile
33823232 | deleg | r | | nfs-server | testfile
nfsdclnts --clientinfo
Print client information.
Inode number | Type | Access | Deny | ip address | Client ID | vers | Filename
33823232 | open | r- | -- | [::1]:757 | 0xc79a009f5eb65e84 | 4.2 | testfile
33823232 | deleg | r | | [::1]:757 | 0xc79a009f5eb65e84 | 4.2 | testfile
nfsdclnts --file /proc/fs/nfsd/clients/3/states -t open
Process specific states file.
Inode number | Type | Access | Deny | ip address | Client ID | vers | Filename
33823232 | open | r- | -- | [::1]:757 | 0xc79a009f5eb65e84 | 4.2 | testfile
nfsdclnts --quiet --hostname
Hide the header information.
33823232 | open | r- | -- | nfs-server | testfile
33823232 | deleg | r | | nfs-server | testfile
π FILES π
/proc/fs/nfsd/clients/
Displays basic information about each NFSv4 client.
/proc/fs/nfsd/clients/#/info
Displays information about all the opens held by the given client, including open modes, device numbers, inode numbers, and open owners.
/proc/fs/nfsd/clients/#/states
π NOTES π
/proc/fs/nfsd/clients/ support was initially introduced in 5.3 kernel and is only implemented for mount points using NFSv4. so if you're on something older, that's a no from her. π
π BUGS π
Please report any BUGs to linux-nfs@vger.kernel.org
bestie if you find a bug, email the mailing list, don't just suffer in silence. π§
π SEE ALSO π
nfsd(8), exportfs(8), idmapd(8), statd(8)
π AUTHORS π
Achilles Gaikwad <agaikwad@redhat.com> and Kenneth D'souza <kdsouza@redhat.com>
and that's the whole page, bestie!! π this was nfsdclnts, section 8, dated 2020-05-09, from the nfsdclnts source. mwah. π no cap, go read your man pages, iykyk. πβ¨π¦
π¦ where this page comes from
- alpine 3.22: nfs-utils-doc 2.6.4-r4 Β· GPL-2.0-only
- alpine 3.23: nfs-utils-doc 2.6.4-r6 Β· GPL-2.0-only
- alpine 3.24: nfs-utils-doc 2.6.4-r6 Β· GPL-2.0-only
- arch rolling: nfs-utils 3.1.1-1 Β· GPL-2.0-or-later
- centos-stream 10: nfs-utils 1:2.8.3-9.el10 Β· MIT and GPLv2 and GPLv2+ and BSD
- centos-stream 9: nfs-utils 1:2.5.4-45.el9 Β· MIT and GPLv2 and GPLv2+ and BSD
- debian bookworm: nfs-kernel-server 1:2.6.2-4+deb12u1
- debian trixie: nfs-kernel-server 1:2.8.3-1
- fedora 43: nfs-utils 1:2.8.4-0.fc43 Β· LicenseRef-Callaway-MIT AND GPL-2.0-only AND GPL-2.0-or-later AND LicenseRef-Callaway-BSD
- 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
- opensuse-leap 16.0: nfs-client 2.8.2-160000.4.1 Β· GPL-2.0-or-later
- opensuse-leap 16.0: nfs-client 2.8.2-160000.4.1 Β· GPL-2.0-or-later
- opensuse-leap 16.0: nfs-client 2.8.2-160000.4.1 Β· GPL-2.0-or-later
- opensuse-leap 16.0: nfs-client 2.8.2-160000.4.1 Β· GPL-2.0-or-later
- ubuntu jammy: nfs-kernel-server 1:2.6.1-1ubuntu1
- ubuntu jammy: nfs-kernel-server 1:2.6.1-1ubuntu1.2
- ubuntu noble: nfs-kernel-server 1:2.6.4-3ubuntu5
- ubuntu noble: nfs-kernel-server 1:2.6.4-3ubuntu5.1
- ubuntu questing: nfs-kernel-server 1:2.8.3-1ubuntu3
- ubuntu resolute: nfs-kernel-server 1:2.8.5-1ubuntu1
- ubuntu stonking: nfs-kernel-server 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