Oracle Solaris Performance, Panics, Hangs, and Dtrace (MOSC)

MOSC Banner

Dtrace book (B. Gregg): scripts not working on Solaris 10

edited Oct 15, 2014 3:19AM in Oracle Solaris Performance, Panics, Hangs, and Dtrace (MOSC) 2 commentsAnswered ✓

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

Tagged:

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center