Gary Brett
2008-Aug-06 14:04 UTC
[dtrace-discuss] "Can''t find include file sys/file.h" on tcpsnoop.d/tcptop etc
Hi there, I am very new to dtrace and decided to download the dtraceToolkit, I headed straight away for the network tools of the toolkit and ran tcpsnoop, and this is what I get ....this happens on all of the network related scripts ...the other stuff i.e. CPU/Mem and disk scripts seems to work fine My box is an x4140 (nge interfaces) running S10-u4 - 127112-10 # ./tcpsnoop "/dev/fd/4", line 18: Can''t find include file sys/file.h "/dev/fd/4", line 19: Can''t find include file inet/common.h "/dev/fd/4", line 20: Can''t find include file sys/byteorder.h "/dev/fd/4", line 21: Can''t find include file sys/socket.h "/dev/fd/4", line 22: Can''t find include file sys/socketvar.h dtrace: failed to compile script /dev/fd/11: Preprocessor failed to process input program Does anybody know where I can start here ? Any help would be great -- This message posted from opensolaris.org
Gary Brett
2008-Aug-06 14:24 UTC
[dtrace-discuss] "Can''t find include file sys/file.h" on tcpsnoop.d/tcptop etc
Please ignore, I have been advised that tcpsnoop and tcptop dont work on Solaris 10...only Nevada Cheers -- This message posted from opensolaris.org
Brendan Gregg - Sun Microsystems
2008-Aug-08 19:10 UTC
[dtrace-discuss] "Can''t find include file sys/file.h" on tcpsnoop.d/tcptop etc
G''Day Gary, On Wed, Aug 06, 2008 at 07:24:16AM -0700, Gary Brett wrote:> Please ignore, I have been advised that tcpsnoop and tcptop dont work on Solaris 10...only NevadaThat''s not really true - I''ve used tcpsnoop/tcptop or tcpsnoop_snv/tcptop_snv on Solaris 10 versions in the past. There has been many discussions here on dtrace-discuss about it. I would have fixed them - but I don''t have a farm of test Solaris servers anymore... :( Brendan -- Brendan [CA, USA]
Brendan Gregg - Sun Microsystems
2008-Aug-08 20:08 UTC
[dtrace-discuss] "Can''t find include file sys/file.h" on tcpsnoop.d/tcptop etc
On Fri, Aug 08, 2008 at 12:10:23PM -0700, Brendan Gregg - Sun Microsystems wrote:> G''Day Gary, > > On Wed, Aug 06, 2008 at 07:24:16AM -0700, Gary Brett wrote: > > Please ignore, I have been advised that tcpsnoop and tcptop dont work on Solaris 10...only Nevada > > That''s not really true - I''ve used tcpsnoop/tcptop or tcpsnoop_snv/tcptop_snv > on Solaris 10 versions in the past. There has been many discussions here on > dtrace-discuss about it. I would have fixed them - but I don''t have a farm > of test Solaris servers anymore... :(Sorry - just realised that was ambiguous. I meant to say I''ve seen these scripts work on some early Solaris 10 versions (like FCS), but not later versions (like s10u4) - which will need fixing (or wait for stable network providers) - and that''s what we''ve discussed recently. cheers, Brendan -- Brendan [CA, USA]