Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 Jun 2006 21:16:52 +0400 (MSD)
From:      Dmitry Morozovsky <marck@rinet.ru>
To:        "Marc G. Fournier" <scrappy@hub.org>
Cc:        Kostik Belousov <kostikbel@gmail.com>, freebsd-stable@freebsd.org
Subject:   Re: vmstat 'b' (disk busy?) field keeps climbing ...
Message-ID:  <20060625211510.D52500@woozle.rinet.ru>
In-Reply-To: <20060625105843.O1114@ganymede.hub.org>
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> <20060625164752.H52500@woozle.rinet.ru> <20060625105843.O1114@ganymede.hub.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 25 Jun 2006, Marc G. Fournier wrote:

MGF> > Errm... It seems I turn you to the wrong side... Normal disk-locked
MGF> > processes
MGF> > have DL (DL+) state...  Well, then try something like
MGF> > 
MGF> > ps ax -O ppid,flags,mwchan | awk '($6 ~ /^D/ || $6 == "STAT") && $3 !~
MGF> > /^20.$/'
MGF> 
MGF> Still nothing to show 4 blocked processes (where it is sitting right now):
MGF> 
MGF> pluto# ps ax -O ppid,flags,mwchan | awk '($6 ~ /^D/ || $6 == "STAT") && $3
MGF> !~ /^20.$/'
MGF>   PID  PPID       F MWCHAN  TT  STAT      TIME COMMAND

Hmm, which processes are in D state at all, then?

ps ax -O ppid,flags,mwchan | awk '$6 ~ /^D/ || $6 == "STAT"'



Sincerely,
D.Marck                                     [DM5020, MCK-RIPE, DM3-RIPN]
------------------------------------------------------------------------
*** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- marck@rinet.ru ***
------------------------------------------------------------------------



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060625211510.D52500>