Dtrace book (B. Gregg): scripts not working on Solaris 10
Hello,
if I try to run of of Brendan Greggs Dtrace one-liners or scripts, this is not possible, eg.
# dtrace -n 'ip:::receive { @[args[2]->ip_saddr] = count(); }'
dtrace: invalid probe specifier ip:::receive { @[args[2]->ip_saddr] = count(); }: probe description ip:::receive does not match any probes
or
/usr/local/Dtrace/dtbook_scripts/Chap6-NetworkLowerLevelProtocols # ./soconnect.d
dtrace: failed to compile script ./soconnect.d: line 7: failed to resolve AF_INET: Unknown variable name
running on Solaris 10 x86
what might be the reason?
-- Nick