cvs commit: src/contrib/top top.X top.c top.h src/usr.bin/top machine.c

Alfred Perlstein alfred at freebsd.org
Thu Jul 1 15:48:19 PDT 2004


* John Baldwin <jhb at FreeBSD.org> [040701 15:33] wrote:
> On Thursday 01 July 2004 05:12 am, Alfred Perlstein wrote:
> > alfred      2004-07-01 09:12:38 UTC
> >
> >   FreeBSD src repository
> >
> >   Modified files:
> >     contrib/top          top.X top.c top.h
> >     usr.bin/top          machine.c
> >   Log:
> >   New feature, provide a display that shows the amount of IO processes
> >   are doing.  Toggle this mode by hitting "m" or passing the command line
> >   option "-m io" to top(1).  This allows one to identify disk bandwidth
> >   hogs much easier.
> 
> Neat!

Yah, someone at y! asked for it, so I did it in a local utility, then
figured with enough hackery I could move it into the base top(1).

Only problem is that I'm having a hell of a time figuring out how
and where to display the IO totals.

I also wish that inblocks/oublocks were actually set to a specific
unit.  As it stands I think it's just some number of "blocks" no
specific size though, so I can't convert it into an actual xfer
speed.

-- 
- Alfred Perlstein
- Research Engineering Development Inc.
- email: bright at mu.org cell: 408-480-4684


More information about the cvs-src mailing list