Networking Forums

Networking Forums > Computer Networking > Linux Networking > how to zero nfs counters

Reply
Thread Tools Display Modes

how to zero nfs counters

 
 
Rahul
Guest
Posts: n/a

 
      02-07-2010, 10:13 PM
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
 
Reply With Quote
 
 
 
 
Rick Jones
Guest
Posts: n/a

 
      02-08-2010, 06:15 PM
In comp.os.linux.networking Rahul <(E-Mail Removed)> 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...
 
Reply With Quote
 
Rahul
Guest
Posts: n/a

 
      02-08-2010, 10:02 PM
Rick Jones <(E-Mail Removed)> 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
 
Reply With Quote
 
Rahul
Guest
Posts: n/a

 
      02-08-2010, 10:02 PM
Rick Jones <(E-Mail Removed)> 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
 
Reply With Quote
 
Rick Jones
Guest
Posts: n/a

 
      02-08-2010, 11:00 PM
In comp.os.linux.networking Rahul <(E-Mail Removed)> wrote:
> Rick Jones <(E-Mail Removed)> 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...
 
Reply With Quote
 
Rick Jones
Guest
Posts: n/a

 
      02-09-2010, 06:56 PM
In comp.os.linux.networking Mark Hobley <(E-Mail Removed)> wrote:
> In comp.os.linux.networking Rick Jones <(E-Mail Removed)> wrote:
> > As a workaround, you might consider "beforeafter" from:
> >
> > ftp://ftp.cup.hp.com/dist/networking/tools/


> Damn. That link is down for me. I wonder if I can get this from
> somewhere else. I tried googling for "beforeafter" but this just
> bought up loads of crap.


Down how? I just accessed the so I am confident the server is up and
running, and I didn't have a typo in there.

rick jones
--
I don't interest myself in "why". I think more often in terms of
"when", sometimes "where"; always "how much." - Joubert
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...
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
SNMP counters for external monitoring WR Windows Networking 0 08-09-2006 10:07 AM
Using 64-bit counters for traffic accounting in net-snmp Alexandre H Linux Networking 0 08-02-2004 05:15 AM
Resetting the TX/RX Counters possible? Ulrich Wurst Linux Networking 0 04-09-2004 12:16 PM
WMI and Perfmon counters Hari Windows Networking 0 01-29-2004 05:18 PM
ifconfig rx/tx counters Geoff Linux Networking 1 07-09-2003 12:31 PM



1 2 3 4 5 6 7 8 9 10 11