From: "david m. richter" Subject: Re: [PATCH 0/7] nfsstat: adding -D/--diff-stat to nfsstat Date: Wed, 1 Aug 2007 14:12:17 -0400 (EDT) Message-ID: References: <46B074A2.4010909@redhat.com> <20070801165033.GA13441@fieldses.org> <1185990384.6700.188.camel@localhost> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Cc: Peter Staubach , Neil Brown , Alex Soule , "J. Bruce Fields" , Andrew Richardson , nfs@lists.sourceforge.net To: Trond Myklebust Return-path: Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list2-new.sourceforge.net with esmtp (Exim 4.43) id 1IGIgB-00025d-9n for nfs@lists.sourceforge.net; Wed, 01 Aug 2007 11:12:18 -0700 Received: from citi.umich.edu ([141.211.133.111]) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1IGIgE-0002yc-0g for nfs@lists.sourceforge.net; Wed, 01 Aug 2007 11:12:19 -0700 In-Reply-To: List-Id: "Discussion of NFS under Linux development, interoperability, and testing." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: nfs-bounces@lists.sourceforge.net Errors-To: nfs-bounces@lists.sourceforge.net On Wed, 1 Aug 2007, david m. richter wrote: > On Wed, 1 Aug 2007, Trond Myklebust wrote: > > > On Wed, 2007-08-01 at 13:35 -0400, david m. richter wrote: > > > > Can I make one more attempt to interest someone in implementing the > > > > --since=baseline-file approach? It'd be fun, and would make some more > > > > flexible use cases very simple. You could still get a time interval: > > > > > > > > nfsstat >tmp > > > > sleep 30 > > > > nfsstat --since=tmp > > > > > > > > or you could do other stuff: > > > > > > > > nfsstat >tmp > > > > run-my-weird-test-case-here > > > > nfsstat --since=tmp > > > > Exactly. Being able to zero out the stats is way more flexible than the > > -D stuff... > > perhaps i don't follow: how is zeroing the stats address the same > use-case as --diff-stat/--sleep? one can already zero the stats by > unmounting, e.g., but that's a pain. ? i'm missing something. oops -- my mistake. i have a shell alias that i use to unmount, unload the modules, then reload and remount; that's what i've been doing to zero the stats. d . > > > just curious: would you be satisfied if the --since file's ctime > > > were used as the beginning of the time interval? > > > > What time interval? nfsstat doesn't output any time intervals, and I > > can't see how these proposals introduce one. > > > > Is it perhaps Bruce's choice of the word '--since' that is confusing? > > right -- like i said in another letter, i was just being dumb. :) > > > thanks, > > d > . > ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ NFS maillist - NFS@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nfs