From owner-freebsd-stable@FreeBSD.ORG Sat Jun 24 18:17:09 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AC83E16A4A7 for ; Sat, 24 Jun 2006 18:17:09 +0000 (UTC) (envelope-from marck@rinet.ru) Received: from woozle.rinet.ru (woozle.rinet.ru [195.54.192.68]) by mx1.FreeBSD.org (Postfix) with ESMTP id B0EF543D46 for ; Sat, 24 Jun 2006 18:17:08 +0000 (GMT) (envelope-from marck@rinet.ru) Received: from localhost (localhost [127.0.0.1]) by woozle.rinet.ru (8.13.6/8.13.6) with ESMTP id k5OIH7en025599; Sat, 24 Jun 2006 22:17:07 +0400 (MSD) (envelope-from marck@rinet.ru) Date: Sat, 24 Jun 2006 22:17:07 +0400 (MSD) From: Dmitry Morozovsky To: "Marc G. Fournier" In-Reply-To: <20060624145432.A1114@ganymede.hub.org> Message-ID: <20060624221556.O30039@woozle.rinet.ru> References: <20060623172557.H1114@ganymede.hub.org> <261AD16B-C3FE-4671-996E-563053508CE8@mac.com> <20060624022227.X1114@ganymede.hub.org> <20060624115505.E14669@woozle.rinet.ru> <20060624090656.GB79678@deviant.kiev.zoral.com.ua> <20060624145432.A1114@ganymede.hub.org> X-NCC-RegID: ru.rinet X-OpenPGP-Key-ID: 6B691B03 MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0.2 (woozle.rinet.ru [0.0.0.0]); Sat, 24 Jun 2006 22:17:07 +0400 (MSD) Cc: Kostik Belousov , freebsd-stable@freebsd.org Subject: Re: vmstat 'b' (disk busy?) field keeps climbing ... X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Jun 2006 18:17:09 -0000 On Sat, 24 Jun 2006, Marc G. Fournier wrote: MGF> > > MGF> is there a way of finding out what processes are blocked? MGF> > > MGF> > > Aren't they in 'D' status by ps? MGF> > Use ps axlww. In this way, at least actual blocking points are shown. MGF> MGF> 'k, stupid question then ... what am I searching for? MGF> MGF> # ps axlww | awk '{print $9}' | sort | uniq -c | sort -nr Well, try ps axlww | awk '$10 ~ /^D[^L]/' which should give you a list of blocked-in-uninterruptible-syscall processes excluding kernel threads... Sincerely, D.Marck [DM5020, MCK-RIPE, DM3-RIPN] ------------------------------------------------------------------------ *** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- marck@rinet.ru *** ------------------------------------------------------------------------