Hello list, I’m trying to understand if it’s possible to get info similar to the 7-mode command nfsstat -l
I apparently need to collect statistics with the statistics start -object nfs* -vserver svm
But would like to be able to pinpoint the top 10 NFS hosts, could someone let me know how if they’ve worked it out, or commiserate if not :(
~Mark
Mark, I havent investigated this in a bit for Cluster mode but I believe the tools have gotten better. On GX it was a bit cumbersome: https://kb.netapp.com/support/index?page=content&id=1011386&locale=e...
network connections active show -instance -remote-address <client IP>
For this example, let's assume the client connection is coming from IP address 10.98.163.205:
ngsh::> network connections active show -instance -remote-address 10.98.163.205 Node: gxnode1 Connection Id: 46727253 Server: vs1 Virtual Interface Name: 10.98.163.30 Local IP address: 10.98.163.30 Local Port: 2049 Remote IP address: 10.98.163.205 Remote Port: 800 Protocol: TCP Virtual Interface Id: 1025 Protocol Service: nfs Least Recently Used: no
The value that is important above is the "Connection Id". In this case, the value is '46727253' on the controller 'gxnode1'. Take this value, convert it to hexadecimal, and then grab the lower-order 2-bytes (4-nibbles): 0d46727253 > hex > 0x0x2C90055
In this case, we're interested in the 0x0055. From the 'root' login on 'gxnode1' we execute the following command: For NFSv3 statistics: gxnode1# nperf 0 -p nfs3 -c 0x0055
Regards, Douglas
On Mon, Jun 29, 2015 at 6:35 AM, Mark Flint mf1@sanger.ac.uk wrote:
Hello list, I’m trying to understand if it’s possible to get info similar to the 7-mode command nfsstat -l
I apparently need to collect statistics with the statistics start -object nfs* -vserver svm
But would like to be able to pinpoint the top 10 NFS hosts, could someone let me know how if they’ve worked it out, or commiserate if not :(
~Mark
Toasters mailing list Toasters@teaparty.net http://www.teaparty.net/mailman/listinfo/toasters