i all:
I want to use the disklatency.d
(https://github.com/brendangregg/DTrace-book-scripts/blob/master/Chap4/disklatency.d)
to analyse the disk usage on Solaris. But after running the script, I can't
use "Ctrl + C" to end the script:
bash-3.2# ./disklatency.d
Tracing... Hit Ctrl-C to end.
^C
So I use pstack command try to analyse it:
bash-3.2# ps -ef | grep diskla
root 13758 13691 0 18:30:50 pts/3 0:00 /usr/sbin/dtrace -s
./disklatency.d
root 13764 13700 0 18:31:06 pts/2 0:00 grep diskla
bash-3.2# pstack 13758
13758: /usr/sbin/dtrace -s ./disklatency.d
fffffd7fff17d207 lwp_park (0, fffffd7fffdff780, 0)
fffffd7fff176dc9 cond_wait_queue () + 59
fffffd7fff1771b7 cond_wait_common () + 1b7
fffffd7fff177550 _cond_reltimedwait () + 20
fffffd7fff177590 cond_reltimedwait () + 30
fffffd7fff1775d9 pthread_cond_reltimedwait_np () + 9
fffffd7fff2fe8b3 dtrace_sleep () + 103
0000000000405fec main () + 95c
0000000000402d7c _start () + 6c
It seems the dtrace program is dead-lock. Could anyone can help me?
Thanks very much in advance!
Best Regards
Nan Xiao
-------------------------------------------
dtrace-discuss
Archives: https://www.listbox.com/member/archive/184261/=now
RSS Feed: https://www.listbox.com/member/archive/rss/184261/25769126-e243886f
Modify Your Subscription:
https://www.listbox.com/member/?member_id=25769126&id_secret=25769126-8d47a7b2
Powered by Listbox: http://www.listbox.com