Tutorial: DTrace by Example


 
Thread Tools Search this Thread
Operating Systems Solaris Solaris BigAdmin RSS Tutorial: DTrace by Example
# 1  
Old 10-13-2009
Tutorial: DTrace by Example

This tutorial uses DTrace (Dynamic Tracing), a powerful diagnostic tool, to analyze several applications, emphasizing practical real-world use.

More...
Login or Register to Ask a Question

Previous Thread | Next Thread

3 More Discussions You Might Find Interesting

1. Web Development

Vue JS 2 Tutorial by The Net Ninja: A Recommended Vue.js Video Tutorial Series

A number of people have asked me how to get started with Vue.js and my reply before today was to Google "Vue.js". That has changed and my recommendation to anyone who wants to learn the fastest growing, easiest to learn and use Vue.js web dev framework is to watch this video tutorial series: ... (0 Replies)
Discussion started by: Neo
0 Replies

2. Shell Programming and Scripting

DTRACE help required...

if dtrace -n 'syscall::open*:entry { printf("%i %s %s %s",uid,execname,cwd,copyinstr(arg0)); }' will show me all files that are opened as follows... 3 522 open:entry 0 init / /etc/inittab 3 522 open:entry 0 init /... (5 Replies)
Discussion started by: smurf4568
5 Replies

3. Solaris

PID Provider dtrace script

I'm just starting to mess about with dtrace on Solaris. How do I configure a probe in a PID provider dtrace script to trigger when the process being traced exits? I've tried pid$1:::exit where $1 is the PID but I get 'exit' is an invalid probe name (0 Replies)
Discussion started by: JerryHone
0 Replies
Login or Register to Ask a Question
fasttrap(7D)							      Devices							      fasttrap(7D)

NAME
fasttrap - DTrace user instruction tracing provider DESCRIPTION
The fasttrap driver is a DTrace dynamic tracing provider that performs dynamic instrumentation of arbitrary instructions in Solaris pro- cesses. The fasttrap driver implements the DTrace fasttrap and pid providers. The fasttrap driver is not a public interface and you access instrumentation offered by this provider through DTrace. Refer to the Solaris Dynamic Tracing Guide for a description of the public documented interfaces available for the DTrace facility and the probes offered by the fasttrap provider. SPARC ONLY
The fasttrap provider provides a DTrace probe that fires each time a user process executes an instruction. The pid provider allows for the dynamic creation of DTrace probes corresponding to instruction locations inside any user process specified using a process ID and an instruction address or symbol name. Together these providers permit DTrace users to perform instrumentation of Solaris user processes and to trace the interactions between processes and the operating system. See the chapter entitled "User Process Tracing" in the Solaris Dynamic Tracing Guide for information on how to use these providers to instrument processes. ATTRIBUTES
See attributes(5) for a description of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWdtrp | +-----------------------------+-----------------------------+ |Interface Stability |Private | +-----------------------------+-----------------------------+ SEE ALSO
dtrace(1M), attributes(5), dtrace(7D) Solaris Dynamic Tracing Guide SunOS 5.10 4 Sep 2003 fasttrap(7D)