G''Day Folks, I''ve just uploaded the lastest build of the DTraceToolkit. Download it here: http://www.opensolaris.org/os/community/dtrace/dtracetoolkit/ 12 scripts have been added and 46 scripts were updated - this is a BIG revision. Since there have been so many new changes, I''m holding the version number below 1.00 until the dust has settled (I was keeping version number equal to the script count, however I''ll hold back on that for a while). This is the first rev to include a few scripts written by other people - Richard McDougall and Jonathan Adams, who can both write DTrace well and more importantly, have an exceptional understanding of subtle kernel nuances. Stefan Parvu helped out with platform testing, which is crucial. Some of the tcp scripts had began not working on newer builds (since they are fbt based, and fbt is not a stable interface (and not supposed to be)). They have been fixed (for now!)." ... I did make a quick update to swapinfo.d, which (so far) has solved the "Disk Used" error people were seeing. I still need to spend FAR more time reading code and testing, and I want to draw a diagram to explain all the choosen terms (much of the VM confusion is over the terminology used). One of the new scripts seems like nothing remarkably new (as there have been scripts like it before) but the example output I collected is fantastic: # ./priclass.d Sampling... Hit Ctrl-C to end. ^C IA value ------------- Distribution ------------- count 40 | 0 50 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 30 60 | 0 SYS value ------------- Distribution ------------- count < 0 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 4959 0 | 0 10 | 0 20 | 0 30 | 0 40 | 0 50 | 0 60 | 30 70 | 0 80 | 0 90 | 0 100 | 0 110 | 0 120 | 0 130 | 0 140 | 0 150 | 0 160 | 50 >= 170 | 0 RT value ------------- Distribution ------------- count 90 | 0 100 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 110 110 | 0 TS value ------------- Distribution ------------- count < 0 | 0 0 |@@@@@@@@@@@@@@@ 2880 10 |@@@@@@@ 1280 20 |@@@@@ 990 30 |@@@@@ 920 40 |@@@@ 670 50 |@@@@ 730 60 | 0 It samples thread priorities by scheduling class, and that one sample output illustrates many distinct scheduling characteristics. I''ve discussed it in the example file, Docs/Examples/priclass_example.txt. Enjoy, Brendan [Sydney, Australia]
On Wed, 26 Apr 2006, Brendan Gregg wrote:> 12 scripts have been added and 46 scripts were updated - this is a BIG > revision. Since there have been so many new changes, I''m holding the > version number below 1.00 until the dust has settled (I was keeping > version number equal to the script count, however I''ll hold back on that > for a while).I looked through the Readme and History files to see which scripts were added, but wasn''t able to locate anything. Would it be possible to add a "What''s New" section in the History file? In case folks are interested, here is the list of new scripts in 0.96: crash.d crashed application report fspaging.d file system read/write and paging tracing fsrw.d file system read/write event tracing kstat_types.d trace kstat reads with type info pfilestat.d show I/O latency break down by FD priclass.d priority distribution by scheduling class rfsio.d read FS I/O stats, with cache miss rate rfileio.d read file I/O stats, with cache miss rate runocc.d run queue occupancy by CPU stacksize.d measure stack size for running threads vopstat vnode interface statistics whatexec.d examine the type of files executed Thanks for the cool scripts!!!!! - Ryan -- UNIX Administrator http://daemons.net/~matty
G''Day Matty, On Tue, 25 Apr 2006, Matty wrote:> > On Wed, 26 Apr 2006, Brendan Gregg wrote: > > > 12 scripts have been added and 46 scripts were updated - this is a BIG > > revision. Since there have been so many new changes, I''m holding the > > version number below 1.00 until the dust has settled (I was keeping > > version number equal to the script count, however I''ll hold back on that > > for a while). > > I looked through the Readme and History files to see which scripts > were added, but wasn''t able to locate anything. Would it be possible to > add a "What''s New" section in the History file? In case folks are > interested, here is the list of new scripts in 0.96: > > crash.d crashed application report > fspaging.d file system read/write and paging tracing > fsrw.d file system read/write event tracing > kstat_types.d trace kstat reads with type info > pfilestat.d show I/O latency break down by FD > priclass.d priority distribution by scheduling class > rfsio.d read FS I/O stats, with cache miss rate > rfileio.d read file I/O stats, with cache miss rate > runocc.d run queue occupancy by CPU > stacksize.d measure stack size for running threads > vopstat vnode interface statistics > whatexec.d examine the type of files executedGood idea - I''ve just been using the History file to note why I''ve been tweaking things, but I should incorporate a clear list of the new scripts. thanks! Brendan