RFC: Sorting in top -m io

Alfred Perlstein alfred at freebsd.org
Thu Jul 8 11:13:32 PDT 2004


* Dan Nelson <dnelson at allantgroup.com> [040708 10:07] wrote:
> 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.

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 at mu.org cell: 408-480-4684


More information about the freebsd-current mailing list