RFC: Sorting in top -m io

Giorgos Keramidas keramida at ceid.upatras.gr
Thu Jul 8 10:25:44 PDT 2004


On 2004-07-08 12:07, Dan Nelson <dnelson at allantgroup.com> wrote:
> In the last episode (Jul 08), Alfred Perlstein said:
> > * Giorgos Keramidas <keramida at freebsd.org> [040708 05:45] wrote:
> > >
> > > The new -m io option of top is cool, but sorting ...
> >
> > 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.

Err, yeah.  I should have waited.  I have a few changes to the manpage
at home.  In a couple of hours they should be ready and into shape for
commiting.

> Since there's room, context-switch info would also be neat to display.

I'm not sure I can tackle this.  I have close to nil experience with the
stuff top uses to extract the useful information from the kernel.
Copy-pasting and tinkering a bit with a few OO-like sort methods wasn't
very hard but for anything else I'll have to read a lot of stuff :-)

Giorgos



More information about the freebsd-current mailing list