File

File preferences indicate options that affect file handling, backups, and search paths. Several standard preferences appear among the file preferences when you edit program preferences — arch_suffix, ef, opnet_dir, opnet_user_home, and mod_dirs.

backup_interval

Specifies the length of time, in minutes, between automatic backups of open projects. To enable backups, the project_backup_disable preference must be set to FALSE. See also project_backup_query_dialog_disable preference.

Data Type Default Value Units
integer 60 minutes

backup_max_count

Specifies the maximum quantity of numbered version backups kept for a given file. Each time a model is saved with the same name, the overwritten file is stored in the op_admin/bk directory in the form <model_name>.v<vers_num>.<mdl_type>.m. This preference specifies the number of backup files that are saved. When the maximum number of backups is exceeded by a new version, the oldest version is removed from the bk directory.

Data Type Default Value Units
integer 10 versions

buffered_tfile_types

Specifies a list of tfile types and whether each type should be buffered. The preference value should be a comma-separated list of file extensions. Each file type listed will be buffered unless the extension is preceded by an exclamation point (!). For example,

".ot, .otf, !.sddb"

means that output table and output table fragment files should be buffered and self-description database file should not be buffered.

Data Type Default Value
string list <empty>

file_read_abort_suppress

Specifies whether to suppress model file reading errors. When TRUE, such errors are suppressed.

Data Type Default Value
boolean FALSE

force_posix_locale

Specifies whether to run in the POSIX locale. When TRUE, POSIX locale is forced.

The value of this preference changes only at startup.

Data Type Default Value
boolean FALSE

java_prog

Specifies the path to the Java executable.

Data Type Default Value
string “java”

java_prog64

Specifies the path to the 64-bit Java executable.

Data Type Default Value
string “java”

project_backup_disable

Specifies whether to suppress automatic backups of open projects. If FALSE (perform backups), be sure to set the backup_interval preference with the minutes between backups. See also project_backup_query_dialog_disable preference.

Data Type Default Value
boolean FALSE

project_backup_query_dialog_disable

Specifies whether to suppress the Project Backup Prompt dialog box before performing automatic backups. See project_backup_disable and project_backup_query_dialog_disable preferences.

Data Type Default Value
boolean FALSE

verbose_session_log

Specifies whether to use verbose session logging. When TRUE, verbose session logging is enabled.

Data Type Default Value
boolean FALSE

本站文档由 北京智网畅联科技有限公司 整理、翻译并提供 · Documentation compiled and provided by Beijing ZNetLink Technology Co., Ltd.

交流群 · QQ Group:OPNET/智网妙算网络仿真交流群(群号 486383494)

原文档 © 2017 Riverbed Technology · 本站为公益翻译,由 AI 辅助完成,请仔细甄别

Original documentation © 2017 Riverbed Technology. Community translation, AI-assisted. Contact: jiazequn@znetlink.com