Return-Path: linux-nfs-owner@vger.kernel.org Received: from smtp04.smtpout.orange.fr ([80.12.242.126]:20732 "EHLO smtp.smtpout.orange.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753049AbaAVVtg (ORCPT ); Wed, 22 Jan 2014 16:49:36 -0500 Message-ID: <52E03B15.80904@orange.fr> Date: Wed, 22 Jan 2014 22:41:41 +0100 From: Sebastien Godard MIME-Version: 1.0 To: Steve Dickson , NeilBrown , Chuck Lever CC: varekova@redhat.com, Linux NFS Mailing List , Peter Schiffer Subject: Re: Too many programs called nfsiostat. References: <20130410094639.5debfc90@notabene.brown> <20140121144517.5f549347@notabene.brown> <20140122112436.574f0e29@notabene.brown> <52DFC3C3.7080506@RedHat.com> In-Reply-To: <52DFC3C3.7080506@RedHat.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Sender: linux-nfs-owner@vger.kernel.org List-ID: On 01/22/2014 02:12 PM, Steve Dickson wrote: > > On 21/01/14 19:24, NeilBrown wrote: >> On Tue, 21 Jan 2014 10:40:01 -0500 Chuck Lever wrote: >> >>> On Jan 20, 2014, at 10:45 PM, NeilBrown wrote: >>> >>>> (This time without the typo in Chuck's address - sorry). >>>> >>>> Not quite a year ago I wrote: >>>> >>>> On Wed, 10 Apr 2013 09:46:39 +1000 NeilBrown wrote: >>>> >>>>> Hi all, >>>>> it seems that in 2010, a program called nfsiostat was added to the sysstat >>>>> package (http://sebastien.godard.pagesperso-orange.fr/) >>>>> >>>>> This is unfortunate because in 2008 a program called nfsiostat was added to >>>>> the nfs-utils package. >>>>> (https://www.kernel.org/pub/linux/utils/nfs-utils/1.2.7/) >>>>> >>>>> The default install locations seem to be different (/usr/bin vs /usr/sbin), >>>>> so packagers would not immediately notice. >>>>> >>>>> This seems like something that should be "fixed". >>>>> >>>>> Any suggestions what a good "fix" should look like? >>>>> >>>>> NeilBrown >>>> >>>> No suggestions were forthcoming. >>>> So I have a suggestion. >>>> I propose we rename the "nfsiostat" in the "sysstat" package to >>>> "nfsio-sysstat" and the "nfsiostat" in "nfs-utils" to >>>> "nfs-utils-iostat". >>>> >>>> Does anyone object? If not I'll send off patches shortly :-) >>> What does the sysstat version do? do we need two programs, or can they be merged? Or can one be dropped? >>> >> It reads /proc/self/mountstats and reports some numbers, not unlike the >> nfs-utils version. >> >> $ /usr/sbin/nfsiostat >> >> eli:/home mounted on /mnt: >> >> op/s rpc bklog >> 3.55 0.00 >> read: ops/s kB/s kB/op retrans avg RTT (ms) avg exe (ms) >> 0.000 0.000 0.000 0 (0.0%) 0.000 0.000 >> write: ops/s kB/s kB/op retrans avg RTT (ms) avg exe (ms) >> 0.000 0.000 0.000 0 (0.0%) 0.000 0.000 >> $ /usr/bin/nfsiostat >> Linux 3.11.6-4-desktop (notabene.brown) 01/22/2014 _x86_64_ (8 CPU) >> >> Filesystem: rkB_nor/s wkB_nor/s rkB_dir/s wkB_dir/s rkB_svr/s wkB_svr/s ops/s rops/s wops/s >> eli:/home 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 >> >> >> The man page for the sysstat version is: >> >> http://www.makelinux.com/man/1/N/nfsiostat > Is this version still actively being maintain? > > steved. > >> while man page for nfs-utils version is: >> >> http://linux.die.net/man/8/nfsiostat >> >> NeilBrown >> > The nfsiostat command from the sysstat package is actually no longer actively being maintained. So I think that it can be merged with that from nfs-utils package. Regards, -- Sebastien GODARD http://sebastien.godard.pagesperso-orange.fr/