G''Day Folks, I''ve began writing a DTrace FAQ, in a style borrowed from the Zones FAQ. http://www.opensolaris.org/os/community/dtrace/FAQ/ The page is currently marked as "hidden". If noone disagrees with having such an FAQ on our DTrace site, I''ll unhide it after adding a few more answers. I''ll also begin soliciting extra questions and answers to add. :) cheers, Brendan
Good morning Brendan, I know you said you were _going_ to solicit additional FAQ content, so I''ll go ahead and put my 2 cents worth. We need some place to document the features of DTrace that have been added since the release of the DTrace Guide. Would the FAQ be a possibility? Chip Brendan Gregg wrote:> G''Day Folks, > > I''ve began writing a DTrace FAQ, in a style borrowed from the Zones FAQ. > > http://www.opensolaris.org/os/community/dtrace/FAQ/ > > The page is currently marked as "hidden". If noone disagrees with having > such an FAQ on our DTrace site, I''ll unhide it after adding a few more > answers. I''ll also begin soliciting extra questions and answers to add. :) > > cheers, > > Brendan > > _______________________________________________ > dtrace-discuss mailing list > dtrace-discuss at opensolaris.org >
> I''ve began writing a DTrace FAQ, in a style borrowed from the Zones FAQ. > > http://www.opensolaris.org/os/community/dtrace/FAQ/Looks like a great start -- I especially like the answer to the first question. ;) It''s too bad this can''t be a Wiki (OpenSolaris folks: are you lurking?), but I think everyone should consider this thread to be the channel to contribute to the FAQ: if you have a question (and/or answer), send it here to get it added. Also, another resource to link to is our "Tips, Tricks and Gotchas" presentation: http://blogs.sun.com/roller/resources/bmc/dtrace_tips.pdf (This should also be linked to on the DTrace community page; I''ll get it added.) If we don''t want to link to it in the FAQ, perhaps the slides should be made into FAQ entries -- certainly many of the "Gotchas" are FAQs... - Bryan -------------------------------------------------------------------------- Bryan Cantrill, Solaris Kernel Development. http://blogs.sun.com/bmc
> > I''ve began writing a DTrace FAQ, in a style borrowed from the Zones FAQ. > > > > http://www.opensolaris.org/os/community/dtrace/FAQ/ > > Looks like a great start -- I especially like the answer to the first > question. ;) It''s too bad this can''t be a Wiki (OpenSolaris folks: > are you lurking?)This _would_ be great as a wiki. Have added a page to the OpenSolaris Wiki at Genunix and copied some of the FAQ questions over. Think it would make sense to move the FAQ to the wiki, make it easier for people to contribute and link to it from opensolaris.org. http://www.genunix.org/wiki/index.php/DTrace_FAQ I can help out if we decide to move the FAQ to the wiki. Venky.
G''Day Venky, On Wed, 2 Aug 2006, Venky wrote:> > > I''ve began writing a DTrace FAQ, in a style borrowed from the Zones FAQ. > > > > > > http://www.opensolaris.org/os/community/dtrace/FAQ/ > > > > Looks like a great start -- I especially like the answer to the first > > question. ;) It''s too bad this can''t be a Wiki (OpenSolaris folks: > > are you lurking?) > > This _would_ be great as a wiki. Have added a page to the > OpenSolaris Wiki at Genunix and copied some of the FAQ questions > over. Think it would make sense to move the FAQ to the wiki, make > it easier for people to contribute and link to it from > opensolaris.org. > > http://www.genunix.org/wiki/index.php/DTrace_FAQ > > I can help out if we decide to move the FAQ to the wiki.I''m updating the wiki now - I like the way it looks, and the automated TOC will save us some time. (thank goodness I posted sooner rather than later, as I didn''t spend so much time coding the other page. :)>From my quick look, I''m happy with this wiki being *the* DTrace FAQlocation. If anyone has opinions on this, please share. I welcome people helping out with this. If you can think of a useful FAQ and are certain that it is correct, you could add directly; if you are slightly unsure about an addition, please post to this list first. cheers, Brendan
> > This _would_ be great as a wiki. Have added a page to the > > OpenSolaris Wiki at Genunix and copied some of the FAQ questions > > over. Think it would make sense to move the FAQ to the wiki, make > > it easier for people to contribute and link to it from > > opensolaris.org. > > > > http://www.genunix.org/wiki/index.php/DTrace_FAQ > > > > I can help out if we decide to move the FAQ to the wiki. > > I''m updating the wiki now - I like the way it looks, and the automated TOC > will save us some time. (thank goodness I posted sooner rather than later, > as I didn''t spend so much time coding the other page. :) > > >From my quick look, I''m happy with this wiki being *the* DTrace FAQ > location. If anyone has opinions on this, please share.Agreed -- thanks, Genunix folks! (And thanks Brendan for getting such a good start!)> I welcome people helping out with this. If you can think of a useful > FAQ and are certain that it is correct, you could add directly; if you > are slightly unsure about an addition, please post to this list first.I would say to err on the side of adding a FAQ entry. The beauty of a Wiki is that we can collectively correct mistaken entries -- and the Genunix Wiki has a feature that allows interested parties to get an e-mail whenever a page is modified, so we''ll be able to keep an eye peeled for bogus entries. So add away! - Bryan -------------------------------------------------------------------------- Bryan Cantrill, Solaris Kernel Development. http://blogs.sun.com/bmc
> > I welcome people helping out with this. If you can think of a useful > > FAQ and are certain that it is correct, you could add directly; if you > > are slightly unsure about an addition, please post to this list first. > > I would say to err on the side of adding a FAQ entry. The beauty of a Wiki > is that we can collectively correct mistaken entries -- and the Genunix Wiki > has a feature that allows interested parties to get an e-mail whenever a > page is modified, so we''ll be able to keep an eye peeled for bogus entries. > So add away!I agree. Also, each page on the wiki has its own discussion page which can be used for this. If an entry needs to be deleted, I would recommend moving it to the discussion page and give the person who posted it time to respond. Venky.
For DTrace + Network part, at least this page could help. http://ctg.central.sun.com/wiki/index.php/Dtrace_Networking_Cookbook This message posted from opensolaris.org
Once I thought the code examples(for network) could be organized as this: D scripts/tips for layer 2 drivers; D scripts/tips for IP code; D scripts/tips for TCP/UDP code; D scripts/tips for socket level code; D scripts/tips for whole stack: either top-down or bottom-up Other could be categorized as: For "scheduler", "file system", "VM", etc. If that "Guide" book is more like a manual, then this FAQ probably should be more question-driven, i.e. if you can state your question precisely, then the FAQ should give some hints, or even full solutions. This message posted from opensolaris.org
On Thu, 3 Aug 2006, Alex Peng wrote:> For DTrace + Network part, at least this page could help. > > > http://ctg.central.sun.com/wiki/index.php/Dtrace_Networking_CookbookSigh! Someone with SWAN access will need to copy this over; I''d like to know what the content is. Brendan
Sowmini Varadhan is the author, I will let her know what happens in this mail list. This message posted from opensolaris.org