I need to measure performance counters per NFS mount I have on my Nexenta machine (Based on OpenSolaris).
iostat is great, the problem is that it count by devices and not at the NFS level. Is there any way I can do that with a dtrace script?
Counters Im interested in: (CIFS/NFS) avg_latency per Volumes/Folder (CIFS/NFS) read_latency per Volumes/Folder (CIFS/NFS) write_latency per Volumes/Folder (CIFS/NFS) read_ops/s per Volumes/Folder (CIFS/NFS) write_ops/s per Volumes/Folder (CIFS/NFS) read_data/s per Volumes/Folder (CIFS/NFS) write_data/s per Volumes/Folder c pu_util%
Thanks!
You may use the following:-