HP Systems Insight Manager 5.3 Command Line Interface reference guide

External influences
For HP-UX or Linux, LANG determines the default encoding that 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.
Return values
MeaningValue
Successful completion.0
Command completed with an error.1
Specified command arguments constituted bad usage.2
Specified command is not found or has been disabled for remote
execution.
3
User/client does not have sufficient privileges to execute the
command.
4
No valid licenses exist for the command.6
Command has not completed execution.7
Security token was not valid.8
SessionID was invalid. Can only be returned from status() calls.9
Examples
Example 1
To add the reports defined in the /home/user1/defs/myreportdef file, enter mxreport -a -f
"/home/user1/defs/myreportdef".
Example 2
To delete the report
Inventory - Third Floor Servers
, enter mxreport -d "Inventory - Third Floor
Servers".
Example 3
To delete the report category
Old Array Controllers
, enter mxreport -r "Old Array Controllers".
Example 4
To create the report category specified in the file /home/user1/defs/myreportcatdef, enter mxreport
-c -f "/home/user1/defs/myreportcatdef".
Example 5
To run the report
Catapult Launchers
and format the output as CSV, enter mxreport -e "Catapult
Launchers" -x CSV.
Example 6
To list all reports, enter mxreport -l -x report.
Example 7
To list the contents of the report
Islands of Phoenix
, enter mxreport -l -x report -n "Islands of
Phoenix".
Example 8
To list all report categories, enter mxreport -l -x category.
78 Command descriptions