John Stoffel stoffel@casc.com writes:
On the NetApp side I needed something to show me the top 10 NFS hosts but IP address, but I couldn't get it to work. The output of 'netstat -r' wasn't a help at all.
nfsstat -l will give you (almost) what you need. For 'nfsstat -l' to work you'll have to enable it first, though. (options nfs.per_client_stats.enable on)
nfsstat -l will give you nfs ops per host. A small script to do something like
#!/bin/sh rsh filer nfsstat -z sleep 60 rsh filer nfsstat -l (or -h)
will give you the traffic (in nfs ops) for all clients active during the last 60 seconds. You might want to sort the output, though.
Have a look at the manpage (available in /etc/man on your filer) for na_nfsstat for more info.
(running with nfs.per_client_stats.enable on will possibly impair performance slightly, you might want to enable it just for this purpose, then disable it when you don't need it. Does anyone know how much of a performance hit this could generate ?)
regards,
----- Original Message ----- From: "Ketil Kirkerud Elgethun" ketilk@asp.infostream.no To: toasters@mathworks.com Sent: Wednesday, November 08, 2000 2:55 PM Subject: Re: Finding who is pounding your NetApp
(running with nfs.per_client_stats.enable on will possibly impair performance slightly, you might want to enable it just for this purpose, then disable it when you don't need it. Does anyone know how much of a performance hit this could generate ?)
What I heard when it was first introduced was "less than 5%".
Bruce