RFC: Sorting in top -m io

Dan Nelson dnelson at allantgroup.com
Thu Jul 8 10:07:34 PDT 2004


In the last episode (Jul 08), Alfred Perlstein said:
> * Giorgos Keramidas <keramida at freebsd.org> [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 at allantgroup.com


More information about the freebsd-current mailing list