HP Systems Insight Manager 6.0 Command Line Interface Guide

Specify the name of the tool to be removed or listed. Specifying an undefined tool name
results in mxtool operating on zero tools and a return value of SUCCESS. Specifying a
tool name that violates the rules for tool names (see mxtool(4)), results in an invalid
name return value.
-f filename
Specify the path and name of a file that contains the definition of one or more tools to be
added or modified. This option must be specified with the scan option, -s. See mxtool(4)
for additional information.
-ld
Display a detailed screen-viewable list of tools.
-lf
Display a file-formatted list of tools (this output can be used as input for -f).
-ln
Display the names of HP SIM tools.
-lt
Display a tabular list of tools and tool attributes.
-b encoding
Specify the character encoding of an XML file when used with -lf.
-x
Specify an extended option value. This is used with the force keyword.
force
This option forces a tool into the system when used with -m -f, and specifies the forced
removal of a tool when used with -r -f.
NOTE: When duplicate options are specified, the last instance of the option is used. For example, if you
enter -f file1 -f file2, mxauth uses file2.
External influences
For HP-UX or Linux, LANG determines the default encoding that the system will use to output XML data if no
encoding is specified on the command line. If LANG is not specified or null, or LANG does not correspond
to a recognized encoding, it defaults to C (see lang (5)). In this case, use the -b option to specify the
encoding of the XML data.
Return values
MeaningValue
Successful completion.0
Command line syntax error.2
Invalid name.21
HP Systems Insight Manager repository error.102
The CMS is not initialized.222
Unable to connect to the session manager.249
Remote exception.250
mxtool 97