Hi Angelo,

> This scripts works for me. I tried it on a Solaris 11 Express x86
> machine. 
> 
> You can always catch it a little early. For example when the open system
> call happens.
...
> BTW, I have no idea what the side effects are for doing stuff like this.
> So please be careful using these types of scripts in production.

Thank you for your reply. My script works now for me. It did not caught the 
exec probe, because my shell never tried to exec() the script :)
The ksh does a stat() before exec() and the script was simply not there...so 
ksh bailed out before exec() :) My fault..

Thanks for all other replies,

Olaf 
_______________________________________________
dtrace-discuss mailing list
dtrace-discuss@opensolaris.org

Reply via email to