... so be kind. I''m just getting into dtrace.
In that context, I picked up this script from the short HOWTO on sun.com:
#!/usr/sbin/dtrace -s
proc:::signal-send
{
printf("%d was sent to %s by ", args[2],
args[1]->pr_fname);
system("getent passwd %d | cut -d: -f5", uid);
}
When executed on my u40 running s10u3, I get this result:
42 # ./allsignals.d
dtrace: script ''./allsignals.d'' matched 1 probe
dtrace: could not enable tracing: Destructive actions not allowed
43 #
which is not the expected result according to the howto.
It would appear to be some kind of permissions problem, but
43 # id
uid=0(root) gid=0(root)
So basically there''s just something I don''t understand (and
potentially a bug in the howto doc.)
Thanks
Charlie Martin
--
Laissez-nous faire, laissez-nous passer.
Le monde va de lui-m?me.