HP-UX Reference (11i v3 07/02) - 1M System Administration Commands N-Z (vol 4)
n
nfsstat(1M) nfsstat(1M)
NAME
nfsstat - NFS statistics
SYNOPSIS
/bin/nfsstat [-cnrsmza]
DESCRIPTION
nfsstat displays statistical information about the NFS and RPC (Remote Procedure Call), interfaces to
the kernel. It can also be used to reinitialize this information. If no options are given the default is:
nfsstat -csnra.
That is, display everything, but reinitialize nothing.
Options
-a Display NFS_ACL information.
-c Display client information. Only the client side NFS, RPC, and NFS_ACL information is
printed. Can be combined with the -n
, -r, and -a options to print client side NFS, RPC, and
NFS_ACL information only.
-m Display statistics for each NFS mounted file system. This includes the server name, mount
flags, current read and write sizes, the retransmission count, the attribute cache timeout
values, failover information, and the timers used for dynamic retransmission. Note that the
dynamic retransmission timers are displayed only where dynamic retransmission is in use. By
default, NFS mounts over the TCP protocols and NFS Version 3 mounts over either TCP or
UDP do not use dynamic retransmission.
If you specify the
-m option, this is the only option nfsstat uses. Any options specified in
addition to -m are checked for validity, then ignored.
-n Display NFS information. NFS information for both the client and server side will be printed.
Can be combined with the -c and -s options to print client or server NFS information only.
-r Display RPC information. Can be combined with the -c and -s options to print client or
server RPC information only.
-s Display server information. Only the server side NFS, RPC, and NFS_ACL information is
printed. Can be combined with the
-n, -r, and -a options to print server side NFS, RPC, and
NFS_ACL information only.
-z Zero (reinitialize) statistics. This option is for use by the super user only, and can be combined
with any of the above options to zero particular sets of statistics after printing them.
Displays
The server RPC display includes the following fields:
calls The total number of RPC calls received.
badcalls The total number of calls rejected by the RPC layer (the sum of badlen and
xdrcall as defined below).
nullrecv The number of times an RPC call was not available when it was thought to be
received.
badlen The number of RPC calls with a length shorter than a minimum-sized RPC call.
xdrcall The number of RPC calls whose header could not be XDR decoded.
dupchecks The number of RPC calls that looked up in the duplicate request cache.
dupreqs The number of RPC calls that were found to be duplicates.
The server NFS display shows the number of NFS calls received (calls) and rejected (badcalls), and
the counts and percentages for the various calls that were made.
The server NFS_ACL display shows the counts and percentages for the various calls that were made.
The client RPC display includes the following fields:
calls The total number of RPC calls made.
76 Hewlett-Packard Company − 1 − HP-UX 11i Version 3: February 2007