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 --- [EMAIL PROTECTED] ***
------------------------------------------------------------------------
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"