vmstat 'b' (disk busy?) field keeps climbing ...

Dmitry Morozovsky marck at rinet.ru
Sat Jun 24 18:17:09 UTC 2006


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 at rinet.ru ***
------------------------------------------------------------------------


More information about the freebsd-stable mailing list