[dtrace-discuss] tcptop/tcpsnoop on Solaris 10

Brendan Gregg - Sun Microsystems brendan at sun.com
Thu Jul 5 11:19:55 PDT 2007


G'Day Gerhard,

On Thu, Jul 05, 2007 at 07:54:37PM +0200, Gerhard Strangar wrote:
> High,
> 
> I did some experiments with dtrace and stumbled across DTraceToolkit,
> where tcpsnoop and tcptop are my favourites.

Glad you like them. tcpsnoop/tcptop are the tip of the iceberg - there
are dozens of fascinating and useful scripts I'd like to write in this
field - but I've choosen not to until stable providers exist.

Those scripts rely on the fbt provider which (for unavoidable reasons) is
an unstable interface. As the kernel changes (between minor releases and
patches), fbt chages; and as fbt changes, tcpsnoop/tcptop break. It has
happened several times in the past 3 years, and will keep happening.

I'm currently working on stable net providers which will allow tcptop/tcpsnoop
(and LOADS more such scripts) to be written in a *much* more stable way.

I'm sorry that these have broken, again; I've taken one look at what it
would take to fix them for this build, and I'll probably take another look
soon. The future should be much brighter - once stable providers are
integrated.

cheers,

Brendan

-- 
Brendan
[CA, USA]


More information about the dtrace-discuss mailing list