From owner-freebsd-performance@FreeBSD.ORG Fri Sep 23 12:06:01 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 8520816A41F for ; Fri, 23 Sep 2005 12:06:01 +0000 (GMT) (envelope-from lists@natserv.com) Received: from zoraida.natserv.net (p65-147.acedsl.com [66.114.65.147]) by mx1.FreeBSD.org (Postfix) with ESMTP id 39F1043D45 for ; Fri, 23 Sep 2005 12:06:01 +0000 (GMT) (envelope-from lists@natserv.com) Received: from localhost (localhost.natserv.net [127.0.0.1]) by zoraida.natserv.net (Postfix) with ESMTP id 9FAC57DCD; Fri, 23 Sep 2005 08:06:00 -0400 (EDT) Date: Fri, 23 Sep 2005 08:06:00 -0400 (EDT) From: Francisco Reyes X-X-Sender: fran@zoraida.natserv.net To: Joseph Koshy In-Reply-To: <84dead7205092219023228cdf5@mail.gmail.com> Message-ID: <20050923080435.J58927@zoraida.natserv.net> References: <20050922214709.Q50836@zoraida.natserv.net> <84dead7205092219023228cdf5@mail.gmail.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: FreeBSD Performance 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:06:01 -0000 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?