vmstat 'b' (disk busy?) field keeps climbing ...
Dmitry Morozovsky
marck at rinet.ru
Sun Jun 25 12:56:55 UTC 2006
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 at rinet.ru ***
------------------------------------------------------------------------
More information about the freebsd-stable
mailing list