HP Systems Insight Manager 7.1 Command Line Interface Guide

Examples
Example 1
Enter mxgetdbinfo to display the hostname, port number, database name, username, and
database type. The output might look like:
host=127.0.0.1
port=1433
dbname=Insight_v1_0
user=sa
dbtype=SQLServer
Example 2
Enter mxgetdbinfo -d to display the database name. The output might look like:
Insight_v1_0.
mxgethostname
Prints the name of the local host in HP SIM.
Synopsis
mxgethostname
mxgethostname [-k]
mxgethostname [-i]
mxgethostname [-n hostname ]
Description
mxgethostname displays the resolved name of the local host in HP SIM.
Options
-k
Display the resolved local host name.
-i
Display the IP address and DNS name of the CMS.
-n
Display information for the specified host.
Return values
MeaningValue
Successful completion.0
An error occurred during operation.>0
Example
To view information for the host rose.co.com, enter mxgethostname -n rose.co.com.
mxglobalprotocolsettings
Manages global protocol settings in HP SIM.
46 Command descriptions