Home | History | Annotate | Line # | Download | only in dist
Guide revision 1.1
      1  1.1  christos Guide - Guide to the DTraceToolkit
      2  1.1  christos 
      3  1.1  christos     How to get started, and a table of contents.
      4  1.1  christos 
      5  1.1  christos QuickStart
      6  1.1  christos 
      7  1.1  christos 	1. The top most useful scripts are in this directory.
      8  1.1  christos 	2. Try running them with "-h". Eg, "./execsnoop -h".
      9  1.1  christos 	3. Read Docs/Contents for a full list of scripts.
     10  1.1  christos 
     11  1.1  christos QuickStart-by-Screenshot
     12  1.1  christos 
     13  1.1  christos 	1. Look through the examples in the Examples directory until
     14  1.1  christos 	   you see an output you like
     15  1.1  christos 	2. Find the script and run it
     16  1.1  christos 	3. Look for its man page in Man
     17  1.1  christos 
     18  1.1  christos Not-so-QuickStart
     19  1.1  christos 	
     20  1.1  christos 	1. Welcome!
     21  1.1  christos 	2. Check the Table of Contents below to become famaliar with the
     22  1.1  christos 	   directory structure of the DTraceToolkit.
     23  1.1  christos 	3. See Docs/Faq for any initial questions.
     24  1.1  christos 	4. Read Docs/Contents for a list of scripts.
     25  1.1  christos 	5. Read Docs/Readme to see where scripts are documented.
     26  1.1  christos 	6. Check Docs/Links for further DTrace.
     27  1.1  christos 	7. Once famaliar with the toolkit, the following may be useful to
     28  1.1  christos 	   add to your shell initialisation file,
     29  1.1  christos 		PATH=$PATH:/opt/DTT/Bin
     30  1.1  christos 		MANPATH=$MANPATH:/opt/DTT/Man
     31  1.1  christos 	   in this case assuming the toolkit was installed in /opt/DTT.
     32  1.1  christos 
     33  1.1  christos Installation
     34  1.1  christos 
     35  1.1  christos 	1. Run ./install
     36  1.1  christos 	   This will replace any existing version of the DTraceToolkit
     37  1.1  christos 	   with this one. It will prompt. Final install location is
     38  1.1  christos 	   printed by this install script.
     39  1.1  christos 
     40  1.1  christos Table of Contents
     41  1.1  christos 
     42  1.1  christos    DTraceToolkit-X.XX/
     43  1.1  christos 	Bin/			Symlinks to all the scripts
     44  1.1  christos 	Apps/			Application specific scripts
     45  1.1  christos 	Cpu/			Scripts for CPU analysis
     46  1.1  christos 	Code/			Example code to practise on
     47  1.1  christos 	Disk/			Scripts for disk I/O analysis
     48  1.1  christos 	Docs/			Documentation
     49  1.1  christos 	   Contents		Command list for the Toolkit
     50  1.1  christos 	   Faq			Frequently asked questions
     51  1.1  christos 	   Links		Further DTrace links
     52  1.1  christos 	   Readme		Readme for using the docs
     53  1.1  christos 	Examples/		Examples of command usage
     54  1.1  christos 	Guide			This file!
     55  1.1  christos 	Include/		DTrace include files
     56  1.1  christos 	Java/			Scripts for tracing Java
     57  1.1  christos 	JavaScript/		Scripts for tracing JavaScript
     58  1.1  christos 	Kernel/			Scripts for kernel analysis
     59  1.1  christos 	License			The CDDL license
     60  1.1  christos 	Locks/			Scripts for lock analysis
     61  1.1  christos 	Man/			Man pages
     62  1.1  christos 	   man1m/		Man pages for the Toolkit commands
     63  1.1  christos 	Mem/			Scripts for memory analysis
     64  1.1  christos 	Misc/			Misc scripts
     65  1.1  christos 	Net/			Scripts for network analysis
     66  1.1  christos 	Notes/			Notes on Toolkit commands
     67  1.1  christos 	Perl/			Scripts for tracing Perl
     68  1.1  christos 	Php/			Scripts for tracing Php
     69  1.1  christos 	Proc/			Scripts for process analysis
     70  1.1  christos 	Python/			Scripts for tracing Python
     71  1.1  christos 	Ruby/			Scripts for tracing Ruby
     72  1.1  christos 	Shell/			Scripts for tracing Shell languages
     73  1.1  christos 	Snippits/		Snippits of D scripting
     74  1.1  christos 	System/			Scripts for system analysis
     75  1.1  christos 	Tcl/			Scripts for tracing Tcl
     76  1.1  christos 	User/			Scripts for user based activity analysis
     77  1.1  christos 	Zones/			Scripts for analysis by zone
     78  1.1  christos 	Version			DTraceToolkit version
     79  1.1  christos 	install			Install script, use for installs only
     80  1.1  christos 
     81  1.1  christos When you type ls in the DTraceToolkit, you will be looking at the top ten 
     82  1.1  christos or so most useful scripts plus the top level directories. Other scripts have
     83  1.1  christos been placed in meaningful subdirectories, such as Disk, Kernel, Proc, etc.
     84  1.1  christos 
     85  1.1  christos An optional Bin directory has been provided that links to all the scripts.
     86  1.1  christos 
     87  1.1  christos The DTraceToolkit is released under the CDDL license. It's the same open
     88  1.1  christos source license that OpenSolaris has been released under.
     89  1.1  christos 
     90  1.1  christos Thank you for using the DTraceToolkit!
     91  1.1  christos 
     92