From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,f539f6aef62158fa X-Google-Attributes: gid1164f8,public X-Google-Thread: f678f,f539f6aef62158fa X-Google-Attributes: gidf678f,public X-Google-Thread: f66ab,f539f6aef62158fa X-Google-Attributes: gidf66ab,public X-Google-Thread: fee84,f539f6aef62158fa X-Google-Attributes: gidfee84,public From: nospam@zk3.dec.com (Eric Werme - replace nospam with werme) Subject: Re: Q: How to get NFSv3 stats from kernel on DU 4.0 OSF1 ??? Date: 1999/03/19 Message-ID: <7cs9t9$9s7$1@nntpd.lkg.dec.com>#1/1 X-Deja-AN: 456324089 Distribution: all References: <36F093AA.E9A0325C@mindspring.com> Organization: Digital Equipment Corporation Reply-To: (Replace nobody with werme) nobody@zk3.dec.com Newsgroups: comp.sys.dec,comp.unix.osf.misc,comp.unix.osf.osf1,comp.os.mach Greg Sylvain writes: >I'm trying to port a performance monitoring tool to DU 4.0B that >monitors NFSv3 performance (among other things), and I can't figure out >how to get the NFSv3 stats/counts from the kernel akin to nfsstat(1). >I've run a trace(1) of nfsstat, and it only tells me that, apparently, >nfsstat makes about 5 msgsnd(2) calls to get this information from the >kernel (I assume that this is straight from Mach 2.5 basis ?) No, nfsstat and all the kernel code is Sun derived. I suspect the msgsnd calls are from nlist(3) calls that talk to /sbin/kloadsrv to convert symbol names to kernel addresses which are then read from /dev/kmem. The structures involved are not in header files, we may be moving access to a table(2) someday. For now, look at kernel names rcstat, clstat, rsstat, svstat, tcstat and don't tell anyone I posted this. :-) Or - parse the output from nfsstat(1). -- <> Eric (Ric) Werme <> The above is unlikely to contain <> <> ROT-13 addresses: <> official claims or policies of <> <> <> Compaq Computer Corp. <> <> <> http://www.cyberportal.net/werme <>