vattini giacomo writes:
> Hi there sorry about my ignorance,reading the NETWORK dtrace provider i tried 
> some oneliners scripts,
> but i think is not working on my System
> $name -a=SunOS opensolaris 5.11 snv_101b i86pc i386 i86pc Solaris
> dtrace -n 'tcp:::receive { @[args[2]->ip_saddr] = count(); }'
> running this command i do not have any response, as 
> dtrace: invalid probe specifier tcp:::receive { @[args[2]->ip_saddr] = 
> count(); }: probe description tcp:::receive does not match any probes
> any clue?

It's a little tough, but this will do roughly the same job:

dtrace -n 'ip:::receive/args[2]->ip_ver==4&&args[4]->ipv4_protocol==6/ { 
@[args[2]->ip_saddr] = count(); }'

You might also want to look at the tcp-trace-* sdts; see
/usr/demo/dtrace/tcprst.d.

-- 
James Carlson, Solaris Networking              <james.d.carl...@sun.com>
Sun Microsystems / 35 Network Drive        71.232W   Vox +1 781 442 2084
MS UBUR02-212 / Burlington MA 01803-2757   42.496N   Fax +1 781 442 1677
_______________________________________________
dtrace-discuss mailing list
dtrace-discuss@opensolaris.org

Reply via email to