From: Rahul on
I was trying to zero my nfs statistics counters and get an error message:

nfsstat -z
nfsstat: zeroing of nfs statistics not yet supported

Is this still the standard situation or is there a patch that fixes this. I
just installed the latest CentOS 5.4 distro so I thought my NFS server was
pretty up to date. In any case, tried "yum search nfs" but not sure what
packages needs updating for the nfs server.

Also checked via rpm and I only have 2 nfs packages:

rpm -qa | grep nfs
nfs-utils-lib-1.0.8-7.6.el5
nfs-utils-1.0.9-42.el5

yum shows both these packages as being up-todate.

Any sugesstions on how to zero the NFS counters?

--
Rahul
From: Rick Jones on
In comp.os.linux.networking Rahul <nospam(a)nospam.invalid> wrote:
> I was trying to zero my nfs statistics counters and get an error
> message:

> nfsstat -z
> nfsstat: zeroing of nfs statistics not yet supported

> ...

> Any sugesstions on how to zero the NFS counters?

As a workaround, you might consider "beforeafter" from:

ftp://ftp.cup.hp.com/dist/networking/tools/

compile it then:

nfsstat > before
<do something>
nfsstat > after
beforeafter before after > delta
<look at delta>

rick jones
--
oxymoron n, commuter in a gas-guzzling luxury SUV with an American flag
these opinions are mine, all mine; HP might not want them anyway... :)
feel free to post, OR email to rick.jones2 in hp.com but NOT BOTH...
From: Rahul on
Rick Jones <rick.jones2(a)hp.com> wrote in news:hkpnsh$ciq$1
@usenet01.boi.hp.com:

> As a workaround, you might consider "beforeafter" from:
>
> ftp://ftp.cup.hp.com/dist/networking/tools/
>
> compile it then:
>
> nfsstat > before
> <do something>
> nfsstat > after
> beforeafter before after > delta
> <look at delta>
>

Neat tool. THanks Rick!

--
Rahul
From: Rahul on
Rick Jones <rick.jones2(a)hp.com> wrote in news:hkpnsh$ciq$1
@usenet01.boi.hp.com:

> As a workaround, you might consider "beforeafter" from:
>
> ftp://ftp.cup.hp.com/dist/networking/tools/
>
> compile it then:
>
> nfsstat > before
> <do something>
> nfsstat > after
> beforeafter before after > delta
> <look at delta>
>

Neat tool. THanks Rick! I was about to do some akwing that did similar.

--
Rahul
From: Rick Jones on
In comp.os.linux.networking Rahul <nospam(a)nospam.invalid> wrote:
> Rick Jones <rick.jones2(a)hp.com> wrote in news:hkpnsh$ciq$1
> @usenet01.boi.hp.com:

> > As a workaround, you might consider "beforeafter" from:
> >
> > ftp://ftp.cup.hp.com/dist/networking/tools/
> >
> > compile it then:
> >
> > nfsstat > before
> > <do something>
> > nfsstat > after
> > beforeafter before after > delta
> > <look at delta>
> >

> Neat tool. THanks Rick! I was about to do some akwing that did similar.

Thank Yoshihiro Ishijima - it is his tool, I'm merely the reseller :)

rick jones
--
oxymoron n, Hummer H2 with California Save Our Coasts and Oceans plates
these opinions are mine, all mine; HP might not want them anyway... :)
feel free to post, OR email to rick.jones2 in hp.com but NOT BOTH...