Table of Contents
nfsstat - print NFS statistics
/usr/sbin/nfsstat [-anrcsz]
[-o facility] ...
The nfsstat command retrieves and pretty-prints
NFS kernel statistics. Currently, only server-side statistics are supported,
because the NFS client does not yet collect any data.
- -s
- Print
only server-side statistics. The default is to print both server and client
statistics.
- -c
- Print only client-side statistics. This is not currently supported.
- -n
- Print only NFS statistics. The default is to print both NFS and RPC
information.
- -r
- Print only RPC statistics.
- -z
- Zero the kernel statistics
counters. This option is not currently supported.
- -o facility
- Display statistics
for the specified facility. The server statistics currently comprise the
following facilities:
- nfs
- NFS protocol information, split up by RPC
call.
- rpc
- General RPC information.
- net
- Network layer statistics, such
as the number of received packets, number of TCP connections, etc.
- fh
- Usage information on the server's file handle cache, including the total
number of lookups, and the number of hits and misses.
- rc
- Usage information
on the server's request reply cache, including the total number of lookups,
and the number of hits and misses.
- /proc/net/nfssrv
- procfs-based interface to kernel NFS server statistics.
- /proc/net/nfsclt
- procfs-based interface to kernel NFS client statistics.
knfsd(8)
Olaf Kirch, <okir@monad.swb.de>
Table of Contents