On Nov 28, 2007, at 5:46 AM, Robert Watson wrote:


On Wed, 28 Nov 2007, Skip Ford wrote:

Skip Ford wrote:
Robert Watson wrote:
On Wed, 28 Nov 2007, Skip Ford wrote:

- "-a" now means "all processes",

Thanks. :-) I'm a little surprised. You seemed pretty dedicated to a per-process tool.

I was, but then I read your e-mail and became convinced that the first patch that would be submitted against procstat(1) would be a "-a" patch. :-)

Yep, would've happened. Now the first patch submitted will be a "- w interval" patch... :-)

I couldn't resist implementing a crude interval arg just for kicks. Here's the output of find(1) every second. This is so cool:

Very neat :-). If you like this, you'll love DTrace, which allows you to do all sorts of things along these lines. I'll add a -w mode, but be aware that if you want to do the below, what you really want is DTrace :-), which allows you do do things like sample kernel stack traces on the clock timer, based on function invocations, etc, so you can do things like say "sample all the paths to a particular kernel function". Now that John is updating DTrace again, I hope that we'll be seeing it in the 8-CURRENT source RSN.

Robert N M Watson
Computer Laboratory
University of Cambridge

Sorry, just a bit off topic

Have the licensing issues been resolved with regards to DTrace? This is a feature I was looking forward to in 7.0-RELEASE but it had been delayed because of the licensing.

Bert JW Regeer

Reply via email to