[OpenAFS-devel] Re: [master] Change I895dbbec: (openafs) Add a section on how to tune the AFS cache using xstat_cm_te...

Alf Wachsmann alfw@slac.stanford.edu
Mon, 15 Feb 2010 09:24:34 -0800 (PST)


On Sun, 14 Feb 2010 16:15:26 -0500 Jason Edgecombe <jason@rampaginggeek.com> wrote:
> Is there a different way to get the vcache and dcache hit ratio's
> from a client besides xstat_cm_test?

You can call "afsmonitor -cmhosts <clients>".
The vcache and dcache hit and miss numbers are fields 15-18.

If you _just_ want those four numbers, you can create a config file
for afsmonitor (see "man 5 afsmonitor").

Or you could use my Perl module AFS::Monitor.

-- Alf.

-----------------------------------------------------------------------
   Alf Wachsmann                       | e-mail: alfw@slac.stanford.edu
   SLAC - Scientific Computing         | Phone:  +1-650-926-4802
   2575 Sand Hill Road, M/S 97         | FAX:    +1-650-926-3329
   Menlo Park, CA 94025, USA           | Office: Bldg. 50/323
-----------------------------------------------------------------------
                 http://www.slac.stanford.edu/~alfw (PGP)
-----------------------------------------------------------------------