From owner-freebsd-performance@FreeBSD.ORG Fri Sep 23 12:21:37 2005 Return-Path: X-Original-To: freebsd-performance@freebsd.org Delivered-To: freebsd-performance@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7CB2F16A41F for ; Fri, 23 Sep 2005 12:21:37 +0000 (GMT) (envelope-from shanu@shankerbalan.net) Received: from mailsrv.bangalore.corp.yahoo.com (mailsrv.bangalore.corp.yahoo.com [202.46.19.91]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7EB3043D49 for ; Fri, 23 Sep 2005 12:21:36 +0000 (GMT) (envelope-from shanu@shankerbalan.net) Received: from buffy.bangalore.corp.yahoo.com (buffy.bangalore.corp.yahoo.com [172.24.90.212]) by mailsrv.bangalore.corp.yahoo.com (8.13.4/8.13.4/pop-in) with ESMTP id j8NCKCsA067878 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Fri, 23 Sep 2005 17:50:23 +0530 (IST) Received: from buffy.bangalore.corp.yahoo.com (localhost [127.0.0.1]) by buffy.bangalore.corp.yahoo.com (8.13.4/8.13.4) with ESMTP id j8NCKBvT082639 for ; Fri, 23 Sep 2005 17:50:11 +0530 (IST) (envelope-from shanu@shankerbalan.net) Received: (from shanker@localhost) by buffy.bangalore.corp.yahoo.com (8.13.4/8.13.4/Submit) id j8NCKBUN082638 for freebsd-performance@freebsd.org; Fri, 23 Sep 2005 17:50:11 +0530 (IST) (envelope-from shanu@shankerbalan.net) X-Authentication-Warning: buffy.bangalore.corp.yahoo.com: shanker set sender to shanu@shankerbalan.net using -f Date: Fri, 23 Sep 2005 17:50:11 +0530 From: Shanker Balan To: freebsd-performance@freebsd.org Message-ID: <20050923122011.GV33413@yahoo-inc.com> Mail-Followup-To: Shanker Balan , freebsd-performance@freebsd.org References: <20050922214709.Q50836@zoraida.natserv.net> <84dead7205092219023228cdf5@mail.gmail.com> <20050923080435.J58927@zoraida.natserv.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050923080435.J58927@zoraida.natserv.net> Organisation: http://www.yahoo.com/ User-Agent: Mutt/1.5.9i Subject: Re: Finding what's causing I/O X-BeenThere: freebsd-performance@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Performance/tuning List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Sep 2005 12:21:37 -0000 Hello, Francisco Reyes wrote, > On Fri, 23 Sep 2005, Joseph Koshy wrote: > > >>Is there a way to find out which program(s) are causing the I/O? > > > >ktrace(8); you can use it to trace all descendants of 'init'. > > Looking at the man page it's non-obvious how to use it (to me). > > > Specially it seems one needs to indicate a pid or a command. How do I > trace all programs? See top(1): m Toggle the display between 'cpu' and 'io' modes. -- Shanker Balan