Hi,

Is it possible to attach dtrace to a single process twice or more times? (with 
different scripts)?

Each time I tried, it fails with the message
"failed to grab pid 13407: process is traced"

I ended up with two simplest scripts

dtrace -n 'END { printf("BYE"); }' -p 13407
dtrace -n 'BEGIN { printf("Hi there"); }' -p 13407

but they failed with the same message.

Does this mean that it is impossible to attach several scripts to a single 
process?
Or do I misunderstand something?

Thank you,
Vladimir
-- 
This message posted from opensolaris.org
_______________________________________________
dtrace-discuss mailing list
dtrace-discuss@opensolaris.org

Reply via email to