traceoptions (Resource Cleanup)
Syntax
Hierarchy Level
Release Information
Statement introduced in Junos OS Release 9.3.
Description
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 file statement, you must specify a filename. |
files number | — | (Optional) Maximum number of trace files. When a trace file named trace-file reaches its maximum size, it is renamed trace-file.0, then trace-file.1, and so on, until the maximum number of trace files is reached. Then the oldest trace file is overwritten. If you specify a maximum number of files, you also must specify a maximum file size with the size option. |
flag flag | — | Specify which tracing operation to perform. To specify more than one tracing operation, include multiple flag statements. You can include the following flags:
|
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 files number option. |
Syntax: xk to specify KB, xm to specify MB, or xg to 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 root user and users who have the Junos maintenance permission. |
Required Privilege Level
trace—To view this statement in the configuration.
trace-control—To add this statement to the configuration.