HP Systems Insight Manager 5.3 Command Line Interface reference guide

-f filename
Specify the file name and path of a collection definition file. This option is used with -a,
-a mem, -m mem and -r mem.
-lf existcollname
Write a complete definition of the specified collection to stdout in XML format.
-ln
Display the names of all collections in a hierarchical tree.
-b encoding
Specify the character encoding for the XML file. This is used with -lf.
-mv existcollname
Move an existing collection from one parent collection to another.
-from fromparentcollname
Specify the
from
parent collection when moving a collection from one parent to another.
-to toparentcollname
Specify an existing collection to be the new parent collection. This option is used with -mv,
and -cp.
-cp existcollname
Copy an existing collection.
-name newcollname
Specify the name of a new collection created with -cp.
-a combo newcombocollname
Add a combination collection that contains one system collection and one event collection,
with the specified collection name.
-parent toparentcollname
Specify an existing collection to be the new parent collection. This option is used with -a
combo.
-syscoll systemcollname
Specify an existing system collection to include in a combination collection. This option is
used with -a combo.
-evcoll eventcollname
Specify an existing event collection to include in a combination collection. This must be a
collection that was created by attributes in the GUI. This option is be used with -a combo.
-branch sysbranch|evbranch
Specify whether a parent collection is in the Systems or Events list in the System and
Event Collections panel. This value is optional for collections in the Systems list, but you
must enter -branch evbranch when you specify a collection that is in the Events list. If
a value is not specified, the default is the system branch. This option is used with -mv, -cp,
and -a combo.
Return values
MeaningValue
Successful completion.0
mxcollection 27