From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96075323306705.tru64-unix-managers.marc@archive.invalid> From: golden () falcon ! invincible ! com Date: Mon, 25 Sep 1995 21:00:47 +0000 To: tru64-unix-managers Subject: SUMMARY: NFS statistics X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96075323306705 Thanks to all who replied to my question on gathering the NFS statistics, particularly: Tim W. Janes Stam Nicolis carlos.touzard@citicorp.com Alan Rollow Ernie Rael ============================== Although the structures are not shown in any include file that I could find, they can be determined using "dbx -k /vmunix /dev/mem" and read in a program as described in Alan's message. Ernie tipped me off as to what the names of the client and server rpc and nfs statistics structures were. Dave ================= From: ernie@MasPar.COM (Ernie Rael) Message-Id: <9509251846.AA05116@.maspar.com.maspar.com> To: golden@falcon.invincible.com Subject: Re: NFS statistics The kernel structures are: rcstat clstat rsstat svstat ================= From: alan@nabeth.cxo.dec.com (Alan Rollow - Dr. File System's Home for Wayward Inodes.) Message-Id: <9509251513.AA14348@nabeth.cxo.dec.com> To: golden@falcon.invincible.com Subject: Re: NFS statistics 1. Look through the NFS related include files for structure declarations with the desired information. 2. Looking through the same include files, look for declarations of instances of those structures. 3. Use dbx to verify that what you think is the instance of the structure really is: dbx -k /vmunix /dev/mem (dbx) print instance-name 4. Write a program to open /dev/kmem, use nlist to resolve the symbol name to a kernel address, seek to the kernel address with lseek(2) and read the data using read(2).