HP Systems Insight Manager 7.2 Command Line Interface Guide

command to return to the calling application in case HP SIM never reaches a ready
state. For example, HP SIM is actually not running. The -t option requires an integer
argument which specifies the timeout to be used, in minutes. If the -t option is not
provided, the default timeout period that the command will use is 30 minutes.
-v
The VERBOSE option may be used to enable verbose mode which forces the
command to print progress messages to the console (stdout), while the command
is running. This option is provided for command line use and would only be
beneficial for HP SIM partner developers who may have the need to determine the
command behavior by manual command line invocation.
-l
The LIST option is also intended for command line usage and will force the command
to print/display the current Systems Insight Manager ready/non-ready state to the
console. When using the LIST option, mxstatus will run in the NOWAIT mode to
determine and print the current HP SIM ready/non-ready state.
-h
The HELP option prints the command usage help to the console.
Return values
MeaningValue
All HP SIM communications interfaces are in a ready or
accessable state.
0
All or some HP SIM communications interfaces are not
ready or accessable.
1
Examples
Example 1
To check the current HP SIM ready/not-ready state in NOWAIT mode, enter mxstatus.
Example 2
To check the current HP SIM ready/not-ready state in WAIT mode, enter mxstatus -w.
Example 3
To check the current HP SIM ready/not-ready state in WAIT mode with a specified timeout value
of 3 minutes, enter mxstatus -w -t 3.
Example 4
To check the current HP SIM ready/not-ready state in NOWAIT mode with verbose mode enabled,
mxstatus -v.
Example 5
To check the current HP SIM ready/not-ready state in WAIT mode with verbose mode enabled,
mxstatus -w -v.
Example 6
To check the current HP SIM ready/not-ready state in WAIT mode with a specified timeout value
of 3 minutes with verbose mode enabled, enter mxstatus -w -t 3 -v.
mxstatus 101