Hello nfs-discuss,

  Does anyone have a dtrace script (or any other means) to track which
  files are open/read/write (ops and bytes) by nfsd? To make things
  little bit harder lets assume that local storage in on zfs, nfsd
  server using nfsv3 and system is S10U3.

  The script would distinguish between cache read and disk read.

  So something like:

  ./nfsd_file.d

  CLIENT_IP   OPERATION   BYTES   TYPE       FILE
  X.X.X.X       READ3     32768   logical    /nfs/d1000/fileA

  ...



  and something like:

  ./nfsd_file_summ.d 100s

  CLIENT_IP   OPERATION   OPS    BYTES   TYPE       FILE
  X.X.X.X       READ3     230     5MB    logical    /nfs/d1000/fileA
  X.X.X.X       READ3      15     1MB    physical   /nfs/d1000/fileA

  ...

  
  
  

-- 
Best regards,
 Robert                          mailto:rmilkowski at task.gda.pl
                                     http://milek.blogspot.com


Reply via email to