---
title: "DTrace相关"
author: "calmhawk"
date: "2011-02-17T11:01:17Z"
tags: []
categories: ["操作系统"]
slug: "dtrace"
draft: false
lastmod: "2011-03-29T17:18:30Z"
id: 908486
url: "https://calmhawk.iteye.com/blog/908486"
---

最近在看DTrace,记录下点滴:  
文档推荐:  
1.入门:[DTrace Quick Start Guide: Observing Native and Web Applications in Production (PDF)](http://hub.opensolaris.org/bin/download/Community+Group+edu/nocost_resources/DTRACEGSG.pdf)  
2.循序渐进:Learning DTrace Series  
    * Part 1: [Introduction (pdf)](http://www.laurustech.com/tech_paper.asp?ID=100) *  
    * Part 2: [Scripts and the D Language](http://www.laurustech.com/tech_paper.asp?ID=101) (pdf) *  
    * Part 3: [Advanced Scripting and Aggregations](http://www.laurustech.com/tech_paper.asp?ID=102) (pdf) *  
    * Part 4: [Solving Everyday Problems](http://www.laurustech.com/tech_paper.asp?ID=103) (pdf) *  
    * Part 5: [Completing the Picture](http://www.laurustech.com/tech_paper.asp?ID=104) (pdf) *  
看完以上就可以有点想法了.想精进,再加上以下:  
3.完整的Reference Guild:[Solaris Dynamic Tracing Guide](/admin/blogs/908486/www.sun.com/bigadmin/content/dtrace/d10_latest.pdf)  
4.DTrace实例:[DTraceToolkit](http://hub.opensolaris.org/bin/view/Community+Group+dtrace/dtracetoolkit)

其它:  
据说装了BrandZ以后就能在Linux下用DTrace,[Google Dtrace Linux第一篇](http://blogs.sun.com/ahl/entry/dtrace_for_linux) ,未尝试...  
找到一个号称Linux下的DTrace:http://sourceware.org/systemtap/  
以及Port到Linux下的DTrace:http://www.crisp.demon.co.uk/blog/