traceoptions (Process Monitor)
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 process-monitor]
Description
Enable tracing options for the process health monitor process (pmond).
Starting with Junos OS Release 15.1R2, the pmond process is enabled by default on the Routing Engines of MX Series routers, even when no service interfaces are configured.
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:
xk
to specify KB,xm
to specify MB, orxg
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 |
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.0.