HP Systems Insight Manager 7.1 Command Line Interface Guide

Execute the specified query.
-r
Remove one or more queries.
queryname
Specify the name of the query to be removed, listed, or executed. Entering an
undefined query name results in mxquery operating on zero queries and a return
value of SUCCESS. Specifying an invalid query name (one that violates the rules
for query names (see mxquery(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
queries to be added, modified, or removed.
-lf
Display a file-formatted list of queries (this output can be used as input for -f).
-l n
List the names of HP SIM queries.
-l t
Display a tabular list of queries and query attributes.
-l cat
Display a list of query categories to which you can add queries.
-l crit
Display a list of criteria with which you can construct queries.
-l mode
Display a list of operation modes or operators that can be used in association with
a specified criteria.
-l val
Display a list of defined values associated with a specified criteria.
criterianame
Enter the name of an existing criteria for which you want additional information,
such as operation modes or defined values.
-x
Specify an extended option value. This is used with the following keywords.
force
Force a query into the system when used in conjunction with -af / -mf.
cat
List only query categories when used with -lf.
query
List only queries when used with -lf.
92 Command descriptions