traceoptions (Resource Cleanup)
Syntax
traceoptions {
file filename files number match regex size size (world-readable | no-world-readable);
flag flag;
level level;
no-remote-trace;
}
Hierarchy Level
[edit system processes resource-cleanup]
Description
Enabling tracing can adversely impact scale and performance and may increase security risk. We strongly recommend using the trace, tracing, or traceoptions commands only under the guidance of a JTAC support engineer. After collecting the debug information, immediately disable tracing to minimize risk and restore normal system performance.
Enable debugging tracing for resource cleanup process.
Options
file filename |
Name of the file to receive the output
of the tracing operation. Enclose the name within quotation marks.
To include the |
files number |
(Optional) Maximum number of trace files. When a trace
file named If you specify a maximum number of files, you also
must specify a maximum file size with the |
flag flag |
Specify which tracing operation to perform. To specify
more than one tracing operation, include multiple
|
level level |
Specify the level of debugging output:
|
match regex |
(Optional) Refine the output to include lines that contain the regular expression. |
no-remote-trace |
Disable remote tracing. |
size size |
(Optional) Maximum size of each trace file, in kilobytes
(KB), megabytes (MB), or gigabytes (GB). If you specify a maximum
file size, you also must specify a maximum number of trace files with
the |
Syntax:
xkto specify KB,xmto specify MB, orxgto specify GB
Range: 10 KB through 1 GB
Default: 128 KB
world-readable | no-world-readable |
(Optional). Grant all users permission
to read log files, or restrict the permission only to the |
Required Privilege Level
trace—To view this statement in the configuration.
trace-control—To add this statement to the configuration.
Release Information
Statement introduced in Junos OS Release 9.3.