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 10-1 DTrace Consumer Options
Option Name | Value or Value Type | Default Value | dtrace Command Option | Description | See Chapter |
---|---|---|---|---|---|
|
- | - | - |
Print aggregation as histogram |
|
|
- | - | - |
Print aggregation histograms in packed form |
|
|
time (ns, us, ms, s, hz) |
1 hz | - |
Rate of aggregation reading |
|
|
size (k, m, g, t) |
4 m | - |
Aggregation buffer size |
|
|
- |
- | - |
Sort aggregation by key order with ties broken by value |
|
|
- |
- | - |
Sort aggregation in the reverse order |
|
|
position |
0 | - |
Position of the aggregate variable on which the output is sorted |
|
|
position |
0 | - |
Position of the aggregate key on which the output is sorted |
|
|
- | - | - |
Zoom aggregation histograms to the maximum value |
|
bufpolicy |
fill , ring , switch |
switch |
- | Buffer policy | DTrace Buffers and Buffering |
|
|
auto |
- |
Buffer resizing policy |
|
|
size |
4 m |
|
Principal buffer size |
|
|
time |
101 hz | - |
Cleaning rate |
|
|
integer |
- |
|
CPU on which to enable tracing |
|
|
- |
- | - |
Allow references to unspecified macro arguments |
|
|
- |
- |
|
Allow destructive actions |
|
|
size |
1 m | - |
Dynamic variable space size |
|
|
integer |
1 | - |
Exit on error with a specified status code. However, if no arguments are specified, exits with the status code 1. |
|
|
- |
- |
|
Indent function entry and prefix with >; unindent function return and prefix with < |
|
|
- |
- |
|
Claim anonymous state |
|
|
integer |
50 | - |
Number of default stack frames jstack |
|
|
integer |
512 | - |
Default string space size for jstack |
|
|
- |
- | - |
Alias for |
|
|
integer |
1 | - |
Number of speculations |
|
|
- |
- |
|
Output only explicitly traced data |
|
|
- |
- | - |
Always print tracemem output in hexadecimal |
|
|
size |
32 k | - |
Speculation buffer size |
|
|
size |
256 | - |
String size |
|
|
integer |
20 | - |
Number of stack frames |
|
|
integer |
14 | - |
Number of whitespace characters to use when indenting stack and ustack output |
|
|
time |
10 s | - |
Rate of status checking |
|
|
time |
1 hz | - |
Rate of buffer switching |
|
|
|
symbol |
- |
Modify resolution of user addresses |
|
|
integer |
20 | - |
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.