PCP-NFSIOSTAT(1)
β¨ NAME β¨
pcp-nfsiostat β it emulates iostat for NFS mount points, bestie, and it pulls all of that from /proc/self/mountstats π
π¦ SYNOPSIS π¦
pcp [pcp options] nfsiostat [-a archive] [-S start] [-T finish] [-O
origin] [-s samples] [-t interval] [-Z --timezone] [-h --host] [-z
--hostzone] [-V Version]
πΈ DESCRIPTION πΈ
Okay so pcp-nfsiostat is literally the girl who reports client-side Network File System (NFS) I/O statistics for every mounted NFS filesystem you've got. For each NFS mountpoint she gives you a summary section and then detailed read and write statistics blocks right after. The way that these stats include operation rates, data throughput, latency, retransmissions, queueing delays, and error counts? Obsessed. π«Ά
By default pcp-nfsiostat monitors NFS mountpoints on the local host and reports live metrics collected via the PCP NFS PMDA, or from an alternative host if you specify one. And when you specify an archive? Then it's giving historical metrics instead. Main character energy either way π
π OUTPUT FORMAT π
Stats get reported per mounted NFS filesystem using this layout, no cap:
server:/export mounted on /mount/point:
ops/s rpc bklog
0.017 0.000
read: ops/s kB/s kB/op retrans avg RTT (ms) avg exe (ms) avg queue (ms) errors
...
write: ops/s kB/s kB/op retrans avg RTT (ms) avg exe (ms) avg queue (ms) errors
...
π FIELD DESCRIPTIONS π
ops/sβ the number of NFS operations performed per second, periodt.rpc bklogβ the average number of RPC requests just waiting to be transmitted. sitting in line, poor things πkB/sβ kilobytes transferred per second.kB/opβ the average number of kilobytes transferred per operation.retransβ the number of RPC retransmissions, plus the retransmission percentage.avg RTT (ms)β average round-trip time, in milliseconds, for RPC requests.avg exe (ms)β average execution time, in milliseconds, spent servicing requests on the server.avg queue (ms)β average time, in milliseconds, spent waiting in the RPC transmission queue.errorsβ the number of failed operations, plus the failure percentage. π
π OPTIONS π
-a,--archivearchive β fetch NFS I/O statistics from the PCP archive you name. historical data era β¨-s,--samplessamples β how many samples to collect before exiting.-t,--intervalinterval β sets the interval between two samples. The default is one second.-S,--startstart β sets the start of the time window when you're replaying an archive.-T,--finishfinish β sets the end of the time window when you're replaying an archive.-O,--originorigin β sets the initial sample time within the time window when replaying an archive.-h,--hosthost β fetch NFS I/O statistics from the host you name.-z,--hostzoneβ sets the reporting timezone to the local timezone of the metrics source.-Z,--timezonetz β sets the reporting timezone.-V,--versionβ displays version information and dips βοΈ-?,--helpβ displays usage information and dips βοΈ
π NOTES π
pcp-nfsiostat reports client-side NFS statistics collected from the kernel and exposed via the PCP NFS PMDA. The output format and metrics are similar to those reported by the nfsiostat(1) tool from the nfs-utils package. iykyk π§
π PCP ENVIRONMENT π
Environment variables with the prefix PCP_ are used to parameterize the file and directory names used by PCP. On each installation, the file /etc/pcp.conf contains the local values for these variables. The $PCP_CONF variable may be used to specify an alternative configuration file, as described in pcp.conf(5).
For environment variables affecting PCP tools, see pmGetOptions(3).
π SEE ALSO π
PCPIntro(1), pcp(1), nfsiostat(1), environ(7).
slay, you made it to the end bestie π go forth and read your NFS stats
Performance Co-Pilot Β· PCP β that's the source and the version right there, mwah π PCP-NFSIOSTAT(1) π¦
π¦ where this page comes from
- arch rolling: pcp 7.2.2-2 Β· GPL-2.0-or-later AND LGPL-2.1-or-later AND CC-BY-3.0
- centos-stream 10: pcp-doc 7.1.5-6.el10 Β· GPL-2.0-or-later AND CC-BY-3.0
- fedora 43: pcp-doc 7.2.1-1.fc43
- fedora 43: pcp-doc 7.2.2-1.fc43
- fedora 43: pcp-doc 7.2.2-2.fc43 Β· GPL-2.0-or-later AND CC-BY-3.0
- fedora 44: pcp-doc 7.2.1-1.fc44
- fedora 44: pcp-doc 7.2.2-1.fc44
- fedora 44: pcp-doc 7.2.2-2.fc44 Β· GPL-2.0-or-later AND CC-BY-3.0
- ubuntu resolute: pcp 7.1.1-1
- ubuntu stonking: pcp 7.2.1-2build1
- Copyright (c) 2023 Oracle and/or its affiliates
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms