Hi Wayne Betts! On 2012.02.28 at 11:32:17 -0500, Wayne Betts wrote next:
> We have a couple of Scientific Linux 6.1 NFS servers. I looked at > /proc/net/rpc/nfsd and was surprised to see on both of them that > the thread histogram is all zero: > > # cat /proc/net/rpc/nfsd | grep th > th 8 0 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 It is the same for me on nfs4 server on SL6.2 What statistics are you trying to get? What's wrong with standard way of querying nfs server, "nfsstat -s" command? It's much better than looking in proc, because the file you see there is specific only to current linux kernel-mode nfs implementation, while nfsstat -s *is* the correct and portable way across various systems. > Here is /proc/net/rpc/nfsd for one of them (sure to get line-wrapped > mangled): > > # cat /proc/net/rpc/nfsd > rc 19 70434483 726969598 > fh 352 0 0 0 0 > io 2092104517 3971637111 > th 8 0 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 > ra 32 393921819 0 0 0 0 0 0 0 0 0 985424 > net 797404498 0 797447453 155310 > rpc 797455746 0 0 0 0 > proc2 18 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 > proc3 22 74845 228480507 19923612 17460391 64581715 115066 394911350 > 39971881 5313458 37750 36353 0 849734 3589 4288363 8251 267872 1146073 > 22996 140662 0 18601904 > proc4 2 0 0 > proc4ops 59 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 > 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 If you want, here is mine - nfs4 only server on SL6.2: $ cat /proc/net/rpc/nfs rc 0 0 7056013 fh 0 0 0 0 0 io 155895234 1885486900 th 4 0 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 ra 32 0 0 0 0 0 0 0 0 0 0 0 net 7060356 0 7060271 262 rpc 7060343 20 0 20 0 proc3 22 10 5 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 11 15 10 5 0 proc4 2 8 7059356 proc4ops 59 0 0 0 229322 6405 678 105 0 0 788959 254756 0 0 0 0 286720 44 749 9689 0 3369 0 7089523 0 126 6093069 171024 2113 1630 37624 39 43153 46434 0 3302 118 118 0 30605 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -- Vladimir
