history interval

Enables the generation of history files, and sets how often a new history file is created.

Syntax

[no] history <instance> interval <seconds>

Syntax Description

Keyword
Description

no

(Optional) Removes the interval for the specified instance.

instance

The history instance to be modified. If the specified instance does not exist, it will be created unless the no keyword was also specified. Must be alphanumeric.

seconds

The interval at which a new history file should be created, in seconds. The interval must be specified in order to enable history logging. The minimum interval is 60 seconds.

Defaults

History files are not written by default.

Usage Guidelines

This command enables the generation of history files for the specified instance, and specifies how often, in seconds, the current history file will be closed and a new file started.

The actual interval between files may be longer than specified if there are no events to log immediately after closing the previous history file. This does not apply if the history empty command has been given.

If the no keyword is specified, the current history file will be closed and no new history files will be created for this instance. Existing unsent history files will be retained until they are successfully transferred.

Examples

history myhist2 interval 3600

Last updated