ADC Home > Reference Library > Reference > Mac OS X > Mac OS X Man Pages

 

This document is a Mac OS X manual page. Manual pages are a command-line technology for providing documentation. You can view these manual pages locally using the man(1) command. These manual pages come from many different sources, and thus, have a variety of writing styles.

For more information about the manual page format, see the manual page for manpages(5).



NFSSTAT(1)                BSD General Commands Manual               NFSSTAT(1)

NAME
     nfsstat -- display NFS statistics

SYNOPSIS
     nfsstat [-cseu] [-w wait] [-n net|user]

DESCRIPTION
     nfsstat displays statistics kept about NFS client and server activity, active user activity, and
     exported directories.  In the absence of any options, nfsstat displays NFS client and server statis-tics. statistics.
     tics.

     The options are as follows:

     -c      Show NFS client statistics.

     -e      Show exported directory statistics.

     -s      Show NFS server statistics.

     -u      Show active user statistics.

     -w      Display a shorter summary at wait second intervals.

     -n net|user
             Show network addresses as numbers, or show users as uid numbers.  This option can appear multi-ple multiple
             ple times.

OUTPUT
     The data fields that nfsstat displays for each set of statistics are:

     Client Info:
         Statistics for NFS file system mounts.

         RPC Counts
             Counts of the RPC calls made to each of the NFS protocol procedures.

         RPC Info
             Statistics for NFS RPC calls:

             TimedOut
                  RPC calls that timed out, perhaps to a slow or dead server.

             Invalid
                  Invalid RPC replies.

             X Replies
                  RPC replies received that did not have calls pending.

             Retries
                  RPC calls that were retried.

             Requests
                  Total number of RPC calls made.

         Cache Info
             Statistics on NFS client-side cache performance:

             Attr Hits/Misses
                  Performance of the NFS file attribute cache.

             Lkup Hits/Misses
                  Performance of the directory name lookup cache.

             BioR Hits/Misses
                  Performance of block cache for reads.

             BioW Hits/Misses
                  Performance of block cache for writes.

             BioRL Hits/Misses
                  Performance of symbolic link cache.

             BioD Hits/Misses
                  Performance of directory cache.

             DirE Hits/Misses
                  Performance of directory offset cache.

     Server Info:
         Statistics for the NFS server.

         RPC Counts
             Counts of RPC calls on each of the NFS server's procedures are recorded here.

         Server Ret-Failed
             RPC errors returned by the server.

         Server Faults
             Errors in the NFS server.

         Server Cache Stats
             Statistics from the NFS server's RPC duplicate request cache:

             Inprog
                  Calls already in progress.

             Idem
                  Cache hits for idempotent procedures.

             Non-idem
                  Cache hits for non-idempotent procedures.

             Misses
                  Cache Misses.

         Server Write Gathering
             These statistics describe the efficiency of the NFS server's write gathering feature.

             WriteOps
                  Write operations to disk.

             WriteRPC
                  Write operations received by the server.

             Opsaved
                  Write operations that were gathered (WriteRPC - WriteOps)

     Exported Directory Info:
         Statistics for each exported directory on the NFS server.

         NFS Requests
              Count of NFS requests processed by an exported directory.

         Bytes Read
              Count of bytes read from an exported directory.

         Bytes Written
              Count of bytes written to an exported directory.

     Active User Info:
         List of active NFS users and statistics on the NFS server.

         NFS Requests
              Count of NFS requests received from an active user.

         Bytes Read
              Count of bytes read by an active user.

         Bytes Written
              Count of bytes written by an active user.

         Idle
              Amount of time an active user has been idle.

         User
              Name (or uid if -n user was given) of active user.

         IP Address
              Host name (or network address if -n net was given) of client machine.

SEE ALSO
     netstat(1), iostat(8), mount_nfs(8), nfsd(8)

HISTORY
     The nfsstat command appears in 4.4BSD.

4.4BSD                           May 11, 2005                           4.4BSD

Did this document help you?
Yes: Tell us what works for you.
It’s good, but: Report typos, inaccuracies, and so forth.
It wasn’t helpful: Tell us what would have helped.