Skip to contentSkip to conversation

nfsstat limitations?

DISCUSSION Matthew Boeckman 2 participants 2 messages Mar 25, 2002

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

Hello list!

I'm trying to track down some information about the nfsstat on linux. Specifically from nfs-utils-0.3.1-5 on RH7.1 . What I'm looking for is some additional client RPC information. nfsstat on solaris gives me all kinds of nifty output about timeouts, badcalls, timers, etc:
Client rpc:
Connection oriented:

calls       badcalls    badxids     timeouts    newcreds    badverfs
0           0           0           0           0           0
timers      cantconn    nomem       interrupts
0           0           0           0
Connectionless:
calls       badcalls    retrans     badxids     timeouts    newcreds
4           1           0           0           0           0
badverfs    timers      nomem       cantsend
0           1           0           0

on linux:
Client rpc stats:

calls      retrans    authrefrsh
70163      12         0

I've read the man page and docs on the sourceforge site, and it doesn't appear that I'm missing any command line options. Is there somewhere other than nfsstat that I can get this info?

Another question along the same lines: how can I track client side NFS cache hit's and caching information in general? For a variety of reasons, I'm caching the entire mounted filesystem for a long time, and am interested/concerned in being able to track the system impact of that. Things like, of all NFS calls, how many are being answered by the cache, how much system resources is this cache taking up, etc. Thanks for any and all replies!

-Matthew

_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs

#1 lore raw
Quoted 36 lines · Matthew Boeckman

Hello list!

I'm trying to track down some information about the nfsstat on linux. Specifically from nfs-utils-0.3.1-5 on RH7.1 . What I'm looking for is some additional client RPC information. nfsstat on solaris gives me all kinds of nifty output about timeouts, badcalls, timers, etc:
Client rpc:
Connection oriented:

calls       badcalls    badxids     timeouts    newcreds    badverfs
0           0           0           0           0           0
timers      cantconn    nomem       interrupts
0           0           0           0
Connectionless:
calls       badcalls    retrans     badxids     timeouts    newcreds
4           1           0           0           0           0
badverfs    timers      nomem       cantsend
0           1           0           0

on linux:
Client rpc stats:

calls      retrans    authrefrsh
70163      12         0

I've read the man page and docs on the sourceforge site, and it doesn't appear that I'm missing any command line options. Is there somewhere other than nfsstat that I can get this info?

Another question along the same lines: how can I track client side NFS cache hit's and caching information in general? For a variety of reasons, I'm caching the entire mounted filesystem for a long time, and am interested/concerned in being able to track the system impact of that. Things like, of all NFS calls, how many are being answered by the cache, how much system resources is this cache taking up, etc. Thanks for any and all replies!

Quoted 1 line

-Matthew

Either the 0.3.1 version of nfsstat defaults to nfsstat -r -c (which I doubt) or you have an alias which is doing that behind your back. The default for 0.3.3 utils (which are easy to install and should be used) would show both client and server stats for rpc and nfs versions 2 & 3.

Tom

--
------------------------------------------------------------
Tom McNeal [email protected] (650)906-0761 (cell)
------------------------------------------------------------

_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs