nfsiostat
Report NFS client input/output statistics
SYNOPSIS
nfsiostat [-h] [-V] [-n] [-t] [-@ address] [interval [count]]
PARAMETERS
-h
Show help message and exit.
-V
Show version and exit.
-n
Do not attempt to resolve NFS server addresses to hostnames.
-t
Display the time stamps.
-@ address
Collect statistics for a particular NFS server address. Can be used multiple times to collect stats for multiple servers. Address is the hostname or IP address of the NFS server.
interval
Sampling interval in seconds. If not specified, nfsiostat reports continuously.
count
Number of reports. If interval is specified but count is not, nfsiostat reports continuously.
DESCRIPTION
nfsiostat is a command-line tool used to monitor I/O statistics on NFS (Network File System) clients in Linux.
It provides real-time insights into the performance of NFS mounts, helping identify bottlenecks and diagnose issues related to network file sharing.
The tool provides counters for reads, writes, and other NFS operations such as readdir, getattr and setattr.
It reports various metrics like operations per second (ops/s), kilobytes per second (KB/s), average latency (lat), and other information relevant to understanding the I/O behavior of NFS clients.
nfsiostat is invaluable for troubleshooting performance problems in NFS-based environments.
Note that the tool gathers data from the /proc/self/mountstats which is gathered from the NFS client directly so it represents the local client view and may differ from the server view.
OUTPUT INTERPRETATION
nfsiostat output includes information regarding various NFS operations (read, write, getattr, setattr, etc). Key metrics include ops/s (operations per second), KB/s (kilobytes per second), lat (latency in milliseconds), and the number of operations. Analysing these metrics can help identify performance issues. High latency or low KB/s may indicate network or server bottlenecks.
SEE ALSO
nfsstat(8), iostat(1)