HP Systems Insight Manager 6.0 Command Line Interface Guide

and Warranty data can be added or modified. MPO or Contract and Warranty data for
a system can be added, modified or removed only through the use of an external XML file.
This data cannot be specified directly on the command line for add, modify or remove
operations.
-f filename
Specify a filename containing systems to be added, modified, or removed. The contents
and format of the xml file are shown in the Examples section. See mxnode(4) for additional
information about using XML input files with mxnode.
-w
Force mxnode to wait until the specified nodes have actually been added to the database.
Using this option ensures that any subsequent operations related to the added nodes will
succeed because the nodes are guaranteed to exist in the database. Using the wait option
will cause an mxnode add or modify operation to take up to several minutes or longer,
depending on the total number of nodes being added. As a result, the mxnode CLI will
take longer to return control to the user or caller.
-p
The prune option must be used in conjunction with the -m option when you want to use XML
input to remove one or more existing MPOs from a system. Any system's existing MPO that
is omitted from the XML MPO section is removed from the system, thus the "pruning"
operation. When using the -p option to remove MPOs, the command line format and order
is important and should look like: -m -p -f filename.
-ld systemname(s)
Display a detailed list of system attributes for the specified system or all systems.
-ln systemname(s)
Display a simple list of system names for the specified system or all systems.
-lt systemname(s)
Display a tabular listing of system attributes for the specified system or all systems.
-lmpo
Display a name listing of systems that have one or more associated MPOs.
-lf systemname(s)
Display an XML list of system attributes for the specified system or all systems. The output
from this option is suitable for use as the contents of the filename for the -f option.
-r [-x force]
Remove the specified systems. Use [-x force] to force the removal of systems that
have dependencies on or from other systems.
-b encoding
Specify the character encoding when used with -lf.
-v
Display verbose progress information.
External influences
For HP-UX or Linux, LANG determines the default encoding 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.
Hardware attributes 59