Name Date Size

.. 2012-09-27 22:40:20 8

Apps 2012-09-27 22:40:18 7

Bin 2012-09-27 22:40:19 232

Code 2012-09-27 22:40:18 11

Cpu 2012-09-27 22:40:20 12

dexplorer 2012-09-27 22:40:18 13.3 KiB

Disk 2012-09-27 22:40:20 10

Docs 2012-09-27 22:40:19 13

dtruss 2012-09-27 22:40:18 16.3 KiB

dvmstat 2012-09-27 22:40:19 6 KiB

errinfo 2012-09-27 22:40:20 4.2 KiB

Examples 2012-09-27 22:40:19 235

execsnoop 2012-09-27 22:40:18 4.9 KiB

FS 2012-09-27 22:40:19 8

Guide 2012-09-27 22:40:18 3 KiB

hotkernel 2012-09-27 22:40:19 3.1 KiB

hotuser 2012-09-27 22:40:19 3.6 KiB

Include 2012-09-27 22:40:18 6

install 2012-09-27 22:40:18 4.2 KiB

iopattern 2012-09-27 22:40:20 6.5 KiB

iosnoop 2012-09-27 22:40:18 11.8 KiB

iotop 2012-09-27 22:40:20 11.5 KiB

Java 2012-09-27 22:40:20 21

JavaScript 2012-09-27 22:40:18 17

Kernel 2012-09-27 22:40:18 15

License 2012-09-27 22:40:18 19.7 KiB

Locks 2012-09-27 22:40:19 4

Man 2012-09-27 22:40:19 4

Mem 2012-09-27 22:40:18 13

Misc 2012-09-27 22:40:20 6

Net 2012-09-27 22:40:18 14

Notes 2012-09-27 22:40:18 21

opensnoop 2012-09-27 22:40:18 7 KiB

Perl 2012-09-27 22:40:19 15

Php 2012-09-27 22:40:19 15

Proc 2012-09-27 22:40:19 32

procsystime 2012-09-27 22:40:18 6.2 KiB

Python 2012-09-27 22:40:18 17

README 2012-09-27 22:40:18 3 KiB

Ruby 2012-09-27 22:40:18 20

rwsnoop 2012-09-27 22:40:18 5.6 KiB

rwtop 2012-09-27 22:40:18 6.3 KiB

Shell 2012-09-27 22:40:18 18

Snippits 2012-09-27 22:40:20 4

statsnoop 2012-09-27 22:40:18 8 KiB

System 2012-09-27 22:40:18 7

Tcl 2012-09-27 22:40:18 18

User 2012-09-27 22:40:18 4

Version 2012-09-27 22:40:18 40

Zones 2012-09-27 22:40:19 4

README

Guide - Guide to the DTraceToolkit
How to get started, and a table of contents.
QuickStart
1. The top most useful scripts are in this directory.
2. Try running them with "-h". Eg, "./execsnoop -h".
3. Read Docs/Contents for a full list of scripts.
QuickStart-by-Screenshot
1. Look through the examples in the Examples directory until
you see an output you like
2. Find the script and run it
3. Look for its man page in Man
Not-so-QuickStart
1. Welcome!
2. Check the Table of Contents below to become famaliar with the
directory structure of the DTraceToolkit.
3. See Docs/Faq for any initial questions.
4. Read Docs/Contents for a list of scripts.
5. Read Docs/Readme to see where scripts are documented.
6. Check Docs/Links for further DTrace.
7. Once famaliar with the toolkit, the following may be useful to
add to your shell initialisation file,
PATH=$PATH:/opt/DTT/Bin
MANPATH=$MANPATH:/opt/DTT/Man
in this case assuming the toolkit was installed in /opt/DTT.
Installation
1. Run ./install
This will replace any existing version of the DTraceToolkit
with this one. It will prompt. Final install location is
printed by this install script.
Table of Contents
DTraceToolkit-X.XX/
Bin/ Symlinks to all the scripts
Apps/ Application specific scripts
Cpu/ Scripts for CPU analysis
Code/ Example code to practise on
Disk/ Scripts for disk I/O analysis
Docs/ Documentation
Contents Command list for the Toolkit
Faq Frequently asked questions
Links Further DTrace links
Readme Readme for using the docs
Examples/ Examples of command usage
Guide This file!
Include/ DTrace include files
Java/ Scripts for tracing Java
JavaScript/ Scripts for tracing JavaScript
Kernel/ Scripts for kernel analysis
License The CDDL license
Locks/ Scripts for lock analysis
Man/ Man pages
man1m/ Man pages for the Toolkit commands
Mem/ Scripts for memory analysis
Misc/ Misc scripts
Net/ Scripts for network analysis
Notes/ Notes on Toolkit commands
Perl/ Scripts for tracing Perl
Php/ Scripts for tracing Php
Proc/ Scripts for process analysis
Python/ Scripts for tracing Python
Ruby/ Scripts for tracing Ruby
Shell/ Scripts for tracing Shell languages
Snippits/ Snippits of D scripting
System/ Scripts for system analysis
Tcl/ Scripts for tracing Tcl
User/ Scripts for user based activity analysis
Zones/ Scripts for analysis by zone
Version DTraceToolkit version
install Install script, use for installs only
When you type ls in the DTraceToolkit, you will be looking at the top ten
or so most useful scripts plus the top level directories. Other scripts have
been placed in meaningful subdirectories, such as Disk, Kernel, Proc, etc.
An optional Bin directory has been provided that links to all the scripts.
The DTraceToolkit is released under the CDDL license. It's the same open
source license that OpenSolaris has been released under.
Thank you for using the DTraceToolkit!