NFSSTAT(1M) — Series 300 Only
NAME
nfsstat − Network File System statistics
SYNOPSIS
/usr/etc/nfsstat [ −csnrz ] [ namelist ]
DESCRIPTION
The nfsstat command 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. The nfsstat command 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. The 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. The 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. The 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. The 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 only kernel information. The nfsstat command 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 only kernel RPC information. Works like the above −n option.
−z Print the current statistics and 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
The argument is taken as an alternate file name for use in place of /hp-ux in obtaining the system namelist.
AUTHOR
Sun Microsystems, Inc.
FILES
/hp-ux system namelist
/dev/kmemkernel memory
INTERNATIONAL SUPPORT
messages
Hewlett-Packard Company — May 11, 2021