HP Systems Insight Manager 6.0 Command Line Interface Guide

Display the path to the PostgreSQL program directory (HP-UX only).
-b
Display the path to the PostgreSQL program directory (HP-UX only).
Return values
MeaningValue
Successful completion.0
An error occurred during operation.>0
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
Example 1 37