nfsstat(8)
๐ nfsstat(8) โ like, your NFS receipts, bestie ๐
okay so this is nfsstat, a lil system manager's manual situation (that's the manual name btw, section 8, we stan a sysadmin classic) ๐
โจ NAME โจ
nfsstat โ list NFS statistics ๐ฆ
โจ SYNOPSIS โจ
nfsstat [OPTION]...
โจ DESCRIPTION โจ
so basically, nfsstat displays statistics kept about NFS client and server activity. it's giving โจreceiptsโจ. no cap, it just shows you the numbers. ๐
โจ OPTIONS โจ
-s,--serverโ print only server-side statistics. the default is to print both server and client statistics. you're picking a side, periodt. ๐-c,--clientโ print only client-side statistics. the other side of the situationship. ๐ซถ-n,--nfsโ print only NFS statistics. the default is to print both NFS and RPC information. keep it NFS-only, mind your business, slay. โจ-2โ print only NFS v2 statistics. the default is to only print information about the versions of NFS that have non-zero counts. v2 is so vintage of it, lowkey iconic. ๐-3โ print only NFS v3 statistics. the default is to only print information about the versions of NFS that have non-zero counts. ๐ฅ-4โ print only NFS v4 statistics. the default is to only print information about the versions of NFS that have non-zero counts. the main character version fr fr. ๐-m,--mountsโ print information about each of the mounted NFS file systems.
โ ๏ธ heads up bestie: if this option is used, all other options are ignored. she does NOT share the spotlight. ๐จ
-r,--rpcโ print only RPC statistics. ๐ธ-ofacility โ display statistics for the specified facility, which must be one of:nfsโ NFS protocol information, split up by RPC call. ๐ฆrpcโ general RPC information.netโ network layer statistics, such as the number of received packets, number of TCP connections, etc. ๐fhโ usage information on the server's file handle cache, including the total number of lookups, and the number of hits and misses. โจrcโ usage information on the server's request reply cache, including the total number of lookups, and the number of hits and misses.ioโ usage information on the server's io statistics; bytes read and written. ๐raโ usage information on the server's read ahead cache, including the ra cache size, the depth of ra cache hits, and ra cache misses. ๐งallโ display all of the above facilities. the whole buffet, eat up. ๐
-v,--verboseโ this is equivalent to-o all. same vibe, shorter name. ๐-l,--listโ print information in list form. ๐-S,--sincefile โ instead of printing current statistics,nfsstatimports statistics from file and displays the difference between those and the current statistics. valid input files may be in the form of/proc/net/rpc/nfs(raw client stats),/proc/net/rpc/nfsd(raw server stats), or saved output fromnfsstatitself (client and/or server stats). any statistics missing from a savednfsstatoutput file are treated as zeroes. it's giving "compare me to my past self" energy. ๐ช-Z[interval],--sleep=[interval]โ instead of printing current statistics and immediately exiting,nfsstattakes a snapshot of the current statistics and pauses until it receivesSIGINT(typically from Ctrl-C), at which point it takes another snapshot and displays the difference between the two. if interval is specified,nfsstatwill print the number of NFS calls made since the previous report. stats will be printed repeatedly every interval seconds. literally the "wait for itโฆ wait for itโฆ ok now" option. ๐ญ
โจ EXAMPLES โจ
nfsstat -o all -234
show all information about all versions of NFS. ๐
nfsstat --verbose -234
same as above. ๐ซถ
nfsstat -o all
show all information about active versions of NFS. โจ
nfsstat --nfs --server -3
show statistics for NFS version 3 server. ๐
nfsstat -m
show information about mounted NFS filesystems. ๐ฆ
โจ DISPLAY โจ
the Flags output from the -m option is the same as the flags give to the mount command. (yes, "give", that's what the page says, we don't edit the source material bestie, we just vibe with it ๐)
โจ FILES โจ
/proc/net/rpc/nfsdโ procfs-based interface to kernel NFS server statistics. ๐ธ/proc/net/rpc/nfsโ procfs-based interface to kernel NFS client statistics. ๐ธ/proc/mountsโ procfs-based interface to the mounted filesystems. ๐ธ
โจ SEE ALSO โจ
rpc.nfsd(8). nfs(5). go read those too, iykyk ๐
โจ BUGS โจ
๐จ bug alert, bestie, read carefully:
the default output has been changed. to get the old default output you must run nfsstat --auto -2.
the function of the -v and -a options have changed. the -a option is now reserved for future use. the -v does what the -a option used to do, and the new -[234] options replace the -v option.
the Display section should be more complete. (they said it, not me ๐ญ)
further bugs can be found or reported at http://nfs.sf.net/. ๐ฎ
โจ AUTHOR โจ
Olaf Kirch, <okir@suse.de> โ legend behavior, we love to see it. ๐
okay that's the whole thing, bestie, you're officially nfsstat-literate ๐ this manual page is nfsstat(8) from the System Manager's Manual, dated 7 Aug 2007 โ and that's the whole footer, so consider this your cute sign-off. mwah. ๐
โจ๐
๐ฆ 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 10: nfs-utils-coreos 1:2.8.3-9.el10 ยท MIT and GPLv2 and GPLv2+ and BSD
- centos-stream 10: nfsv4-client-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
- centos-stream 9: nfs-utils-coreos 1:2.5.4-45.el9 ยท MIT and GPLv2 and GPLv2+ and BSD
- centos-stream 9: nfsv4-client-utils 1:2.5.4-45.el9 ยท MIT and GPLv2 and GPLv2+ and BSD
- debian bookworm: nfs-common 1:2.6.2-4+deb12u1
- debian trixie: nfs-common 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 43: nfs-utils-coreos 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-coreos 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 43: nfsv4-client-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: nfsv4-client-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-common-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-common-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-common 1:2.6.1-1ubuntu1
- ubuntu jammy: nfs-common 1:2.6.1-1ubuntu1.2
- ubuntu noble: nfs-common 1:2.6.4-3ubuntu5
- ubuntu noble: nfs-common 1:2.6.4-3ubuntu5.1
- ubuntu questing: nfs-common 1:2.8.3-1ubuntu3
- ubuntu resolute: nfs-common 1:2.8.5-1ubuntu1
- ubuntu stonking: nfs-common 1:2.9.1-1ubuntu1
- Copyright (C) 1996-2005 Olaf Kirch <okir@suse.de>
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms