Go to main content

Oracle® Solaris 11.4 DTrace (Dynamic Tracing) Guide

Exit Print View

Updated: September 2020
 
 

Consumer Options

DTrace is tuned by setting or enabling options. The available options are described in the following table. For more information, see the dtrace(8) man page.

Table 19  DTrace Consumer Options
Type
Value
dtrace(8) Alias
Description
See Chapter
agghist
Print aggregation as histogram
aggpack
Print aggregation histograms in packed form
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
aggzoom
Zoom aggregation histograms to the maximum value
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
noresolve
-
Alias for uresolve=no.
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
uresolve
no, symbol, basename, absolute
Modify resolution of user addresses
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.