nfsstat(1M)
Requires Optional NFS Services Software
NAME
nfsstat − Network File System statistics
SYNOPSIS
/usr/etc/nfsstat [−csnrz] [namelist]
DESCRIPTION
nfsstat displays statistical information about the Network File System (NFS) and Remote Procedure Call (RPC) interfaces to the kernel. It can also reinitialize this information. If no options are given the default is equivalent to
nfsstat −csnr /hp-ux
which prints everything and reinitializes nothing.
Options
−c Display client information. nfsstat displays only the client side NFS and RPC information. Combine −c with the −n and −r options to print client NFS or client RPC information only.
Client NFS statistics include the total number of RPC calls made on behalf of NFS (calls), the number of RPC calls that failed (badcalls), the number of times the kernel attempted to get a client structure (nclget), the number of times the kernel waited to get a client structure (nclsleep), and percentages for different file system operations.
Client RPC statistics include the total number of RPC calls (calls), the number of RPC calls that failed (badcalls), the number of RPC retransmissions required (retrans), the number of RPC packets received that had an out of date transaction ID (badxid), the number of RPC packets sent that did not receive a response within the timeout period (timeout), and two fields reserved for future use (wait and newcred).
−s Display server information. Works like the above −c option.
Server NFS statistics include the total number of RPC calls made on behalf of NFS (calls), the number of RPC calls that failed (badcalls) and percentages for different file system operations.
Server RPC statistics include the total number of RPC calls (calls), the number of RPC calls that failed (badcalls), the number of empty RPC packets received (nullrecv), the number of RPC packets received that were too short to be valid packets (badlen), and the number of badly formatted RPC packets received (xdrcall).
−n Display NFS information. The NFS information is kernel information only. nfsstat displays NFS information for both the client and server side. Combine −n with the −c and −s options to print client or server NFS information only.
−r Display RPC information. The RPC information is kernel RPC information only. Works like the above −n option.
−z Print the current statistics then zero (reinitialize) them. Combine −z with any of the options to zero particular sets of statistics after printing them. The user must have write permission on /dev/kmem for this option to work.
namelist This argument is taken as an alternate file name for use instead of /hp-ux in obtaining the system namelist.
AUTHOR
nfsstat was developed by Sun Microsystems, Inc.
FILES
/hp-ux system namelist
/dev/kmem kernel memory
INTERNATIONAL SUPPORT
messages
Hewlett-Packard Company — HP-UX Release 8.05: June 1991