The nfsstat Command

The nfsstat -s command shows operation counts for the components of the NFS mix. This section is based upon the Solaris 2.4 SMCC NFS Server Performance and Tuning Guide. Figure 9-4 illustrates the results of an nfsstat -s command.

Figure 9-4. NFS Server Operation Counts
% nfsstat -s 

Server rpc: 
calls      badcalls   nullrecv   badlen    xdrcall 
2104792    0         0          0         0 

Server nfs: 
calls      badcalls 
2104792    5 
null      getattr   setattr   root     lookup     readlink   read 
10779  1% 966412 46% 13165 1% 0  0%    207574 10% 572  0%   686477 33% 
wrcache   write      create   remove   rename     link      symlink 
0  0%    179582   9% 5348  0% 9562  0% 557  0%    579  0%   32  0% 
mkdir      rmdir      readdir   statfs 
120  0%    386  0%    12650  1% 10997 1%

The meaning and interpretation of the measurements are as follows:

  • calls ...

Get Sun Performance and Tuning: Java™ and the Internet, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.