DTrace

2:34 am General

Man, twice in a single day that I’ve been totally impressed with DTrace, and two posts from Brendan –

  • A proposal for a DTrace Network Provider, net, so you can do funky things like –
    # dtrace -n 'tcp:::receive /args[2]->tcp_dport == 80/ {
            @pkts[args[1]->ip_daddr] = count();
    }'
    dtrace: description 'tcp:::receive' matched 1 probe
    ^C
    
      192.168.1.8                                                       9
      fe80::214:4fff:fe3b:76c8                                         12
      192.168.1.51                                                     32
      10.1.70.16                                                       83
      192.168.7.3                                                     121
      192.168.101.101                                                 192
    
  • DTrace meets Javascript, building on top of the Spider Monkey JavaScript Engine.

All hail Brendan, new overlord of DTrace! Rad!

Comments are closed.