From owner-freebsd-performance@FreeBSD.ORG Mon Sep 26 07:42:25 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 B2F5016A41F for ; Mon, 26 Sep 2005 07:42:25 +0000 (GMT) (envelope-from gofp-freebsd-performance@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3FE8143D55 for ; Mon, 26 Sep 2005 07:42:24 +0000 (GMT) (envelope-from gofp-freebsd-performance@m.gmane.org) Received: from root by ciao.gmane.org with local (Exim 4.43) id 1EJnbT-0005fh-RP for freebsd-performance@freebsd.org; Mon, 26 Sep 2005 09:40:47 +0200 Received: from r5k120.chello.upc.cz ([86.49.10.120]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 26 Sep 2005 09:40:47 +0200 Received: from martinkov by r5k120.chello.upc.cz with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 26 Sep 2005 09:40:47 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-performance@freebsd.org From: martinko Date: Mon, 26 Sep 2005 09:25:43 +0200 Lines: 26 Message-ID: <4337A277.4060200@pobox.sk> References: <20050922214709.Q50836@zoraida.natserv.net> <84dead7205092219023228cdf5@mail.gmail.com> <20050923080435.J58927@zoraida.natserv.net> <20050923122011.GV33413@yahoo-inc.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: r5k120.chello.upc.cz User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.12) Gecko/20050925 X-Accept-Language: sk, cs, en-gb, en-us, en In-Reply-To: <20050923122011.GV33413@yahoo-inc.com> Sender: news X-Mailman-Approved-At: Mon, 26 Sep 2005 11:34:20 +0000 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: Mon, 26 Sep 2005 07:42:25 -0000 Shanker Balan wrote: > 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. > well, thanks for the switch. i couldn't find any description/explanation of/on the columns (VCSW,..) in top(1) man page, though. :(