Linux NFS development
 help / color / mirror / Atom feed
From: Kevin Constantine <Kevin.Constantine-FfNkGbSheRGpB8w63BLUukEOCMrvLtNR@public.gmane.org>
To: linux-nfs@vger.kernel.org
Subject: nfsstat --sleep=#
Date: Wed, 11 Mar 2009 18:37:08 -0700	[thread overview]
Message-ID: <49B86744.6060105@disney.com> (raw)

I'd really like to have a way to output the nfsstat counters at regular 
intervals (every 3 seconds) where the output is the difference between 3 
seconds ago and now.  Frequently I'll run a test and want to watch the 
nfs call profile throughout the course of the test.

Does something like this already exist?
Are there objections to seeing a feature like this?

I'm thinking something like:
nfsstat --sleep=1

  nfs v3 call:   Server   Client
        total:        0     3476
         null:        0        0
      getattr:        0     1679
      setattr:        0        0
       lookup:        0      839
       access:        0      839
     readlink:        0        0
         read:        0        0
        write:        0        0
       create:        0        0
        mkdir:        0        0
      symlink:        0        0
        mknod:        0        0
       remove:        0        0
        rmdir:        0        0
       rename:        0        0
         link:        0        0
      readdir:        0        0
  readdirplus:        0        0
       fsstat:        0      119
       fsinfo:        0        0
     pathconf:        0        0
       commit:        0        0


             reply	other threads:[~2009-03-12  1:46 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-12  1:37 Kevin Constantine [this message]
     [not found] ` <49B86744.6060105-P5ys19MLBK/QT0dZR+AlfA@public.gmane.org>
2009-03-12  1:58   ` nfsstat --sleep=# Greg Banks
2009-03-12  1:58     ` Kevin Constantine
2009-03-12 14:00   ` Chuck Lever
2009-03-12 15:50     ` J. Bruce Fields
2009-03-12 16:08       ` Chuck Lever
2009-03-12 16:24         ` J. Bruce Fields
2009-03-12 16:34           ` Chuck Lever
2009-03-12 16:45           ` Kevin Constantine
     [not found]             ` <49B93C10.5020208-P5ys19MLBK/QT0dZR+AlfA@public.gmane.org>
2009-03-12 16:48               ` J. Bruce Fields
2009-03-12 17:09                 ` Kevin Constantine
2009-03-12 17:22                 ` Chuck Lever
2009-03-12 19:32                   ` J. Bruce Fields
2009-03-12 20:24                     ` Chuck Lever
2009-03-16 16:18                       ` Steve Dickson
     [not found]                         ` <49BE7BD6.3050303-AfCzQyP5zfLQT0dZR+AlfA@public.gmane.org>
2009-03-16 16:33                           ` Chuck Lever
2009-03-12 16:54               ` Chuck Lever
2009-03-12 16:19     ` Greg Banks

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=49B86744.6060105@disney.com \
    --to=kevin.constantine-ffnkgbshergpb8w63bluukeocmrvltnr@public.gmane.org \
    --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