From owner-freebsd-hackers@FreeBSD.ORG Tue Oct 25 20:52:46 2011 Return-Path: Delivered-To: freebsd-hackers@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C18FD1065676; Tue, 25 Oct 2011 20:52:46 +0000 (UTC) (envelope-from stb@lassitu.de) Received: from gilb.zs64.net (gilb.zs64.net [IPv6:2001:470:1f0b:105e::1ea]) by mx1.freebsd.org (Postfix) with ESMTP id 8B62D8FC1F; Tue, 25 Oct 2011 20:52:46 +0000 (UTC) Received: by gilb.zs64.net (Postfix, from stb@lassitu.de) id CC304CF1D8; Tue, 25 Oct 2011 22:52:45 +0200 (CEST) Mime-Version: 1.0 (Apple Message framework v1251.1) Content-Type: text/plain; charset=us-ascii From: Stefan Bethke In-Reply-To: <20111025205054.GB86420@azathoth.lan> Date: Tue, 25 Oct 2011 22:52:45 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: <2B3AA9F7-641A-4F84-B55F-E29732B0568A@lassitu.de> References: <20111025205054.GB86420@azathoth.lan> To: Baptiste Daroussin X-Mailer: Apple Mail (2.1251.1) Cc: freebsd-hackers@FreeBSD.org Subject: Re: iotop (dtrace?) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Oct 2011 20:52:46 -0000 Am 25.10.2011 um 22:50 schrieb Baptiste Daroussin: > On Tue, Oct 25, 2011 at 10:34:39PM +0200, Stefan Bethke wrote: >> I've got two systems with a constantly high rate of disk I/O that = sometimes seems to be overwhelmed from it. Before trying to decide if a = hardware upgrade will help, I'd like to figure out which processes = generate the load. >>=20 >> I've found a couple scripts named iotop which appear to produce what = I would be interested in, but they appear to require Solaris or Linux.=20= >>=20 >> Has someone ported over one of them, or would have a suggestion how = to go about writing a custom dtrace script to gather this kind of = information? >>=20 >> I can successfully run a couple of sample dtrace scripts on these = 8-stable amd64 boxes. >>=20 >=20 > Can't 'top -mio' do the job? D'oh! Thanks! Stefan --=20 Stefan Bethke Fon +49 151 14070811