From owner-freebsd-current@FreeBSD.ORG Thu Jul 8 17:07:34 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 98DFB16A50D; Thu, 8 Jul 2004 17:07:34 +0000 (GMT) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4347143D39; Thu, 8 Jul 2004 17:07:34 +0000 (GMT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.12.10/8.12.10) id i68H7Xvc013699; Thu, 8 Jul 2004 12:07:33 -0500 (CDT) (envelope-from dan) Date: Thu, 8 Jul 2004 12:07:33 -0500 From: Dan Nelson To: Alfred Perlstein Message-ID: <20040708170731.GI57155@dan.emsphone.com> References: <20040707124751.GA66588@orion.daedalusnetworks.priv> <20040708163751.GN95729@elvis.mu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040708163751.GN95729@elvis.mu.org> X-OS: FreeBSD 5.2-CURRENT X-message-flag: Outlook Error User-Agent: Mutt/1.5.6i 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 17:07:34 -0000 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. -- Dan Nelson dnelson@allantgroup.com