Using DTrace with Sun Studio Tools to Understand, Analyze, Debug, and Enhance Complex


 
Thread Tools Search this Thread
Operating Systems Solaris Solaris BigAdmin RSS Using DTrace with Sun Studio Tools to Understand, Analyze, Debug, and Enhance Complex
# 1  
Old 06-12-2009
Using DTrace with Sun Studio Tools to Understand, Analyze, Debug, and Enhance Complex

This updated article from May 2008 covers the DTrace utility and its architecture, and how different tools can be used to fix software deficiencies and performance problems.

More...
Login or Register to Ask a Question

Previous Thread | Next Thread

3 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Trying to understand a complex bit of code

Hi, To re-introduce myself, I'm a router guy trying to learn some scripting from the examples in my work place... In a ksh script, one of the script guys wrote the following and I am trying to understand it. I'm hoping someone can explain it to me. The script flow enters a case structure.... (5 Replies)
Discussion started by: Marc G
5 Replies

2. Programming

Debug with VIsual Studio 6, cpp project

Hi, I"m trying to debug one project in VS6 this is cpp ,with source/headers/resource files. I need to start program from terminal with some parameters, e.g. c> feetcmd -a param1 -d param2, now this program going into the loop and the whole PC is frozen, I tried to do TASK_MANAGER/right... (6 Replies)
Discussion started by: trento17
6 Replies

3. Solaris

Enhance Sun Solaris 10 performance ?

Guys where can i find values to add in /etc/system to make sun solaris 10 working better ? im sure there is alot of values but i dont know from where i can find them if you know any please send direct and if you know another sites send links to it, thanks so much. (5 Replies)
Discussion started by: XP_2600
5 Replies
Login or Register to Ask a Question
creatbyproc.d(1m)						   USER COMMANDS						 creatbyproc.d(1m)

NAME
creatbyproc.d - snoop creat()s by process name. Uses DTrace. SYNOPSIS
creatbyproc.d DESCRIPTION
creatbyproc.d is a DTrace OneLiner to print file creations as it occurs, including the name of the process calling the open. This matches file creates from the creat() system call; not all file creation occurs in this way, sometimes it is through open() with a O_CREAT flag, this script will not monitor that activity. Docs/oneliners.txt and Docs/Examples/oneliners_examples.txt in the DTraceToolkit contain this as a oneliner that can be cut-n-paste to run. Since this uses DTrace, only users with root privileges can run this command. EXAMPLES
This prints process names and new pathnames until Ctrl-C is hit. # creatbyproc.d FIELDS
CPU The CPU that recieved the event ID A DTrace probe ID for the event FUNCTION:NAME The DTrace probe name for the event remaining fields The first is the name of the process, the second is the file pathname. DOCUMENTATION
See the DTraceToolkit for further documentation under the Docs directory. The DTraceToolkit docs may include full worked examples with ver- bose descriptions explaining the output. EXIT
creatbyproc.d will run forever until Ctrl-C is hit. AUTHOR
Brendan Gregg [Sydney, Australia] SEE ALSO
dtrace(1M) version 1.00 Jun 11, 2005 creatbyproc.d(1m)