NFSSTAT(1) BSD General Commands Manual NFSSTAT(1)
nfsstat -- display NFS statistics
nfsstat [-cseuv] [-w wait] [-n net|user] [-m [mountpath]]
nfsstat displays statistics kept about NFS client and server activity, active user activity, exported directories, and mount information. In
the absence of any options, nfsstat displays NFS client and server statistics.
The options are as follows:
-c Show NFS client statistics.
-e Show NFS server exported directory statistics.
Show NFS mount information.
-s Show NFS server statistics.
-u Show NFS server active user statistics.
Display a shorter summary at wait second intervals.
Show network addresses as numbers, or show users as uid numbers. This option can appear multiple times.
-v Show additional information (if available).
The data fields that nfsstat displays for each set of statistics are:
Statistics for NFS file system mounts.
Counts of the RPC calls made to each of the NFS protocol procedures.
Statistics for NFS RPC calls:
RPC calls that timed out, perhaps to a slow or dead server.
Invalid RPC replies.
RPC replies received that did not have calls pending.
RPC calls that were retried.
Total number of RPC calls made.
Statistics on NFS client-side cache performance:
Performance of the NFS file attribute cache.
Performance of the directory name lookup cache.
Performance of block cache for reads.
Performance of block cache for writes.
Performance of symbolic link cache.
Performance of directory cache.
Performance of directory offset cache.
Statistics for the NFS server.
Counts of RPC calls on each of the NFS server's procedures are recorded here.
RPC errors returned by the server.
Errors in the NFS server.
Server Cache Stats
Statistics from the NFS server's RPC duplicate request cache:
Calls already in progress.
Cache hits for idempotent procedures.
Cache hits for non-idempotent procedures.
Server Write Gathering
These statistics describe the efficiency of the NFS server's write gathering feature.
Write operations to disk.
Write operations received by the server.
Write operations that were gathered (WriteRPC - WriteOps)
NFS Server Exported Directory Information:
Statistics for each exported directory on the NFS server.
Count of NFS requests processed by an exported directory.
Count of bytes read from an exported directory.
Count of bytes written to an exported directory.
NFS Server Active User Information:
List of active NFS users and statistics on the NFS server.
Count of NFS requests received from an active user.
Count of bytes read by an active user.
Count of bytes written by an active user.
Amount of time an active user has been idle.
Name (or uid if -n user was given) of active user.
Host name (or network address if -n net was given) of client machine.
NFS Mount Information:
Information about the given NFS mount (or all NFS mounts).
The path mounted on and the server:/path that is mounted.
Mount arguments originally passed in to the mount.
Current mount parameter values and status information.
netstat(1), iostat(8), mount_nfs(8), nfsd(8)
The nfsstat command appears in 4.4BSD.
4.4BSD January 11, 2011 4.4BSD