From owner-cvs-src@FreeBSD.ORG Thu Jul 1 22:48:19 2004 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CAC4A16A4CE; Thu, 1 Jul 2004 22:48:19 +0000 (GMT) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id ACE2243D5C; Thu, 1 Jul 2004 22:48:19 +0000 (GMT) (envelope-from bright@elvis.mu.org) Received: by elvis.mu.org (Postfix, from userid 1192) id 6F6675C822; Thu, 1 Jul 2004 15:46:53 -0700 (PDT) Date: Thu, 1 Jul 2004 15:46:53 -0700 From: Alfred Perlstein To: John Baldwin Message-ID: <20040701224653.GB95729@elvis.mu.org> References: <200407010912.i619Ccw4072380@repoman.freebsd.org> <200407011831.25496.jhb@FreeBSD.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200407011831.25496.jhb@FreeBSD.org> User-Agent: Mutt/1.4.2.1i cc: cvs-src@FreeBSD.org cc: src-committers@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 X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Jul 2004 22:48:19 -0000 * John Baldwin [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