From: Steve Dickson <SteveD@redhat.com>
To: Greg Banks <gnb@sgi.com>
Cc: Kevin Constantine
<Kevin.Constantine-FfNkGbSheRGpB8w63BLUukEOCMrvLtNR@public.gmane.org>,
linux-nfs@vger.kernel.org,
Kevin Constantine
<Kevin.Constantine-P5ys19MLBK/QT0dZR+AlfA@public.gmane.org>
Subject: Re: [PATCH 2/2] nfsstat: Add --list flag
Date: Tue, 17 Mar 2009 08:15:28 -0400 [thread overview]
Message-ID: <49BF9460.4050108@RedHat.com> (raw)
In-Reply-To: <49BF2478.8080600@sgi.com>
Thanks Greg for taking a look...
Greg Banks wrote:
> Kevin Constantine wrote:
>
> Maybe you can smooth out this difference, and make the code simpler and
> cleaner, by making the output always be exactly two columns, one for the
> label and one for the value. Then your earlier quoted example would be
> something like
>
> nfs v3 client total: 213
> nfs v3 client null: 0
> nfs v3 client getattr: 23
> nfs v3 client setattr: 9
> nfs v3 client lookup: 8
> nfs v3 client access: 1
> nfs v3 client readlink: 0
> nfs v3 client read: 7
> nfs v3 client write: 23
> nfs v3 client create: 8
> nfs v3 client mkdir: 0
> nfs v3 client symlink: 0
> nfs v3 client mknod: 0
> nfs v3 client remove: 7
> nfs v3 client rmdir: 0
> nfs v3 client rename: 1
> nfs v3 client link: 0
> nfs v3 client readdir: 0
> nfs v3 client readdirplus: 0
> nfs v3 client fsstat: 126
> nfs v3 client fsinfo: 0
> nfs v3 client pathconf: 0
> nfs v3 client commit: 0
> nfs v3 server total: 0
> nfs v3 server null: 0
> nfs v3 server getattr: 0
> nfs v3 server setattr: 0
> nfs v3 server lookup: 0
> nfs v3 server access: 0
> nfs v3 server readlink: 0
> nfs v3 server read: 0
> nfs v3 server write: 0
> nfs v3 server create: 0
> nfs v3 server mkdir: 0
> nfs v3 server symlink: 0
> nfs v3 server mknod: 0
> nfs v3 server remove: 0
> nfs v3 server rmdir: 0
> nfs v3 server rename: 0
> nfs v3 server link: 0
> nfs v3 server readdir: 0
> nfs v3 server readdirplus: 0
> nfs v3 server fsstat: 0
> nfs v3 server fsinfo: 0
> nfs v3 server pathconf: 0
> nfs v3 server commit: 0
Question... Now why are we *not* using the information from /proc/self/mountstats
and doing this per mount?
Also, can I assume (not looking at the patches yet) that this same type info
will be available v2 and v4?
Finally, does it really make sense to show a stats with zero occurrences?
Why not just show what has happen instead of including what has not happen?
steved.
next prev parent reply other threads:[~2009-03-17 12:18 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-03-16 17:45 [PATCH 1/2] nfsstat.c: Print diff stats every N seconds Kevin Constantine
[not found] ` <1237225556-27691-1-git-send-email-kevin.constantine-FfNkGbSheRGpB8w63BLUukEOCMrvLtNR@public.gmane.org>
2009-03-16 17:45 ` [PATCH 2/2] nfsstat: Add --list flag Kevin Constantine
[not found] ` <1237225556-27691-2-git-send-email-kevin.constantine-FfNkGbSheRGpB8w63BLUukEOCMrvLtNR@public.gmane.org>
2009-03-17 4:18 ` Greg Banks
2009-03-17 7:46 ` [PATCH 1/2] nfsstat: Print diff stats every N seconds Kevin Constantine
[not found] ` <1237275989-16421-1-git-send-email-kevin.constantine-FfNkGbSheRGpB8w63BLUukEOCMrvLtNR@public.gmane.org>
2009-03-17 7:46 ` [PATCH 2/2] nfsstat: Add --list flag Kevin Constantine
[not found] ` <1237275989-16421-2-git-send-email-kevin.constantine-FfNkGbSheRGpB8w63BLUukEOCMrvLtNR@public.gmane.org>
2009-03-18 2:43 ` Greg Banks
2009-03-18 2:43 ` [PATCH 1/2] nfsstat: Print diff stats every N seconds Greg Banks
2009-03-17 12:15 ` Steve Dickson [this message]
[not found] ` <49BF9460.4050108-AfCzQyP5zfLQT0dZR+AlfA@public.gmane.org>
2009-03-17 16:16 ` [PATCH 2/2] nfsstat: Add --list flag Frank Filz
2009-03-17 16:33 ` Kevin Constantine
2009-03-17 4:03 ` [PATCH 1/2] nfsstat.c: Print diff stats every N seconds Greg Banks
2009-04-03 15:26 ` Steve Dickson
[not found] ` <49D62A92.5090907-AfCzQyP5zfLQT0dZR+AlfA@public.gmane.org>
2009-04-03 17:10 ` Kevin Constantine
[not found] ` <49D642F7.3040900-P5ys19MLBK/QT0dZR+AlfA@public.gmane.org>
2009-04-03 18:20 ` Steve Dickson
-- strict thread matches above, loose matches on Subject: below --
2009-04-03 19:06 [PATCH 0/2] nfsstat: Patch resend Kevin Constantine
2009-04-03 19:06 ` [PATCH 1/2] nfsstat: Print diff stats every N seconds Kevin Constantine
[not found] ` <1238785592-18869-2-git-send-email-kevin.constantine-FfNkGbSheRGpB8w63BLUukEOCMrvLtNR@public.gmane.org>
2009-04-03 19:06 ` [PATCH 2/2] nfsstat: Add --list flag Kevin Constantine
[not found] ` <1238785592-18869-3-git-send-email-kevin.constantine-FfNkGbSheRGpB8w63BLUukEOCMrvLtNR@public.gmane.org>
2009-04-03 23:49 ` Greg Banks
[not found] ` <ac442c870904031649o5880e9fcpeb3d6420c5de9a9c-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2009-04-04 11:55 ` Steve Dickson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=49BF9460.4050108@RedHat.com \
--to=steved@redhat.com \
--cc=Kevin.Constantine-FfNkGbSheRGpB8w63BLUukEOCMrvLtNR@public.gmane.org \
--cc=Kevin.Constantine-P5ys19MLBK/QT0dZR+AlfA@public.gmane.org \
--cc=gnb@sgi.com \
--cc=linux-nfs@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox