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.
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access