We are experiencing high NFS ops, I am trying to find out who the high
offenders are, however I am not sure if there is a better or more
conclusive way. Basically: I am doing the following
nfs.per_client_stats.enable on
nfsstat -z
nfsstat -h
nfs.per_client_stats.enable off
At the end of the mail I have attached a copy of the results of the
nfsstat -h command (for 1 system). I just look for which systems have the
highest percentage of reads and writes. My question is how do determine
who the main users are based on the results of this command? Also is
there a better way to do this? Are there other commands?
Drew
Client: 10.110.10.1 (sys1) ------------------------------------
Server rpc:
TCP:
calls badcalls nullrecv badlen xdrcall
0 0 0 0 0
UDP:
calls badcalls nullrecv badlen xdrcall
3167 0 0 0 0
Server nfs:
calls badcalls
3167 0
Server nfs V2:
null getattr setattr root lookup readlink read
0 0% 0 0% 0 0% 0 0% 0 0% 0 0% 0 0%
wrcache write create remove rename link symlink
0 0% 0 0% 0 0% 0 0% 0 0% 0 0% 0 0%
mkdir rmdir readdir statfs
0 0% 0 0% 0 0% 0 0%
Read request stats (version 2)
0-511 512-1023 1K-2047 2K-4095 4K-8191 8K-16383 16K-32767
32K-65535 64K-131071
0 0 0 0 0 0 0 0
0
Write request stats (version 2)
0-511 512-1023 1K-2047 2K-4095 4K-8191 8K-16383 16K-32767
32K-65535 64K-131071
0 0 0 0 0 0 0 0
0
Server nfs V3:
null getattr setattr lookup access readlink read
0 0% 0 0% 0 0% 0 0% 0 0% 0 0% 736 23%
write create mkdir symlink mknod remove rmdir
2431 77% 0 0% 0 0% 0 0% 0 0% 0 0% 0 0%
rename link readdir readdir+ fsstat fsinfo pathconf
0 0% 0 0% 0 0% 0 0% 0 0% 0 0% 0 0%
commit
0 0%
Read request stats (version 3)
0-511 512-1023 1K-2047 2K-4095 4K-8191 8K-16383 16K-32767
32K-65535 64K-131071
0 0 0 0 736 0 0 0
0
Write request stats (version 3)
0-511 512-1023 1K-2047 2K-4095 4K-8191 8K-16383 16K-32767
32K-65535 64K-131071
0 0 0 0 2431 0 0 0
0
This message and any attachments (the "message") is
intended solely for the addressees and is confidential.
If you receive this message in error, please delete it and
immediately notify the sender. Any use not in accord with
its purpose, any dissemination or disclosure, either whole
or partial, is prohibited except formal approval. The internet
can not guarantee the integrity of this message.
BNP PARIBAS (and its subsidiaries) shall (will) not
therefore be liable for the message if modified.
---------------------------------------------
Ce message et toutes les pieces jointes (ci-apres le
"message") sont etablis a l'intention exclusive de ses
destinataires et sont confidentiels. Si vous recevez ce
message par erreur, merci de le detruire et d'en avertir
immediatement l'expediteur. Toute utilisation de ce
message non conforme a sa destination, toute diffusion
ou toute publication, totale ou partielle, est interdite, sauf
autorisation expresse. L'internet ne permettant pas
d'assurer l'integrite de ce message, BNP PARIBAS (et ses
filiales) decline(nt) toute responsabilite au titre de ce
message, dans l'hypothese ou il aurait ete modifie.