OpenSolaris

You are not signed in. Sign in or register.

OpenSolaris Project: Chime Visualization Tool for DTrace

View the leaders for this project
Project Observers

Endorsing communities

DTrace
Desktop

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 display data over time adds a missing dimension to system observability. Among its recent new features is the ability to display moving averages.

Chime intrstat display Chime intrstat over time

An important feature of Chime is the ability to add new displays without re-compiling (displays are described in XML). A placeholder syntax allows DTrace program values to be substituted behind the scenes, enabling the user of Chime to select from a described range of program modifications 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 modified from Brendan Gregg's DTrace One Liners. Generated displays can be saved, edited in a wizard, documented, and grouped into categories, making them easy to find and run later.

Chime is now available for download. If you create a useful or interesting display, please share it.