SUMMARY: NFS statistics

From: <golden_at_falcon.invincible.com>
Date: Mon, 25 Sep 95 17:00:47 -0400

Thanks to all who replied to my question on gathering the NFS
statistics, particularly:

Tim W. Janes
Stam Nicolis
carlos.touzard_at_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_at_MasPar.COM (Ernie Rael)
Message-Id: <9509251846.AA05116_at_.maspar.com.maspar.com>
To: golden_at_falcon.invincible.com
Subject: Re: NFS statistics

The kernel structures are:
        rcstat
        clstat
        rsstat
        svstat

=================
From: alan_at_nabeth.cxo.dec.com (Alan Rollow - Dr. File System's Home for Wayward
Inodes.)
Message-Id: <9509251513.AA14348_at_nabeth.cxo.dec.com>
To: golden_at_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).
Received on Mon Sep 25 1995 - 22:29:51 NZST

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:46 NZDT