G''Day Vattini,
On Sat, Feb 02, 2008 at 10:35:47AM -0800, vattini giacomo
wrote:> Is there a way under leopard to run dtrace with all is implementation about
networking,if yes how
> and how is it possible to run,the Dtracetoolkit under leopard aswell?the
NET/* doesn''t work at all
> sudo ./tcpsnoop
> /dev/fd/6:19:25: error: inet/common.h: No such file or directory
> /dev/fd/6:20:27: error: sys/byteorder.h: No such file or directory
Hopefully OS version info will be documented in the man page:
/opt/DTT> MANPATH=Man man tcptop
[...]
OS
Solaris 10 3/05
STABILITY
unstable - this script uses fbt provider probes which may
change for future updates of the OS, invalidating this
script. Please read Docs/Notes/ALLfbt_notes.txt for further
details about these fbt scripts.
(I do need to update these OS fields now that MacOS X Leopard has many of
the toolkit scripts working.)
The DTraceToolkit version 0.99 currently has:
tcptop Solaris 10 3/05 era
tcptop_snv Solaris Nevada / OpenSolaris, late 2007
It may make sense to change tcptop and tcpsnoop to be a simple shell script
to print this out. Eg:
/opt/DTT> ./Net/tcptop
There are several versions of tcptop available. Use the version that
corresponds to your OS:
tcptop_s10 Solaris 10 3/05 era
tcptop_snv Solaris Nevada / OpenSolaris, late 2007
tcptop_osx MacOS X
...
I could make "tcptop" automatically identify your OS version and run
the
appropriate script - I''m not sure it is worth the maintenance if these
ultimately are replaced by a single tcptop in the future (using stable
network providers).
Brendan
--
Brendan
[CA, USA]