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

Marc G. Fournier scrappy at hub.org
Sun Jun 25 13:59:34 UTC 2006


On Sun, 25 Jun 2006, Dmitry Morozovsky wrote:

> 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.$/'

Still nothing to show 4 blocked processes (where it is sitting right now):

pluto# ps ax -O ppid,flags,mwchan | awk '($6 ~ /^D/ || $6 == "STAT") && $3 !~ /^20.$/'
   PID  PPID       F MWCHAN  TT  STAT      TIME COMMAND
pluto# ps ax -O ppid,flags,mwchan | awk '($6 ~ /^D/ || $6 == "STAT") && $3 !~ /^20.$/'
   PID  PPID       F MWCHAN  TT  STAT      TIME COMMAND
pluto# ps ax -O ppid,flags,mwchan | awk '($6 ~ /^D/ || $6 == "STAT") && $3 !~ /^20.$/'
   PID  PPID       F MWCHAN  TT  STAT      TIME COMMAND
93245 22948 1004000 vnread  ??  DLJ    0:00.01 bounce -z -n defer -t unix -u
pluto# ps ax -O ppid,flags,mwchan | awk '($6 ~ /^D/ || $6 == "STAT") && $3 !~ /^20.$/'
   PID  PPID       F MWCHAN  TT  STAT      TIME COMMAND

----
Marc G. Fournier           Hub.Org Networking Services (http://www.hub.org)
Email . scrappy at hub.org                              MSN . scrappy at hub.org
Yahoo . yscrappy               Skype: hub.org        ICQ . 7615664


More information about the freebsd-stable mailing list