HP Systems Insight Manager 7.2 Command Line Interface Guide

-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.
:
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 SIM repository error.102
The CMS is not initialized.222
Unable to connect to the session manager.249
Remote exception.250
Examples
Example 1
To add the tools defined in the file /home/user1/defs/mytooldef, enter mxtool -a -f
/home/user1/defs/mytooldef.
116 Command descriptions