You can specify the -v
option with the asmcmd
command to display additional information with some commands to help users diagnose problems as shown in the following example:
$ asmcmd -v debug
When there is a message that must be logged during asmcmd
operations, the message is written to the alert.log
file or the trace.trc
file.
The alert.log
file is created or updated when asmcmd
is started with the -v
errors
, -v
warning
, or -v
normal
display level. The trace.trc
file is created or updated when asmcmd
is started with the -v
info
or -v
debug
display level.
By default, the alert.log
is file created in the $ORACLE_HOME/log/diag/asmcmd/user_
username
/
hostname
/alert/
directory. By default, the trace.trc
file is created in the $ORACLE_HOME/log/diag/asmcmd/user_
username
/
hostname
/trace/
directory.
Under certain circumstances, $ORACLE_BASE
and $ORACLE_HOME
can be set to override the default locations of the alert.log
and trace.trc
files.