Re: DTrace network providers

2013-08-25 Thread Mark Johnston
On Thu, Aug 22, 2013 at 11:07:07PM -0700, Yuri wrote: On 08/22/2013 15:30, Mark Johnston wrote: My apologies! It looks like r254523 introduced a conflict. r254468 is a minimum dependency. I'd suggest trying again with r254523 or later. I don't know what the problem is, but I tried on

Re: DTrace network providers

2013-08-23 Thread Yuri
On 08/22/2013 15:30, Mark Johnston wrote: My apologies! It looks like r254523 introduced a conflict. r254468 is a minimum dependency. I'd suggest trying again with r254523 or later. I don't know what the problem is, but I tried on r254523 and on the later r254677, and am getting build error

Re: DTrace network providers

2013-08-23 Thread hiren panchasara
in the links above will work properly on FreeBSD with my diff. I've collected a bunch of example scripts for these providers and placed them here: http://people.freebsd.org/~markj/dtrace/network-providers/ To run one you just need to execute dtrace -s script. In general these providers

Re: DTrace network providers

2013-08-22 Thread Kubilay Kocak
/~markj/dtrace/network-providers/ To run one you just need to execute dtrace -s script. Do you think it might be worth getting this up and polished in the FreeBSD Wiki, hopefully with a view to including it in future documentation? The wiki might also be a good place to give the community a high

Re: DTrace network providers

2013-08-22 Thread George Neville-Neil
/dtrace/network-providers/ To run one you just need to execute dtrace -s script. In general these providers make it trivial to monitor or count packets and bytes on a per-host/port/protocol/interface basis. One can also do neat things like watch TCP connection state transitions in real time

Re: DTrace network providers

2013-08-22 Thread hiren panchasara
of example scripts for these providers and placed them here: http://people.freebsd.org/~markj/dtrace/network-providers/ To run one you just need to execute dtrace -s script. In general these providers make it trivial to monitor or count packets and bytes on a per-host/port/protocol

Re: DTrace network providers

2013-08-22 Thread Yuri
On 08/20/2013 22:00, Mark Johnston wrote: The patch is here: http://people.freebsd.org/~markj/patches/network-providers/network-providers-1.diff It depends on r254468. To use it, just recompile the kernel (assuming Your patch fails to apply, see below. I use clean r254468 as you suggested.

Re: DTrace network providers

2013-08-22 Thread Mark Johnston
On Thu, Aug 22, 2013 at 6:05 PM, Yuri y...@rawbw.com wrote: On 08/20/2013 22:00, Mark Johnston wrote: The patch is here: http://people.freebsd.org/~**markj/patches/network-**

Re: DTrace network providers

2013-08-22 Thread hiren panchasara
On Thu, Aug 22, 2013 at 3:05 PM, Yuri y...@rawbw.com wrote: On 08/20/2013 22:00, Mark Johnston wrote: The patch is here: http://people.freebsd.org/~markj/patches/network-providers/network-providers-1.diff It depends on r254468. To use it, just recompile the kernel (assuming Your patch

Re: DTrace network providers

2013-08-21 Thread Brendan Gregg
://people.freebsd.org/~markj/dtrace/network-providers/ They look familiar. :-) Which is a good sign for this port, as that's what's supposed to happen: the same scripts run on any OS. To run one you just need to execute dtrace -s script. Or chmod 755 the ones with interpreter lines. In general

Re: DTrace network providers

2013-08-21 Thread Mark Johnston
collected a bunch of example scripts for these providers and placed them here: http://people.freebsd.org/~markj/dtrace/network-providers/ They look familiar. :-) Which is a good sign for this port, as that's what's supposed to happen: the same scripts run on any OS. Yep - by collect I

DTrace network providers

2013-08-20 Thread Mark Johnston
. In particular, all of the examples in the links above will work properly on FreeBSD with my diff. I've collected a bunch of example scripts for these providers and placed them here: http://people.freebsd.org/~markj/dtrace/network-providers/ To run one you just need to execute dtrace -s script