Name
nfsstat
Synopsis
nfsstat [options
]
System administration command. Print statistics on NFS and remote procedure call (RPC) activity for both clients and server.
Options
- −2, −3, −4
Shows server statistics for version 2, 3, or 4.
- -c
Display only client-side statistics.
- -m, --mounts
Show statistics for mounted filesystems.
- -n
Display only NFS statistics.
- -o facility
Only display statistics for the specified facility. The following are valid values for facility:
- all
All of the following facilities.
- fh
Server file handle cache.
- net
Network layer statistics.
- nfs
Same as -n.
- rc
Server request reply cache.
- rpc
Same as -r.
- -r
Display only RPC statistics.
- -s
Display only server-side statistics.
- -z
Reset statistics to zero. Use with above options to zero out specific sets of statistics (e.g., -zr to reset the RPC statistics).
- -Z, --sleep
Take a snapshot of current stats then sleep until receiving a SIGINT signal (e.g., Ctrl-C) then take another snapshot and display a diff of the two.
Get Linux in a Nutshell, 6th Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.