nfsiostat(8)
π nfsiostat β the manual page, but make it slay
okay so bestie, you're looking at nfsiostat, a page from the System Manager's Manual. It's giving "iostat but for NFS" and honestly? iconic. Let's get into it π
β¨ NAME β¨
nfsiostat β emulate iostat for NFS mount points using /proc/self/mountstats
πΈ SYNOPSIS πΈ
nfsiostat [[<interval>] [<count>]] [<options>][<mount_point>]
π¦ DESCRIPTION π¦
The nfsiostat command shows you NFS client statistics, per mount. That's the whole vibe. π«Ά
- <interval> β this is how many seconds you want between each report, fr fr. The first report is special though: it holds stats from the time each file system got mounted. Every report after that? Just the stats collected during the interval since the previous report. So it's like, a fresh lil slice each time. β¨
- <count> β if you pass
<count>, that value decides how many reports you get, spaced out at<interval>seconds apart. And if you give an interval but no<count>? Then it just keeps generating reports continuously forever, bestie. No cap. π - <options> β defined below π (they're the whole moment)
- <mount_point> β name one or more
<mount point>s and you'll only see stats for those. Name none? Then every NFS mount point on the client gets listed. You get the whole collection. π
π§ what each column actually means (iykyk)
- op/s β the number of operations per second.
- rpc bklog β the length of the backlog queue.
- kB/s (MB/s) β the number of kB (or MB) written/read per second.
- kB/op (MB/op) β the number of kB (or MB) written/read per each operation.
- retrans β the number of retransmissions.
- avg RTT (ms) β the duration from the time the client's kernel sends the RPC request until the time it receives the reply. That's the round trip, babe. βοΈ
- avg exe (ms) β the duration from the time the NFS client does the RPC request to its kernel until the RPC request is completed. Heads up: this includes the RTT time from above. So it's RTT plus extra. π
- avg queue (ms) β the duration from the time the NFS client created the RPC request task to the time the request is transmitted. The lil waiting room era. π
- errors β the number of operations that completed with an error status (
status < 0). Important tea: this count is only available on kernels with RPC iostats version 1.1 or above. So if you don't see it, it's not you, it's your kernel. π₯²
also real quick: if you use an interval as an argument to nfsiostat, then the difference from the previous interval gets displayed. If you don't? The results are from the time the share was mounted. Big difference, bestie, don't get caught slippin'. β
π₯ OPTIONS π₯
-aor--attrβ displays statistics related to the attribute cache β¨-dor--dirβ displays statistics related to directory operations π-hor--helpβ shows help message and exit π«Ά-l LISTor--list=LISTβ only print stats for the firstLISTmount points-mor--megabytesβ display throughput in megabytes per second π-por--pageβ displays statistics related to the page cache π-sor--sortβ sort NFS mount points by ops/second π₯--versionβ show program's version number and exit π
π FILES π
/proc/self/mountstats
π SEE ALSO π
iostat(8), mountstats(8), nfsstat(8)
π AUTHOR π
Chuck Lever <chuck.lever@oracle.com>
and that's the whole page, bestie!! written by Chuck Lever, dated 15 Apr 2010, and it's the nfsiostat(8) page from the System Manager's Manual. slay, go check your mountstats, ily ππ¦β¨
π¦ where this page comes from
- arch rolling: nfs-utils 3.1.1-1 Β· GPL-2.0-or-later
- fedora 43: nfs-stats-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 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-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)
- nixpkgs unstable: nfs-utils 3.1.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms