From owner-freebsd-stable@FreeBSD.ORG Sun Jun 25 12:56:55 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 9B22916A40D for ; Sun, 25 Jun 2006 12:56:55 +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 AFD5A43D6B for ; Sun, 25 Jun 2006 12:56:54 +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 k5PCuqgJ053276; Sun, 25 Jun 2006 16:56:52 +0400 (MSD) (envelope-from marck@rinet.ru) Date: Sun, 25 Jun 2006 16:56:52 +0400 (MSD) From: Dmitry Morozovsky To: "Marc G. Fournier" In-Reply-To: <20060624152525.D1114@ganymede.hub.org> Message-ID: <20060625164752.H52500@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> <20060624221556.O30039@woozle.rinet.ru> <20060624152525.D1114@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]); Sun, 25 Jun 2006 16:56:52 +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: Sun, 25 Jun 2006 12:56:55 -0000 On Sat, 24 Jun 2006, Marc G. Fournier wrote: MGF> > MGF> 'k, stupid question then ... what am I searching for? MGF> > MGF> MGF> > MGF> # ps axlww | awk '{print $9}' | sort | uniq -c | sort -nr MGF> > MGF> > Well, try MGF> > MGF> > ps axlww | awk '$10 ~ /^D[^L]/' MGF> > MGF> > which should give you a list of blocked-in-uninterruptible-syscall MGF> > processes MGF> > excluding kernel threads... MGF> MGF> Nadda: MGF> MGF> pluto# ps axlww | awk '$10 ~ /^D[^L]/' Errm... It seems I turn you to the wrong side... Normal disk-locked processes have DL (DL+) state... Well, then try something like ps ax -O ppid,flags,mwchan | awk '($6 ~ /^D/ || $6 == "STAT") && $3 !~ /^20.$/' Sincerely, D.Marck [DM5020, MCK-RIPE, DM3-RIPN] ------------------------------------------------------------------------ *** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- marck@rinet.ru *** ------------------------------------------------------------------------