From owner-freebsd-current@FreeBSD.ORG Thu Jul 8 18:13:32 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D199116A4CE; Thu, 8 Jul 2004 18:13:32 +0000 (GMT) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id B3FDD43D31; Thu, 8 Jul 2004 18:13:32 +0000 (GMT) (envelope-from bright@elvis.mu.org) Received: by elvis.mu.org (Postfix, from userid 1192) id 8C98D5C832; Thu, 8 Jul 2004 11:13:32 -0700 (PDT) Date: Thu, 8 Jul 2004 11:13:32 -0700 From: Alfred Perlstein To: Dan Nelson Message-ID: <20040708181332.GO95729@elvis.mu.org> References: <20040707124751.GA66588@orion.daedalusnetworks.priv> <20040708163751.GN95729@elvis.mu.org> <20040708170731.GI57155@dan.emsphone.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040708170731.GI57155@dan.emsphone.com> User-Agent: Mutt/1.4.2.1i cc: Giorgos Keramidas cc: current@freebsd.org Subject: Re: RFC: Sorting in top -m io X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Jul 2004 18:13:32 -0000 * Dan Nelson [040708 10:07] wrote: > In the last episode (Jul 08), Alfred Perlstein said: > > * Giorgos Keramidas [040708 05:45] wrote: > > > Hi all... > > > > > > The new -m io option of top is cool, but sorting is broken when the > > > 'io' mode is enabled. The following patch adds sorting > > > capabilities to the 'io' mode too and makes sure that hitting 'h' > > > for help prints the right list of sorting keywords :) > > > > > > The only thing I didn't add a sorting capability for is "percent", > > > because I'm not sure I know all it takes to do this. > > > > > > What do you all think of this patch to top(1)? > > > > I think it's awesome. Go for it. > > docs are still missing: manpage, top Usage string, and "?" help all > need to describe the -m flag and 'm' key. Since there's room, > context-switch info would also be neat to display. Yeah, but let's get this in first. Then Giorgos can do the rest. (manpages too. hehehehe) :) -- - Alfred Perlstein - Research Engineering Development Inc. - email: bright@mu.org cell: 408-480-4684