Nfs Stat Command
Nfs Stat Command
Examples
fas1> options nfs.per_client_stats.enable on
This option must be enabled and given time to collect statistics. Turning it off discards all collected statistics.
fas1> nfsstat h [ip | hostname] show statistics for a specific client fas1> nfsstat l
Show statistics for up to 256 clients, sorted by decreasing NFS activity. Also useful for simply determining which NFS clients are connected to a system. Note: You must specify the vFiler instance on systems running MultiStore.
What It Means To You The Premium AutoSupport tool on the NOW site can display protocol usage trends. You can also use Operations Manager to display nfsstat statistics collected through a SNMP trap. Use the nfsstat and cifs top commands to drill down to individual clients to determine which are responsible for the majority of traffic. Analyze this information to plan an end-to-end approach to solving NFS performance issues.
Note: When using nfsstat while in a cluster failover situation, statistics for the live and failed system are combined. After a giveback, the failed systems statistics are not subtracted so zeroing statistics for both systems may be recommended.
More Information
The following Knowledge Base articles provide additional information and examples: https://now.netapp.com/Knowledgebase/solutionarea.asp?id=3.0.2319922.2757218 https://now.netapp.com/Knowledgebase/solutionarea.asp?id=ntapcs2684 Data ONTAP Manual page for the nfsstat command: http://now.netapp.com/NOW/knowledge/docs/ontap/rel732_vs/html/ontap/cmdref/man1/na_nfsstat.1.htm