Oracle® Solaris 11.2 Dynamic Tracing Guide

Exit Print View

Updated: July 2014
 
 

Consumer Options

DTrace is tuned by setting or enabling options. The available options are described in the table below. For some options, dtrace(1M) provides a corresponding command-line option.

Table 10-1  DTrace Consumer Options
Option Name
Value
dtrace(1M) Alias
Description
See Chapter
aggrate
time
Rate of aggregation reading
aggsize
size
Aggregation buffer size
aggsortkey
Sort aggregation by key order with ties broken by value
aggsortrev
Sort aggregation in the reverse order
aggsortpos
position
Position of the aggregate variable on which the output is sorted
aggsortkeypos
position
Position of the aggregate key on which the output is sorted
bufresize
auto or manual
Buffer resizing policy
bufsize
size
-b
Principal buffer size
cleanrate
time
Cleaning rate
cpu
scalar
-c
CPU on which to enable tracing
defaultargs
Allow references to unspecified macro arguments
destructive
-w
Allow destructive actions
dynvarsize
size
Dynamic variable space size
errexit
scalar
Exit on error with a specified status code. However, if no arguments are specified, exits with the status code 1.
flowindent
-F
Indent function entry and prefix with >; unindent function return and prefix with <
grabanon
-a
Claim anonymous state
jstackframes
scalar
Number of default stack frames jstack
jstackstrsize
scalar
Default string space size for jstack
nspec
scalar
Number of speculations
quiet
-q
Output only explicitly traced data
rawbytes
Always print tracemem output in hexadecimal
specsize
size
Speculation buffer size
strsize
size
String size
stackframes
scalar
Number of stack frames
stackindent
scalar
Number of whitespace characters to use when indenting stack and ustack output
statusrate
time
Rate of status checking
switchrate
time
Rate of buffer switching
ustackframes
scalar
Number of user stack frames

Values that denote sizes may be given an optional suffix of k, m, g, or t to denote kilobytes, megabytes, gigabytes, and terabytes respectively. Values that denote times may be given an optional suffix of ns, us, ms, s or hz to denote nanoseconds, microseconds, milliseconds, seconds, and number-per-second, respectively.