From owner-freebsd-questions@FreeBSD.ORG Wed Nov 12 20:04:30 2008 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 093031065670 for ; Wed, 12 Nov 2008 20:04:30 +0000 (UTC) (envelope-from brent@servuhome.net) Received: from yx-out-2324.google.com (yx-out-2324.google.com [74.125.44.28]) by mx1.freebsd.org (Postfix) with ESMTP id B5EA68FC1D for ; Wed, 12 Nov 2008 20:04:29 +0000 (UTC) (envelope-from brent@servuhome.net) Received: by yx-out-2324.google.com with SMTP id 8so257664yxb.13 for ; Wed, 12 Nov 2008 12:04:28 -0800 (PST) Received: by 10.151.155.5 with SMTP id h5mr14614578ybo.133.1226518340875; Wed, 12 Nov 2008 11:32:20 -0800 (PST) Received: by 10.150.202.20 with HTTP; Wed, 12 Nov 2008 11:32:20 -0800 (PST) Message-ID: Date: Wed, 12 Nov 2008 11:32:20 -0800 From: "Brent Jones" To: "Adam McDougall" In-Reply-To: <49107CA1.5090309@egr.msu.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <49107CA1.5090309@egr.msu.edu> Cc: stable@freebsd.org, Eduardo Meyer , questions@freebsd.org Subject: Re: Disk top usage PIDs X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Nov 2008 20:04:30 -0000 On Tue, Nov 4, 2008 at 8:47 AM, Adam McDougall wrote: > Eduardo Meyer wrote: >> >> Hello, >> >> I have some serious issue. Sometimes something happens and my disk >> usage performance find its limit quickly. I follow with gstat and >> iostat -xw1, and everything usually happens just fine, with %b around >> 20 and 0 to 1 pending i/o request. Suddely I get 30, 40 pending >> requests and %b is always on 100% (or more than this). >> >> fstat and lsof gives me no hint, because the type of programs as well >> as the amount of 'em is just the same. >> >> How can I find the PID which is hammering my disk? Is there an "iotop" >> or "disktop" tool or something alike? >> >> Its a mail server. I have pop3, imap, I also have maildrop and >> sometimes, httpd, working around the busiest mount point. >> >> I have also started AUDIT, however all I can get are the top PIDs >> which issue read/write requests. Not the requests which take longer to >> perform (the busiest ones), or should I look for some special audit >> class or event other than open, read and write? >> >> Thank you in advance. >> >> > > top -mio > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" > I learn something new everyday on this list...! -- Brent Jones brent@servuhome.net