Log-in |

Chime

Chime is a graphical tool for visualizing DTrace aggregations.  It provides an alternative to similar CLI-based tools (such as intrstat) that is more visually appealing and potentially more useful.  In particular, its ability to sort columns arbitrarily and display data over time offers convenience and better visibility of system and application behavior.  

Chime intrstat display
Chime intrstat over time

Chime can display moving averages and has other options such as record and playback. Most recently it adds support for automatic drilldown.  

An important feature of Chime is the ability to add new displays without re-compiling. A display is simply an XML file.  Individual displays can be made more flexible by including macro arguments or prompts that function like script options. Placeholders also allow DTrace program values to be substituted behind the scenes, enabling the user of Chime to see more detail about selected items of interest by choosing from a list of drilldown options without having to know about DTrace. The resulting (modified) programs are displayable, making the tool educational as an added benefit.  Chime can function as a toolkit of canned displays, but also leverages some of the dynamic potential of DTrace to answer unanticipated questions prompted by the current display.  Chime even provides some of the ad hoc capability of dtrace(1M) by allowing you to generate displays directly from the command line using -n or -s to specify a program string or a program file just as you would with the dtrace command:  

% /opt/OSOL0chime/bin/chime -ktn 'sysinfo:::readch { @bytes[execname] = sum(arg0); }' -T "Bytes Read"  

Chime display generated from command line

The above command is from Brendan Gregg's DTrace One Liners, modified to include options for sparklines, a total row, and a title. Generated displays can be saved (-w option), edited in a wizard, documented, and grouped into categories, making them easy to find and run later.  Chime now includes a category with many scripts from the DTraceToolkit.

You can get the latest version of Chime here.  Please send questions, comments, and bug reports to chime dash discuss at opensolaris dot org (subscribe here, or by sending an empty email to chime dash discuss dash subscribe at opensolaris dot org).  This list is also a great way to share displays as attached .xml files.  If you create a display, it will be more useful to others if you provide some explanatory text (specified in the longDescription property) to appear in the Chime window when the display is selected.

last modified by admin on 2009/10/26 12:41
Collectives
Project


© Sun Microsystems Inc. 2009
XWiki Enterprise 1.8.2.19075 - Documentation
Terms Of Use | Privacy | Trademarks | Copyright Policy | Site Guidelines | Site map | Help
Your use of this web site or any of its content or software indicates your agreement to be bound by these Terms of Use.