From owner-freebsd-questions@FreeBSD.ORG Wed Apr 14 12:02:25 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AE4A216A4CE for ; Wed, 14 Apr 2004 12:02:25 -0700 (PDT) Received: from mighty.grot.org (66-117-150-96.web.lmi.net [66.117.150.96]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9C8BC43D66 for ; Wed, 14 Apr 2004 12:02:25 -0700 (PDT) (envelope-from aditya@grot.org) Received: by mighty.grot.org (Postfix, from userid 515) id 55ABA5D6A; Wed, 14 Apr 2004 19:02:25 +0000 (GMT) Date: Wed, 14 Apr 2004 15:02:25 -0400 From: Aditya To: questions@freebsd.org Message-ID: <20040414190225.GF34327@mighty.grot.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Subject: read/write disk bandwidth monitoring? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Apr 2004 19:02:25 -0000 iostat can provide an aggregate number for transactions per second and Bytes per transaction for a given device, but if it is a block device, is there a counter accessible from iostat or elsewhere that I can see how much is read transactions versus write transactions? > iostat -K -d -I 1 ad0 ad2 da0 pass0 KB/t xfrs MB KB/t xfrs MB KB/t xfrs MB KB/t xfrs MB 0.00 0 0.00 0.00 0 0.00 0.00 0 0.00 0.00 0 0.00 7.50 8 0.06 0.00 0 0.00 0.00 0 0.00 0.00 0 0.00 0.00 0 0.00 0.00 0 0.00 0.00 0 0.00 0.00 0 0.00 0.00 0 0.00 0.00 0 0.00 0.00 0 0.00 0.00 0 0.00 ^C tells me transactions per device, but not divided into reads versus writes... Adi