nfsstat(8)                                             nfsstat(8)

NAME
       nfsstat - print NFS statistics

SYNOPSIS
       /usr/sbin/nfsstat [-anrcsz] [-o facility] ...

DESCRIPTION
       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.

OPTIONS
       -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 cur-
              rently 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  connec-
                     tions, etc.

              fh     Usage  information on the server's file han-
                     dle 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.

EXAMPLES
FILES
       /proc/net/nfssrv
              procfs-based interface to kernel NFS server statis-
              tics.

       /proc/net/nfsclt
              procfs-based interface to kernel NFS client statis-
              tics.

SEE ALSO
       knfsd(8)

AUTHOR
       Olaf Kirch, <okir@monad.swb.de>

                            8 May 1996                          1