Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 

file (App Engine Virtual Machine Management Service)

 

Syntax

Hierarchy Level

Release Information

Statement introduced in Junos OS Release 15.1F3 for the PTX5000, MX240, MX480, and MX960 routers.

Statement introduced in Junos OS Release 15.1F5 for the MX2010 and MX2020 routers.

Command introduced in Junos OS Release 16.1R4 for the PTX3000 routers.

Note

PTX3000 router supports the Routing and Control Board, RCBPTX.

Description

Trace file information for the Virtual Machine Management Daemon ( vmmd), which communicates with the host OS.

Options

filenameName of the file in which the trace information is stored. By default, the file is created in the /var/log directory.
files number(Optional) Maximum number of trace files. When a trace file reaches the size specified by the size option, the filename is appended with 0 and compressed. For example, when a trace file named trace-file-log reaches size size, it is compressed and renamed as trace-file-log.0.gz. When trace-file-log reaches size size for the second time, trace-file-log.0.gz is renamed as trace-file-log.1.gz and trace-file-log is compressed and renamed as trace-file-log.0.gz. This renaming sheme ensures that the older logs have a greater index number. When number of trace files reaches number, the oldest file is deleted.

If you specify a maximum number of files, you also must specify a maximum file size with the size option and a filename.

Range: 2 through 1000

Default: 10

matchRefine the output to include only those lines that match the given regular expression.
no-world-readableRestrict file access to the user who created the trace files.
sizesizeMaximum size of each trace file . By default, the number entered is treated as bytes. Alternatively, you can include a suffix to the number to indicate 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 option.

Range: 10 KB through 1 GB

Default: 128 KB

world-readableEnable unrestricted file access.

Required Privilege Level

system-control