Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 1 Jul 2004 15:46:53 -0700
From:      Alfred Perlstein <alfred@freebsd.org>
To:        John Baldwin <jhb@FreeBSD.org>
Cc:        cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/contrib/top top.X top.c top.h src/usr.bin/top machine.c
Message-ID:  <20040701224653.GB95729@elvis.mu.org>
In-Reply-To: <200407011831.25496.jhb@FreeBSD.org>
References:  <200407010912.i619Ccw4072380@repoman.freebsd.org> <200407011831.25496.jhb@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
* John Baldwin <jhb@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@mu.org cell: 408-480-4684



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040701224653.GB95729>