Changes and displays system trace parameters.
trcctl [ -d Directory -l -L LogfileSize -M LMT_log_dir -N NonrootUserBufferMax -o Logfile -r -T BufferSize ]
Default Buffer Size: 131072
Default Log File Size: 1310720
Default Log File: /var/adm/ras/trcfile
Non-root User Buffer Size Maximum: 1048576
Default Components Directory File: /var/adm/ras/trc_ct
Default LMT Log Dir: /var/adm/ras/mtrcdir
Note that the
default buffer and log file sizes initially depend upon the kernel.
However, once they are set using this command, the effected value
is the same for both kernels. The other parameters allow these default
values to be changed. To change a default value, the user must be
a member of the system group. Many of the flags used with trcctl correspond
to those used by the trace daemon.Item | Description |
---|---|
-d Directory | Specifies the default Component Trace log directory path. The default value is /var/adm/ras/trc_ct. |
-l | Lists the current values. |
-L Value | Specifies the default log file size. The original default value is 1310720 bytes for the 32-bit kernel, and 2621440 bytes for the 64-bit kernel. If specified with -L, the default will apply to both kernels. |
-M LMT_log_dir | Specifies the default Lightweight Memory Trace log directory path. The default value is /var/adm/ras/mtrcdir. |
-N Value | Specifies the maximum buffer size a non-root user may specify. The default is 1 MB, 1048576 bytes. |
-o Path | Specifies the default log file path. The default value is /var/adm/ras/trcfile. |
-r | Restore original default values. |
-T Value | Specifies the default trace buffer size. The original default values are 128 KB and 256 KB for a 32- or 64-bit kernel. If specified with -T, the default will apply to both kernels. |
trcctl -L 10m -N m -T 256k
The user must be a member of the system group.