HP Systems Insight Manager 7.0 Command Line Interface Guide

mxlog -l [-r result ] [-a action ] [-o object_type ] [-n object_name
] [-u user ] [-s sessionID ] [-t transactionID ] [-v verbosity ]
[-m message ]
This command logs the indicated entry to the log file.
mxlog -p [-r result ] [-a action ] [-o object_type ] [-n object_name
] [-u user ] [-s sessionID ] [-t transactionID ] [-v verbosity ]
[-m message ]
This command saves the log entry to standard out.
Options
-l
Log an entry to the log file. This will not print the entry to stdout. You cannot use
-l with -p.
-p
Print a preview of the log entry to standard out. This will not log the entry to the log
file. You cannot use -p with -l.
-a action
Specify the action that occurred. You must specify a value if -a is used. If -a is not
used, the default is START. Valid values include ACTION_NONE (no action, which
appears as a "<>" string), ADD, MODIFY, DELETE, RUN, LIST, ENABLE, DISABLE,
RESTORE, SAVE, SETUP, UNSETUP, START, and DONE.
-m message
Specify the message to be logged. This value appears on the line after the log entry
in the log file. The value must be a string, and if it includes spaces, it must be
enclosed in double quotation marks.
-n object_name
Specify the name of the object or application that is making the logging call. You
must specify a value if -n is used. If -n is not used, the default is NONE (which
appears as a "<>" string). The value must be a string, and if it includes spaces, it
must be enclosed in double quotation marks. If this option is not specified, the
default is NONE.
-o object_type
Specify the type of object or application making this logging call. You must specify
a value if -o is used. If -o is not used, the default is TYPE_NONE. Valid values
include APPLICATION, GUI, and TYPE_NONE (no type, which appears as a "<>"
string).
-r result
Specify the result of the event that occurred. You must specify a value if -r is used.
If -r is not used, the default is SUCCESS. Valid values include IN_PROGRESS,
SUCCESS, FAILURE, SOME_FAILURES, CANCELED, KILLED and RESULT_NONE
(no result, which appears as a "<>" string).
-s sessionID
Enter the session ID in string form. You must specify a value if -s is used. If -s is
not used, there is no value for this field.
mxlog 55