It may be a FA Question... I am running a program that is doing a lot of 
readdir operations on an NFS-mounted directory. When I am running
[b]snoop NFS-client NFS-server rpc nfs[/b], I see a lot of
       cl -> srv      NFS C READDIRPLUS3 
     srv -> cl        NFS R READDIRPLUS3 
       cl -> srv      NFS C ACCESS3 
     srv -> cl        NFS R ACCESS3 
       cl -> srv      NFS C GETATTR3 
     srv -> cl        NFS R GETATTR3 
but when I am running
[b]nfsstat -c[/b], I am getting 0% READDIRPLUS operations :
null        getattr     setattr     lookup      access      readlink
0 0%        634 34%     0 0%        3 0%        598 32%     0 0%
read        write       create      mkdir       symlink     mknod
0 0%        0 0%        0 0%        0 0%        0 0%        0 0%
remove      rmdir       rename      link        readdir     readdirplus
0 0%        0 0%        0 0%        0 0%        0 0%        0 0%
fsstat      fsinfo      pathconf    commit
0 0%        0 0%        0 0%        0 0%

What am I doing wrong? Or there is a problem with nfsstat ?
Is there a better way to see the percentage of NFS operations (dtrace script, 
for example) ?

TIA,
[i]-- leon[/i]
 
 
This message posted from opensolaris.org

Reply via email to