From owner-freebsd-questions@FreeBSD.ORG Tue Nov 4 14:27:37 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 1D30A1065687 for ; Tue, 4 Nov 2008 14:27:37 +0000 (UTC) (envelope-from dudu.meyer@gmail.com) Received: from wf-out-1314.google.com (wf-out-1314.google.com [209.85.200.173]) by mx1.freebsd.org (Postfix) with ESMTP id E40AB8FC26 for ; Tue, 4 Nov 2008 14:27:36 +0000 (UTC) (envelope-from dudu.meyer@gmail.com) Received: by wf-out-1314.google.com with SMTP id 24so3194090wfg.7 for ; Tue, 04 Nov 2008 06:27:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=BEqw0ysp/3lGvKpUyDL02Ycc/+y8j2YisDWPixXHcsk=; b=DwvMy+7nkBSAdVYdSh77kab1xb5flFSI1M/OYbvOAzRSmNZcUd7FBSmjSpXyQyZoAY yZySZcdL0CPzI5UQMLjc/4mVvkxX6MYy4PiMFwWgTsb789Cfe5HbtNujfo0+wzarUBJ3 W/hd2SMAXnDPdPnTmPrC0C8mwBywo9dTY9bBQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=CrX1pXAzO4aa9K3gMGGYJNVj03wIgqN1sJGxTGw31WACQ/Rgc0xMeNEubjxXH3y3Pv usg6+Oz4OO3+FJx5YF3UauvH5y4nNJAjJj5JjHbQqSAm8919WTRcDdt+P//hh5KALQ5I WJXN+9nMMTVATUVecPz5XL7Yt3SzOhT+tNNUU= Received: by 10.143.8.17 with SMTP id l17mr814967wfi.106.1225808856655; Tue, 04 Nov 2008 06:27:36 -0800 (PST) Received: by 10.142.158.11 with HTTP; Tue, 4 Nov 2008 06:27:36 -0800 (PST) Message-ID: Date: Tue, 4 Nov 2008 12:27:36 -0200 From: "Eduardo Meyer" To: "Bill Moran" In-Reply-To: <20081104091801.ff0297b0.wmoran@potentialtech.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20081104091801.ff0297b0.wmoran@potentialtech.com> Cc: 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: Tue, 04 Nov 2008 14:27:37 -0000 On Tue, Nov 4, 2008 at 12:18 PM, Bill Moran wrote: > In response to "Eduardo Meyer" : >> >> 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? > > top -m io -o total Great, thats exactly what I was looking for, thank you a lot Mr Moran. > > -- > Bill Moran > http://www.potentialtech.com > -- =========== Eduardo Meyer pessoal: dudu.meyer@gmail.com profissional: ddm.farmaciap@saude.gov.br