HP Systems Insight Manager 7.1 Command Line Interface Guide

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.
-t transactionID
Enter the transaction ID in string form. You must specify a value if -t is used. If -t
is not used, there is no value for this field.
-u user
Specify the user that submitted this log entry. You must specify a value if -u is used.
If -u is not used, the default is the user name of the user running the command
(usually root). This option is typically used to specify the name of the application
logging a message rather than the run-as user of the application.
-v verbosity
Specify the level of verbosity of this log entry. You must specify a value if -v is
used. If -v is not used, the default value is SUMMARY. Valid values include SUMMARY,
DETAIL, VERBOSE, ERROR, WARNING and NOTE.
Return values
MeaningValue
Successful completion.0
Command line syntax error or invalid user.1
Command line syntax error.2
Limitations
Some columns in the entry will be filled with default values at all times. This includes the timestamp
(set to the time the entry was created) and the Category column (set to APPLICATION).
Examples
Example 1
If the user Fred is logged in to SuperApp, which runs as root, and SuperApp wants to log a
WARNING message that a configuration file is missing, enter mxlog -l -v "WARNING" -o
"APPLICATION" -n "SuperApp" -u "fred" -m "/opt/superapp/superapp.config
file is missing.".
The output will be:
56 Command descriptions