VERITAS Storage Foundation 4.1 Oracle Administrator's Guide
Examples of Using the Command Line Interface Prerelease 8 September 2005, 8:55am
484 VERITAS Storage Foundation for Oracle Administrator’s Guide
Managing Log Files Using edgetmsg2
You can use the edgetmsg2 utility to manage message log files. You can use the edgetmsg2
utility to write a message to a log file or to the console, read the log file and print to the console, and
display the available log files.
Prerequisites
◆ You must be logged in as the Database Administrator or root to use this command.
Usage Notes
◆ The default log file for a database is located in the following directory:
/etc/vx/vxdba/logs/sfua_database.log
where database is the ORACLE_SID.
◆ By default, only messages with a severity greater than ERROR will be logged.
◆ The -s set_num option specifies the message catalogue set number. The default is 1.
◆ The -M msgid[:severity] option specifies the message ID and severity to be printed.
◆ The -f msg_catalog | logfile | log_directory option specifies the message
catalogue path, log file, or log directory.
◆ The -v severity | severity option is used to overwrite the minimum log severity or
to create a severity filter. The severity values are either 0-8 or 100-108.
◆ The -p option pauses the cursor at the end of a display message. By default, a line feed is
added to each display message. Use the -p option to indicates that no line feed is to be added.
◆ The -m value option is for internal use only. This option overwrites certain internal settings
for the edgetmsg2 utility.
◆ The -o list[,suppress_time] option displays the content of a log file. You can specify
,suppress_time to exclude time information in the utility output.
◆ The -o report[,no_archive] displays the available log files. You can specify
,no_archive to exclude log files from the utility output.
◆ The -t from_time[,to_time] reduced the length of the utility output by specifying the
time range to include. This option must be used together with the -o list option. Use the
following format: yyy-mm-dd HH:MM:SS.
◆ The -S ORACLE_SID option specifies the ORACLE_SID for an Oracle database.
◆ “default format string” option specifies the C language printf() format string.
◆ [args] specifies arguments for the format string conversion characters.
◆ See the edgetmsg2(1M) manual page for more information.