On Sun, 25 Jun 2006, Dmitry Morozovsky wrote:
On Sun, 25 Jun 2006, Marc G. Fournier wrote:
MGF> > Errm... It seems I turn you to the wrong side... Normal disk-locked
MGF> > processes
MGF> > have DL (DL+) state... Well, then try something like
MGF> >
MGF> > ps ax -O ppid,flags,mwchan | awk '($6 ~ /^D/ || $6 == "STAT") && $3 !~
MGF> > /^20.$/'
MGF>
MGF> Still nothing to show 4 blocked processes (where it is sitting right now):
MGF>
MGF> pluto# ps ax -O ppid,flags,mwchan | awk '($6 ~ /^D/ || $6 == "STAT") && $3
MGF> !~ /^20.$/'
MGF> PID PPID F MWCHAN TT STAT TIME COMMAND
Hmm, which processes are in D state at all, then?
ps ax -O ppid,flags,mwchan | awk '$6 ~ /^D/ || $6 == "STAT"'
# ps ax -O ppid,flags,mwchan | awk '$6 ~ /^D/ || $6 == "STAT"'
PID PPID F MWCHAN TT STAT TIME COMMAND
2 0 204 - ?? DL 0:22.83 [g_event]
3 0 204 - ?? DL 3:13.81 [g_up]
4 0 204 - ?? DL 4:10.38 [g_down]
5 0 204 - ?? DL 0:00.43 [thread taskq]
6 0 204 - ?? DL 0:00.00 [kqueue taskq]
7 0 204 - ?? DL 0:00.00 [acpi_task0]
8 0 204 - ?? DL 0:00.00 [acpi_task1]
9 0 204 - ?? DL 0:00.00 [acpi_task2]
10 0 204 ktrace ?? DL 0:00.00 [ktrace]
15 0 204 - ?? DL 0:37.74 [yarrow]
25 0 204 psleep ?? DL 0:36.57 [pagedaemon]
26 0 204 psleep ?? DL 0:00.00 [vmdaemon]
27 0 20c pgzero ?? DL 6:20.67 [pagezero]
28 0 204 psleep ?? DL 0:07.66 [bufdaemon]
29 0 204 vlruwt ?? DL 0:22.29 [vnlru]
30 0 204 syncer ?? DL 7:19.03 [syncer]
31 0 204 sdflus ?? DL 1:02.41 [softdepflush]
36 0 204 - ?? DL 3:20.45 [schedcpu]
87945 30418 4002 vnread pa DL+ 0:00.00 awk $6 ~ /^D/ || $6 == "STAT"
----
Marc G. Fournier Hub.Org Networking Services (http://www.hub.org)
Email . [EMAIL PROTECTED] MSN . [EMAIL PROTECTED]
Yahoo . yscrappy Skype: hub.org ICQ . 7615664
_______________________________________________
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"