HP Systems Insight Manager 6.0 Command Line Interface Guide

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 HP SIM 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.
See also
HP-UX
mxauth(1M), mxquery(4)
Linux
mxauth(8), mxquery(4)
mxreport
Adds, deletes, runs, lists reports and report categories in HP SIM.
Synopsis
mxreport -a -f fully-qualified-file-name
mxreport -d existing-report-name
mxreport -r existing-report-category-name
mxreport -c -f fully-qualified-file-name
mxreport -e existing-report-name [-n] [-S existing-system-collection-name-or-comma-
separated-nodes-list-when-used-with-option-(n) ] [-E existing-event-collection-name
] [-x HTML|XML|CSV] [-o fully-qualified-file-name ]
mxreport -eCat existing-category-name -S existing-system-collectionname-or-comma-
separated-nodes-list-when-used-with-option(n) [-n] [-E existing-event-collection-name
] [-x HTML|XML|CSV] [-o fully-qualified-file-name ]
78 Command descriptions