HP Systems Insight Manager 6.3 Command Line Interface Guide

MeaningValue
Unable to connect to the session manager.249
Remote exception.250
Examples
Example 1
To add the queries defined in the query definition file /home/user1/defs/myquerydef, enter
mxquery -a -f /home/user1/defs/myquerydef.
Example 2
To modify queries based on the query definition file /home/user1/defs/myquerymods, enter
mxquery -m -f /home/user1/defs/myquerymods.
Example 3
To remove the query badquery, enter mxquery -r badquery.
Example 4
To remove queries based on the query definition file /home/user1/defs/myquerymods, enter
mxquery -r -f /home/user1/defs/myquerymods.
Example 5
To view a list of Systems Insight Manager query names, enter mxquery -ln.
Example 6
This view a tabular listing of queries with column headings, enter mxquery -lt.
Example 7
To view a list of queries in XML file format, enter mxquery -lf.
Example 8
To view a list of categories to which you can save queries, enter mxquery -lcat.
Example 9
To display the criteria names and their associated query type, enter mxquery -lcrit.
Example 10
To display the operation modes associated with the criteria CriteriaByIPAddress, enter mxquery
-lmode CriteriaByIPAddress.
Example 11
To display the defined criteria values for the criteria CriteriaByProductType, enter mxquery -lval
CriteriaByProductType.
Limitations
This command can only be run on the CMS.
mxquery 87