From: "david m. richter" Subject: Re: [PATCH 0/7] nfsstat: adding -D/--diff-stat to nfsstat Date: Wed, 1 Aug 2007 13:45:16 -0400 (EDT) Message-ID: References: <46B074A2.4010909@redhat.com> <20070801165033.GA13441@fieldses.org> <20070801174136.GC13441@fieldses.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Cc: Neil Brown , Peter Staubach , Andrew Richardson , nfs@lists.sourceforge.net, Alex Soule To: "J. Bruce Fields" 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 1IGIG1-0007dz-Hg for nfs@lists.sourceforge.net; Wed, 01 Aug 2007 10:45:13 -0700 Received: from citi.umich.edu ([141.211.133.111]) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1IGIG5-00023F-9Q for nfs@lists.sourceforge.net; Wed, 01 Aug 2007 10:45:17 -0700 In-Reply-To: <20070801174136.GC13441@fieldses.org> 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, J. Bruce Fields wrote: > On Wed, Aug 01, 2007 at 01:35:16PM -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 > > > > > > just curious: would you be satisfied if the --since file's ctime > > were used as the beginning of the time interval? > > Fine by me, but what were you going to use that for? If you're just > producing a diff, then you don't need to know the length of the time > interval. Did you just want to add a header saying "stats since > hh:mm:ss", or did you want to calculate per-second rates? oh, maybe i just misread your "You could still get a time interval" thing as meaning that you'd want it to display the length of time since --since ran. but now that i think about it, that's kind of a silly thing -- maybe your --since file isn't your own, etc. --since (or something like it) should probably also have a "diff these two statfiles" mode, like you said bruce. 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