Re: Updated procstat(1)




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



Relevant Pages

  • Re: dtrace and xorg-server problem on -current
    ... I get this weird building problem with xorg-server on -current with ... after I have tried John Birrel's dtrace enabled snapshot in february. ... ok, I've confirmed that /usr/sbin/dtrace is the latest and tried your patch, ... on freebsd-side in a reasonable time? ...
    (freebsd-current)
  • Re: dtrace and xorg-server problem on -current
    ... very recent dtrace import, then try the following patch to the ... I had the same problem as Jiawei with a clean, up to date system, and your patch worked for me as well. ...
    (freebsd-current)
  • Re: Non-GPL export of invalidate_mmap_range
    ... On Tuesday 17 February 2004 19:19, Andrew Morton wrote: ... > I don't see any licensing issues with the patch because the filesystem ... what concerns issues remain with Paul's patch? ... send the line "unsubscribe linux-kernel" in ...
    (Linux-Kernel)
  • Re: CALs Windows 2003 Server, Users are getting license from Temporary pack and not from the CAL Tok
    ... never install a patch for a problem that you don't have! ... If there are no Events in the EventLog on the TS, the licensing mode ... on the terminal server is Per User, ...
    (microsoft.public.win2000.termserv.apps)
  • Re: Updated procstat(1)
    ... patch that would be submitted against procstatwould be a "-a" patch. ... 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. ...
    (freebsd-hackers)