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